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 / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

How extensive or customized are the server logging and reporting requirements; are they considered an integral part of the system and do they require testing?

560


Can I change properties of a test object?

609


1.How do u prepare the test suits in QC? 2.How do u convert requirements to test plan in QC?

1488


How to start recording using quicktest professional (qtp)?

586


Shall we add Local Repository to shared object repository,if yes,how we add

5662






Suppose you are using shared objects repository in your test and you want to split your present action? At that time shared object repository is single or it’s also splits?

636


what is meant by source control?

1685


Why to use descriptive programming?

556


How do you test DLL files using automation Tool QTP?

2724


How you can replace string in qtp?

566


How the smart identification is used in real time?Please explain with an example

1541


Hi friends did any budy attend accenture system test for qtp? if any budy pls drop questions.not only accenture any other mnc company which you attended system test(QTP)?it may helpful to others also

1857


If there is a change in the object type eg: A button is changed as link, 1. How to edit that in the shared object repository. 2.What options are available to edit the object within shared object repository other than copy from loca; 3.What would be the effect of the change in Coded Scripts within QTP and Functions stored in .vbs file which are loaded and used in QTP

1291


When I click on a link in web page.Link should open in new window.can anyone please let me know the script for this ---Koti

2479


What are the types of object repositories? Which one is you are using?

618