Friday, May 6, 2016

Record and Playback

Record and Playback

To do Record and Playback in OpenScript, First Launch the OpenScript as Run as Administrator (Right click on OpenScript and select Run as Administrator).

Steps to create web script

Go to File -> New -> Select Web (under Functional Testing Section)
Click Next
Select My Repositories -> Default and Give Script name (It can be any name) and click finish.
Script will be created with the name you have given.

Recording the Script

To Record the script click on red color circle in the tool. Once you click the button it will launch the Internet Explorer browser. Now manually enter url of the application under test, here I am giving www.google.com and search for OATS Tutorial text and click search button and close the browser.
Go to java code view of your script and see the recorded steps.

Playback the Script

To Run or Playback the Script, You have to click right arrow symbol in the tool. Then open script will execute all the recorded steps successfully and you can see the results log in Results tab.


Next Topic : Views in OpenScript

No comments:

Post a Comment