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.




Answers were Sorted based on User's Feedback



Is it possible to change the name of a test object. I mean when we are recording the script for an ..

Answer / 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

Is it possible to change the name of a test object. I mean when we are recording the script for an ..

Answer / jay prakash

it is possible.
Resources -> Object repository -> Select the particular
object and in the Name field Change the name.

It will work.

Please let me know if it satisfies your query.

Is This Answer Correct ?    2 Yes 1 No

Is it possible to change the name of a test object. I mean when we are recording the script for an ..

Answer / sha

Dialog("Login").WinEdit("User Name:").Set "babu"
Dialog("Login").WinButton("OK").Click

In expert view
No need to change anything in OR. U can change "babu" as "XXXX" and run it will run in u r text field as XXXX instead babu.
In KeyWord View
go to keyword view in Value column select value configuration button in constant babu will be there erase it and type XXXX and then run it, it ll run as in edit field as XXXX..

Hope u Understood....

Is This Answer Correct ?    0 Yes 0 No



Post New Answer



More QTP Interview Questions

When to Insert transactions in QTP?

3 Answers   Siemens,


unable to get item from the combobox using descriptive programing. can any one give me the peice of code to schedule the booking from one place to another using DESCRIPTIVE PROGRAMING.

1 Answers  


How many tabs are available to view your test in a test pane and what are they?

0 Answers  


What is quick test pro?

0 Answers  


What is Unicode Compatibility?

0 Answers   HCL,






What is a checkpoint? How many check points are there in qtp?

0 Answers  


what r the verstions from 1st to present (verstions) of mercury tools (like winrunner,QTP,Loadrunner) ? Chandana

0 Answers   Wipro, Mannar Company,


hi what is the use of "dim" in automation objective model or any where what is the use of "dim" plz tell me

3 Answers  


Any body have QTP 9.5 licence key. please provide me at madhukar_dec30@yahoo.co.in

0 Answers  


How can we use the "CreateObject("Shell.Application")" in QTP and what is the definition and purpose of it?

0 Answers  


What is the difference between functions and actions in QTP?

7 Answers   Verizon,


In qtp, how you can remove the spaces from string?

0 Answers  






Categories