Is it possible to change the name of a test object. I mean
when we are recording the script for an object (for Ex:
Username is a text field which has value "Babu",i am
recording that). Then the Name of the object will become
"Babu" in object repository. If i want to change "babu" as
"xxxxx" .. is it possible to do?

Pls help me in this .. if you didn't understand the
question, pls let me know.

Answer Posted / rayudu

Yes, It is possible..
Go to repository then right click on the perticular object.
Then rename it.After that write the script, it displays the
changed value.

ie...If you changed the browser("babu") as browser("xxxx")
It displys browser("xxxx")

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different types of functions available in qtp and explain ?

791


Pls can anybody send me the Recent Technical and Interview Questions Which were asked in IBM(QTP)Automation PLZZZZZZZZZ

1788


What is the significance of “action 0” in qtp?

760


What is the framework your company is following. What is the reason. Explain why key word driven frame work is chosen.

1858


what are all the fileds present in object repository?

1773


How many types of status are there?

806


How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What is the difference between them? How to handle script issues?

771


Please help me by providing the License key for QTP 9.2, at guru_aarya@yahoo.co.in Best Regards Gururaj.B

3137


banking project description for software tester

7229


How does qtp identify the object in the application?

719


how do we know whether all objects are stored in the object repository or not? how can we know if a particular object is not stored in the repository?

1525


How to find array size in qtp?

767


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.

1984


An action has both shared and local OR associated with it and both have the same object in them. In the test which one will be considered?

793


How to automate a script in mainframes environment? I have the terminal emulator Add in. Describe in detail.

1936