what properties do use to identify a browser and page while
using descriptive programming?
Answer Posted / kiran
QTP identifies the browser by name and page by tilte. We
can use index to be on safe side.
Browser("name:=Welcome To.*","index:=0").Page
("title:=Welcome To.*","index:=0").exist
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
How would you directly trigger javascript in a test?
If I give some thousand tests to execute in two days what do you do?
How you can find the absolute value of the number in qtp?
I am facing an issue of object identification with the dropdown element of DHTML grid. When I tried to recognize these different dropdown objects, QTP identifies only one object for all the dropdowns. Hence, selection of different data from different dropdowns list is an issue. To overcome this problem, i have used Descriptive Programming technique by creating different object descriptions which have all the other properties same but differ only in one property i.e. ‘X’ location of the element on the screen. Hence, i have created distinct object descriptions that would allow us to select values in different dropdowns. The code is given below. But still I am unable to identify distinct dropdown objects. ‘Object Description for Dropdown Cell Status Set objCellStatus = Description.Create objCellStatus("micclass").value = "WebList" objCellStatus("name").value = "select" objCellStatus("x").value = 219 ------ ‘X’ Axis value for cell status drop down ‘Object Description for Dropdown Sub Segment Set objSubSegment = Description.Create objSubSegment("micclass").value = "WebList" objSubSegment("name").value = "select" objSubSegment("x").value = "319" ------ ‘X’ Axis value for sub segment drop down Please help... This is specific to DTML grid(Drop down object)
What is method name to compare two XML files.
What is data driver in qtp? Where we use it?
When to use shared and local object repository?
In the Hybrid framework, data can access the database, excel file, XML etc. Is it true?
what is object and child object.. explain ..if possible give some example for better understanding ..
how to compare two bitmaps( 1. clients requirement & 2. Designed by dev) in qtp 8.2 wann clear steps
Hai anyone please "Explain about Framework in QTP?"
What is qtp window?
What are the views available in qtp?
What is the basic concept of quicktest professional (qtp)?
How can get count of list box?