GeekInterview.com
Series: Subject: Topic:
Question: 778 of 785

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

Asked by: Interview Candidate | Asked on: Aug 6th, 2005
Showing Answers 1 - 21 of 21 Answers
Prasad

Answered On : Aug 2nd, 2005

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

  
Login to rate this answer.
Poonam

Answered On : Aug 4th, 2005

we can capture the url of the page and check it

  
Login to rate this answer.
Vidya Sagar

Answered On : Aug 6th, 2005

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

  
Login to rate this answer.
Anil Pal

Answered On : Oct 3rd, 2005

For Browser : Name

For Page : Title

  
Login to rate this answer.
Thenappan Alagappan

Answered On : Oct 7th, 2005

For Browser We will have to see for "title"

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

  
Login to rate this answer.
sanjeev prabhudesai

Answered On : Oct 26th, 2005

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

  
Login to rate this answer.
uday

Answered On : Feb 20th, 2006

Three Common Properties

1.Name

2.Index

3.Html Tag

  
Login to rate this answer.
Vishwas

Answered On : Nov 15th, 2006

Using the progid which is unique

  
Login to rate this answer.
Pradeep

Answered On : Feb 9th, 2007

It works perfectly....'USING DESCRIPTIVE PROGRAMMING - WITHOUT OBJECT REPOSTARY

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

OR

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

  
Login to rate this answer.
montyjobs

Answered On : Jun 18th, 2007

View all answers by montyjobs

Title , Name, OpenURL and Index are common properties used to identify Browser & page.

  
Login to rate this answer.
tseshasayi

Answered On : Jul 18th, 2007

View all answers by tseshasayi

For web broser it is identifying the link, image,load time,alt properties, HtML tags and w3c standards

  
Login to rate this answer.
virescent

Answered On : Nov 7th, 2007

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

  
Login to rate this answer.
ven

Answered On : Nov 27th, 2007

View all answers by ven

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

  
Login to rate this answer.
laxmichoudhari

Answered On : Dec 12th, 2007

View all answers by laxmichoudhari

Name and  title that we can use to identify a browser and page . 

  
Login to rate this answer.
amul2007

Answered On : Jan 21st, 2008

View all answers by amul2007

Title and Name

  
Login to rate this answer.

Hi,
     For Browser      : name      ex: Browser("name:=My Browser")
     For Page           : title         ex: Page("title:= My Page")

If any queries, plz. feel free to ask me.

Suresh
 

  
Login to rate this answer.
manishgi

Answered On : May 22nd, 2008

View all answers by manishgi

we need to use
Browser("micClass:=Browser").Page("micClass:=Page")

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

  
Login to rate this answer.

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

  
Login to rate this answer.
SanthanCh

Answered On : Nov 22nd, 2008

View all answers by SanthanCh

The Syntax is:

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

Yes  1 User has rated as useful.
  
Login to rate this answer.
kousik_10

Answered On : Jun 8th, 2010

View all answers by kousik_10

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 ).....

OR

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

  
Login to rate this answer.
your.heer

Answered On : Jul 2nd, 2010

View all answers by your.heer

Properties := html tag, type & name

  
Login to rate this answer.

Give your answer:

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

Related Open Questions

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.