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


Please Help Members By Posting Answers For Below Questions

Does QTP have any limitations?Can it work with all kinds of programming languages like java,springs,ajax ,hybernet?Also does it work well with windows 7.What are its other limitations

1764


How you can make an action as re-usable action?

656


when a test case is written how u test using qtp

1655


what is impact analysis on regression testing?

2048


Is the qtp course will help to create a virtual object?

1516






Is it possible to refer the same object for referring more than one object that are of different class using the descriptive programming approach? Suppose my code is 'To create the object named as obj Set obj=Description.Create() 'To define the values obj("title").value="IE" obj("type").value="text" obj("html tag").value="INPUT" 'To set the value Browser("IE").Page("Yahoo").WebEdit(obj).Set "xyz" Can I refer the "obj" object for the three objects like Browser,page and webedit objects? If so how?

1579


Why qtp always start action1 and does not start action?

605


i am a begnner so am learning Error handling :tried using Recovery manager didnt work i want to be able to handle errors , e.g. if while running the test the folwoing does not show up then how can i use the If then else and goto next step in the test, as in many scenarios it does not show up Browser("The Shopping Channel -").Page("The Shopping Channel -_8").Image("easy pay").Click

1469


How does you pass optional arguments in qtp?

565


Hi Friends, Can anyone help me out in this one? In QTP, I am using Data Driver and want to parameterise multiple values (say 3 values ) for a field. How can I do it using Data Driver wizard? Plz mention it step-by-step. In the end after doing the needful, on opening the Data Driver window, how can I get number (i.e. 3) in the Parameterised column for that particualr value? Thanks a lot in advance.

1445


What are the features supported by UFT?

672


How to test login module with different username and password by using data driven testing in QTP?

610


Tell me about your project? please help me how to tell about insurance project

1536


what is run action?

1435


How to handle the exceptions using the recovery scenario manager in qtp?

571