If you are using descriptive programming and you have two
objects with the same name, so you are identiying them by
name and index, how can you avoid errors if a third object
with the same name is added at the begining of the page?

Answer Posted / sameena

Index is unique to al. obviously through index only.The
third object property is to be changed accordingly to
diffrentiate the object. such as location of the object in
the application or index value of the application or the
tab count of the object. like wise the modification are
done to the object property to show differentiate with
other object,. if iam correct reply me.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When you open QTP, how many sheets you can see?

664


what is output value in QTP and how it can be used in automation testing

1440


How many types of recording facility are available in quicktest professional?

569


Hi, While recording a Jave based web application, its recording all my actions and the objects.And I have 5 WebEdit objects on the page and all are recorded. But while execution, at the 2 WebEdit object, its entering the value into the object (Its making a call to the AJAX, matching the value), when the control get out of this object the value is erased or cleared. Could anyone please help. I have recoreded 5 more scenarios where WebEdit is in the picture on different webpages and all are working fine. Here is my Script: Browser("Sign In").Page("Matching Workbench_3").WebEdit ("locationLookup").Set "0320 - SEATTLE-KM" Browser("Sign In").Page("Matching Workbench_3").WebEdit ("supplierNameLookup").Set "TRAMMO PETROLEUM INC" *** SupplierNameLookup is the object, which is haing an issue. And also I was using the SendString function, but it didnt work.

1773


hou can we use vb script in qtp could u tell me breafly

1742






How many types of recording modes in the qtp?

598


in data driven testing for performing operations which method is easy from manual test data,keyword view,or from database.and why?

1359


How will you test a stapler?

599


Explain about Test Fusion Report of QTP?

619


How does you pass optional arguments in qtp?

565


What is the difference between a Function and Procedure in QTP?

689


i have asked earlier only one question how to test web application using QTp plz send me the answer quickly

1662


Why is Client side image is preferred over server side image?

1446


How to use setroproperty?

579


How many types of parameters are available in quicktest professional?

528