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
If u r using library files (Instead of Check Points) , How do u do bitmap check ?
Can we use index on view?
How to export quicktest professional (qtp) results to an .xls file?
What are the things(properties, and other details) will be recorded while recording an object using normal recording?
in a web page hoe to check the dynamic links that rechabging with out using regular expressions
We stored into the objects OR and then write the scripting
how can i pass a "cript"as a parameter in to a function
Hi any body pls help me for QTP 11.0 software free demo version. i have to practice. Kindly send the link.or where i have to download.
how to find that tools work well with your existing system?
Hi,All How to create a link in excel sheet using qtp
How can you pass value one action to another action?
Hi, I am using OutputCheckPoint for 2 webelements Bed:4 and Bath:2 Full,1 partial in my result page and I am storing the value in the data table. I dont need the string Bed:4,I would like to get only the no 4. How can I get it? Even though I highlight only 4,It is seleting the full value "bed 4". Same thing happend for second webelement Bath:2 Full,1 partial I need only the No 2. I used the following to split MyArray = Split(UIBathResult, " ", -1, 1) But it is giving the value My Array(0)=Bath:2full,1Partial I need the only the nos for further comparision.Any help? Thanks Uma
How can i click on any Excel sheet's "H" column with out writing coordinates Ex:Window("Book1").WinObject("Book1").Click 498,14 I dont want to give coordinates like 498,14 Can i open "H" column by writing like Ex:Window("Book1").WinObject("Book1").Click "H" or Ex:Window("Book1").WinObject("Book1").Click "H","1" or Ex:Window("Book1").WinObject("Book1").Click H,1 If i want to click on "Sheet3" of an excel sheet, Can i open like Ex:Window("Book1").WinObject("Book1").Click "Sheet3" Please help me any one
Is text area check point supports for web applications?
What is the use of Debug Viewer?