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

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

Answer / shaik mohinuddin

By using Regula Expressions :

Go OR ->property value and press configure button then it will open value configuration options window and select constant radio button selected by default and we can put. * and select check box like Regular Expression and click on ok

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

How to invoke QTP using Dos prompt ?

2 Answers   ABC,


Per-Action Vs Shared repository?

5 Answers  


How can I use the value retrieved by OUTPUT VALUE check point as Input for other Actions?

1 Answers   Motorola,


How to make qtp understand the difference amongst the same type of objects .suppose there are 5 check boxes in a page and I have to choose the 2nd one, how to do that through script?

0 Answers  


What is User defined function in QTP

6 Answers   Bank Of America,






What is the extension of the qtp local repository? If it is .mtr then what is .bdb extension stands for?

0 Answers  


What is the need and applications of learning VB script for a automation(QTP) engineer ain Realtime ?

2 Answers  


I have test cases in excel sheet but i am using quality center.How can i copy the testcases from excel sheet to quality center?explain this process.

3 Answers   TCS,


Anybody plz give, How do you test aframe in a web page? If page cotain text message or Images, tables?

0 Answers  


how many script you will wright in a year ? i told it's depends on the proj..and 'n.no of ... but he forced me to tell some num. or avg .....how many i suppose to tell..??and do a favor per day how many script don't thing it's repeated question or common ...help me post a ans...thanks for advance

1 Answers   HCL,


how do u handle an object without name using QTP 9.2?

0 Answers   CTS,


Explain data driven framework?

0 Answers  


Categories