How do you change Logical Name of the object in test script?



How do you change Logical Name of the object in test script?..

Answer / nanda

by using SetTOproperty u can change logincal name of test
object..

For example..in first build there is a OK button..and u
reorded on OK button..

but in modified build it changed to Yes..and this
modificatio is only for single build...in this situation u
need to change that button name OK to Yes

window("XXXX").winbutton("OK").SetTOProperty "Text","Yes"

like this u can change any property of test object..and
remember that u can not a property value of Run Time object.

If any Queries..

Nanda.dreddy@gmail.com

Is This Answer Correct ?    3 Yes 9 No

Post New Answer

More QTP Interview Questions

We have a dynamic webtable where rows keep on adding.I have to click on particular row where the status changes to Update or Save.How do you click on Status(either it can be Update or save)

2 Answers   IBM, Infosys,


Can any one tell me.......How the test engg's start testing in the compy environment.....real time tester PLSSSS help me i need in depth information regarding this...

0 Answers  


What is the Obect Repository type, we use in Automated Testing..in Real time.. Pls anybody can give the answer.. Thanks in advance...

5 Answers   Navis,


Dear Friend, I am New in QTP 10 so can any one tell me how to do QTP testing on WEB APPLICATION while writing VBScript. If Possible then Give Example how to write vbscript in QTP to test WEB Apllication. Vishal Patil

2 Answers  


I am using environment variable xml to give credenatials for login into unix. Is there any way we cam mask the password in the xml?

1 Answers  


How u connect bugzilla with QTP

1 Answers   Deloitte, TCS, Wipro,


If you entered into yahoo mail with your valid user name and password , then you will get " welcome , username " (for example you will see , “welcome, Krishna” ) text on the top of the Inbox page , how can you test the user name is correct or not using QTP?

3 Answers   CTS,


how to convert 100 into hundred repees only and viceversa

0 Answers  


What is quick test pro?

0 Answers  


Hi, How Accessibility checkpoint in QTP can be implemented in the test script?

0 Answers  


what are the different Frame Works in Quick Test Proffessional testing

3 Answers   Wipro,


What is XML checkpoint in QTP. How we can use in Web Based application

2 Answers   LinkEdge,


Categories