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:

  • Types of Objects in UFT Types of Objects in UFT 1. Run Time Object:        Physical description of an object is called an run time object.Ex:  (Editor, Button, Link, Checkbox, RadioButton, ComboBox, Wi… 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
  • 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
  • Concept of Object Repository (OR) 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 doin… Read More

0 comments:

Post a Comment

Blog Archive

Translate

Popular Posts

Total Pageviews

152,007

Blog Archive