How do you change Logical Name of the object in test script?
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 |
Hi,will U Please Provide me details certification for QTP &QC and also please provide me the Material also. Send to mail:jjaanu2mail@gmail.com
Hi, I want to pass a value in to Link object. For ex: I have a link where in which contains the value like "DC4463219(Active)". Whenever i will execute the script this value "DC4463219 (Active)" will get changed. I got the value DC4463219(Active) from the link and stored that value in variable "ACTUAL". If i want to select the same link again, while recording the value DC4463219(Active) will be recorded in object repository. So, that it will not work for the next cycle of execution as the value will get changed everytime as i mentioned above. I want to pass that Acutal value in to link object. The script is as follows: Actual Script when recording: Browser("Web Login").Page("Application").Frame ("ScopeFrame").Link(DC4463219(Active)".Click But now instead of this DC4463219(Active) i want to pass a variable where i have the same value. I tried to execute the script Browser("Web Login").Page("Application").Frame ("ScopeFrame").Link(Actual).Click But it is displaying the error message as that the value which we got from Actual is not existing in Object repository. So,i made the link object as regular expression. Even it is displaying the same message as mentioned above. If you are not able to understand, feel free to contact me with nbabu11@gmail.com
How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What's the difference between them? How to handle script issues?
Sometimes my QTP scripts works fine and sometimes its not though I am using same shared Repository and am not doing any changes in it.Even though for descriptive programming also its works fine and sometimes it does not work.my application is pretty stable.Could anyone please answer why am facing these types of issue??
Can anybody send me the code to get the RO property of the active screen in QTP while running?
what and how to answer for the question "tell me about yourself ?" for 3 years experience. can anyone say inj detail please... its urgent
if there r 10 windows open in QTP write a command to close all 10 windows at a time ?
How would you directly trigger javascript in a test?
How to associate shared object repository to test in qtp?
How many types of parameters are available in quicktest professional?
how to do spell check in QTP? reply please
What is the difference between Keyword Driven test and Data Driven test?