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
Can we call qtp test from another test using scripting. Suppose there are 4 tests and I want to call these tests in a main script. Is this possible in qtp?
For QTP Test Engineer, What is his contribution to the Project? Means, As as automation test engineer what is his role in the current project?
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...
If you have two monitors one is of 19inch and the 2nd one is of 24inch,if you want to write same QTP script in both the two monitors is there any changes required in the script?
1.Qtp suppots Unix& linx or not 2why qtp suppots shell script.
How to add verification steps to tests?
can any body clearly explain about keyword driven framework .give me the explanation for files what ever you use in this frame work?
Explain the concept of how quicktest professional identifies object?
Did the scripts need lot of maintenance? If yes, why?
How many types of actions are there in quicktest professional (qtp)?
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?
Hi, I am working on microsoft infopath forms..It is standalone form..(not dotnet or web.) . I am not able to indentify any objects in it.. I am currently using active accessibility in the macro for the same but its execution is too slow.. Kindly help in case you have better solution.
In the Hybrid framework, data can access the database, excel file, XML etc. Is it true?
How do you convert manual test cases to automated test cases?
How to connect to a database?