Tuesday, January 8, 2019
8:26 PM
World Business Zone
UFT Automation
No comments
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
Related Posts:
Keyword Driven Keyword Driven Object: As very simple to describe about object, "Each and everything that we seeing in Application is called an Object", The identified objects are been stored in o… Read More
Capture Bitmap Method in QTP Capture Bitmap Method in QTP Capture Bitmap: This method is used to capture the image from the selected object. The captured image will be save in the given path in the bitmap… Read More
GetROProperty Method in QTP GetROProperty Method in QTP GetROProperty method is used to identify an object in an Run time, It retrieves the properties and values where the QTP is recorded also the property is listed in the script. Here we ca… Read More
Child Objects Method in QTP Child Objects Method in QTP Child Objects This method will display the count of the needed objects that we needed specifically from the application.For Example: &n… Read More
Concept of Object Repository (OR) The concept of Object Repository (OR) Add Objects:Resources --> Object Repository (Ctrl+R) --> Objects --> Add Objects to Local --> Choose the Auto (or) Object --> All object TypeBy … Read More
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment