Tuesday, January 8, 2019


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:

  • Windows based Test Objects and Test Operations Windows based Test Objects and Test Operations Below are some of the windows application Test Objects, Based on the object stored in repository the test objects are been created in Recording and also by manually giving the… Read More
  • Web based Test Objects and Test Operations Web-based Test Objects and Test Operations Test object is an object that qtp creates in the test to represent the actual object in the application.Below are some of the web application Test Objects, based on the below syn… Read More
  • QTP Methods QTP Methods QTP methods are used to extract the properties of a selected object in an application, There are some list of properties that comes under QTP methods, Capture Bitmap Child Objects GetRoProperty GetToProperty G… Read More
  • QTP Crypt Object QTP Crypt Object Crypt Object in QTP is used to Encrypt the given password, This scenario is just to confirm whether the given password is saving as Encrypted, This object is used in different ways in different methods,Belo… Read More
  • Descriptive Programming (DP) in QTP Descriptive Programming (DP) in QTP Descriptive Programming in QTP will be write in the case of the objects are not present in the Object Repository (OR), This method of programming reduces the time for automation… Read More

0 comments:

Post a Comment

Blog Archive

Translate

Popular Posts

Total Pageviews

152,029

Blog Archive