In global everyone thinks that OpenSTA is compatible with only Internet Explorer & Netscape Navigator browsers to record a script. Through this article you will come to know how to record a script in OpenSTA using Mozilla Firefox.
In my project we had a scenario which was not compatible with IE browser but we were supposed to automate that script. After doing some R&D, finally we got a solution which I’m sharing through this post. Please find below the details to overcome this issue.
OpenSTA records only the “HTTP requests/responses”. Any browser is only a “HTTP communication vehicle”, so we can use any browser which supports “HTTP 1.0/1.1” to record a script.
Configuration details to be followed in OpenSTA
1. Open the Script Modeler in OpenSTA tool.
2. In Option → Browsers → Select any Default Browser.
3. Option → Gateway (Please keep the below mentioned setting in the Gateway)
- In Capture: Remote
- Administration Port: 3000
- Port: 81
- In Proxy:-
- Address: proxy IP
- Port: proxy Port
- Secure: Machine IP; Port: 81
Configuration details to be followed in Mozilla Browser
- After changing the above configuration details in OpenSTA, there are few more changes to be done in the “proxy details” of Mozilla browser also. Please find the below given details.
- Open the Mozilla Browser.
- Tools à Option à Advanced à Network à Settings.
- Select the “Manual Proxy Configuration” radio button.
- In HTTP Proxy: Machine IP ; Port: 81
After changing all the above configuration details we can start to record the script in Mozilla Firefox using OpenSTA.
But after recording the script there is no possiblity to view the URL detail screens in the HTML view. You will receive an error message “The webpage is unavailable because you are offline”. To overcome this issue please set the below configuration in Mozilla Browser.
- Open the Mozilla Browser
- In the URL tab type “About : Config”
- In the displaying page filter by the Keyword “Network”.
- Right click the “network.http.accept-encoding” and click Modify.
- Remove the “gzip,deflate” field and click Ok.
By following all the above mentioned steps you can overcome this issue and record a script in Mozilla Firefox using OpenSTA.
0 comments:
Post a Comment