Showing posts with label Page. Show all posts
Showing posts with label Page. Show all posts

Sunday, August 5, 2012

Generation of Scripts for Web Application

Record and Playback:

Browser("name of the application in the browser").Page("name of the page in the browser").object("name of the object identified").Operation

So, This is the basic steps of how QTP generates the scripts while Recording.

The above scripts will be play back once the browser is in default open state, If the browser is closed and you need to play back the script automatically in qtp just you need to add the below script,

Systemutil.run"C:\Program Files\Internet Explorer\iexplore.exe","www.google.co.in"
Browser("name of the application in the browser").Page("name of the page in the browser").object("name of the object identified").Operation