How do you change Logical Name of the object in test script?
Answer Posted / 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 View All Answers
How to attach a file to TD?
hi i want license key for qtp 9.2 pls its adjust product name : quick test professional locking code :8 - 54A6A license type : seat license maintenance number : 88888888-8888 pls send license key to my email id borusu.ramkumar@gmail.com
An action has both shared and local OR associated with it and both have the same object in them. In the test which one will be considered?
what is the frame work in J-meter?
How to record a qtp script ?
I used child objects to get the no of weblist present in the weblist.now i need to select the items present in each weblist ?How to do so
What is business process testing(bpt) in qtp?
What is text/text area checkpoint?
Can we run multiple QTP scripts one after the other without manual intervention? How?
Is QTP Supports SWT applications? If yes, can you write a sample script for opening a new package in eclipse.
Difference between test object and run time object?
This is Karthic and my mail id is karthic.venkitapathi@gmail.com, please give me an idea to crack qtp 10
can i compare two databases using QTP ?
Why we use QTP ,We can use other tools like WR OrSilktest What r the options in Qtp that WR and Swilktest Does not have.
Could anyone help me for the below scenario: i am using the descriptive programming for my account, in which we have to generate the contract in the MS-word. when i generate this doc, we need to click on enable macros to continue further. but i am unable to make qtp to click on this. if anybody faced the problem like this??? pls help to get it resolved? Thanks in advance