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

Hi, How to export the Checkpoints and Output values(Test area output values) from Object Repository to Excel

3 Answers   Wipro,


I want to open a GOOGLE page without recording a test in QTP.Can any one answer me?

4 Answers   IBM,


Got job with 3 years fake Experience

1 Answers   MNC,


plz anybody tell me how to explain the architecture of one particular project.plz give me answer for this.....RAJESH

7 Answers   Wipro, TCS,


www.icici.com ,after this.. home page wll came, in this page what r the items we r going to test for manual and what are items we r going to test for QTP... explian clearly with example

0 Answers   TCS,






How to import excel sheet to QC?

1 Answers  


Could you please explain me about QTP framework.

2 Answers   Oracle,


Do you know how to connect database? Can you tell me the procedures?

0 Answers  


What are the types of Object Repositories in QTP?

1 Answers   Ordain Solutions,


Can you tell me any books or websites to learn VB Script for QTP ??

1 Answers  


how to test Web application using QTP software

4 Answers   BITS,


How Can I find the least value in a bunch of variables using qtp.. E.g.:- A = 210, B = 212, C = 60, D = 111 I don’t want to write bunch of lines for this…. Is there a way to get the result in one line…..

0 Answers  






Categories