Tuesday, January 8, 2019


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 syntax the test objects are been placed.

Syntax:

In which browser.In which page.In which object.what operation

As per above syntax the below script will be generate,

Browser("BrowserName").Page("PageName").Object("ObjectName").Operation

For Example:

Browser("Google").Page("Google").webedit("q").set "QTP 11.0"
Browser('Google").Page("Google").webbutton("Googlesearch").Click

Properties of an Object Names:

Browser Name: Google
Page Name: Google
Edit box: q
Button Name: Googlesearch

Test Objects:













Test Operations:

There will be no change in Test Operations, For and Windows the test operations will be same 


Related Posts:

  • 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
  • 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
  • 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
  • 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
  • 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

0 comments:

Post a Comment

Blog Archive

Translate

Popular Posts

Total Pageviews

150,603

Blog Archive