What are the properties you would use for identifying a browser & page when using descriptive programming ?

Showing Answers 1 - 21 of 21 Answers


  • Aug 2nd, 2005

Title is the property we use.ex: Browser("Title:="xxx").page("Title:="xxxx").....

  Was this answer useful?  Yes


  • Aug 4th, 2005

we can capture the url of the page and check it

  Was this answer useful?  Yes

Vidya Sagar

  • Aug 6th, 2005

"name" would be another property apart from "title" that we can use. 
ex: Browser("name:="xxx"").page("name:="xxxx"").....  
We can also use the property "micClass". 
ex: Browser("micClass:=browser").page("micClass:=page").... 

  Was this answer useful?  Yes

Anil Pal

  • Oct 3rd, 2005

For Browser : Name

For Page : Title

  Was this answer useful?  Yes

Thenappan Alagappan

  • Oct 7th, 2005

For Browser We will have to see for "title"

For Page also We will have to see for "title"

  Was this answer useful?  Yes

sanjeev prabhudesai

  • Oct 26th, 2005

Logical Name of BrowserLogical Name of Pagee.g. Browser("myBrowser").Page("myPage")

  Was this answer useful?  Yes


  • Feb 20th, 2006

Three Common Properties



3.Html Tag

  Was this answer useful?  Yes


  • Nov 15th, 2006

Using the progid which is unique

  Was this answer useful?  Yes


  • Feb 9th, 2007

Browser("creationtime:=4").Page("title:=Editorial Company Search").Link("text:=Codes").Click'
Browser("name:=Editorial Company Search").Page("title:=Editorial Company Search").Link("text:=Codes").Click

For descriptive programming the object properties should be extracted first using the QTP object repository and then use it in the code.

Ex., name:= or creationtime:= or title:=Depends on the objects and its available properties

  Was this answer useful?  Yes


  • Nov 7th, 2007

If  the title of the page is same between two pages,how to identify?

  Was this answer useful?  Yes


  • Nov 27th, 2007

Name, Title, Type,Label, HTML Tag, Class,Value,Text, Index, Input are the  properties used to identify object

  Was this answer useful?  Yes


  • May 22nd, 2008

we need to use

in case of more then 1 browser at a time open we can use some add properties like title

  Was this answer useful?  Yes

i tried using descriptive proggramming..for the following

Generated code:

Browser("Yahoo! Mail: The best").Page("Yahoo! Mail: The best").WebButton("Check Mail").Click 

Descriptive Prgmng:

Browser("micClass:=Browser").Page("micClass:=Page").WebButton("Name:=Check Mail").Click

but the descriptive programming didnt work...the error message said te following:

The "[ WebButton ]" object's description matches more than one of the objects currently displayed in your application. Add additional properties to the object description in order to uniquely identify the object.

Now what do i do...i tried even using WebButton("Check Mail") or WebButton("innertext:=Check Mail")...but it didnt work...need help???

  Was this answer useful?  Yes


  • Jun 8th, 2010

To identify a browser we use the title of the browser and for the page we use page name.

The Syntax is:
Browser("name(unique property): name of browser(value)").Page("title(unique property): name of page or title(value)")

Name would be another property apart from title that we can use.
Ex: Browser( name: xxx ).page( name: xxxx ).....


We can also use the property micClass .
Ex: Browser( micClass: browser ).page( micClass: page )....

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.


Related Answered Questions


Related Open Questions