If 2 gmail browsers are opened in our system, how to enter
the mail id and password into second browser by using
discriptive program?

Answer Posted / samrat

If the object is not unique...QTP will automatically give
the index of the object if using OR...
Else
Use object collecion of a particular type and the u will
get the index... u cant use getroproperty for index..
try to add that object into OR and u will get to know the
index and use that index prop in ur desc prog ..

correct me if iam wrong...

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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?

1573


tell me abt a time when u had to go above &beyind the call of duty to get the job done

1438


Why to use descriptive programming?

558


What are the advantages of qtp?

574


How do you do batch testing in wr & is it possible to do in qtp, if so explain?

615






Hi, I am working on microsoft infopath forms..It is standalone form..(not dotnet or web.) . I am not able to indentify any objects in it.. I am currently using active accessibility in the macro for the same but its execution is too slow.. Kindly help in case you have better solution.

2400


Define virtual object?

601


What are the different kinds of test steps?

563


what is object and child object.. explain ..if possible give some example for better understanding ..

1529


How to use the object spy in quicktest professional 8.0 version?

540


What is quicktest professional (qtp window?

589


What is a Patch in QTP?

601


How can you identify the browser and its information using the qtp script?

577


distinguish between old version and new version QTP features.

1855


How the exception handling can be done using quicktest professional?

536