Answer Posted / thirumala reddy
By using "SetToProperty" you can do that
for example if any object property is changing during runtime our test will fail, to avoid that we can use SetToProperty.
e.g. if any WebEdit "name" property is changing then
Browser("xxx").Page("yyy").WebEdit("zzz").SetToProperty("name", "new value of name")
and this value is valid for that run session only (during runtime) after that that property will remain the property in the object repository
if any queries plz mail me
a.thirumalareddy@gmail.com
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is test object?
What is the use of defining a newobject in the object repository "Define New TestOject". How to use this further. If we define new testobject, how can it recognizes the objects properties of any application.
What is the difference between a Function and Procedure in QTP?
Hi frnds, does anybody know if there is anything called "thin point" or something in qtp? thanks in advance.
I am a newbie to QTP / Automation testing. I want to develop a script that creates a data file automatically with proper headings using VBScript in QTP.
How to save your test using quicktest professional (qtp)?
How can you identify the browser and its information using QTP script?
How can i get the image text that changes dynamically? Here i have used "GetROProperty", but it's not working. I used like Ex:Browser("webmail").Page("inbox").image ("captchaimage).getroproperty("innertext/text/value")
I want to know what are QTP functons and what are VB script functions. What is the difference between them.When we have to use these functions.
What are the types of properties that quick test learns while recording?
What is the expert view?
Can QTP be used for GUI testing ?, We are using Java with MySQL and Operating system is Linux. We are NOT using the web.
If a button named "CLICK" is recorded in low level recording mode , what will be the values stored for "name" property of that button in object repository ?
What is difference between design time and run time data table?
Does QTP run in any environment?