How to create runtime property for an object?

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


Please Help Members By Posting Answers For Below Questions

What are the technics follow in writing VB script?

1698


Explain the check points in quicktest professional (qtp)?

765


How does qtp identify objects in the application?

813


Explain process of smart Identification in QTP?

779


What is the syntax to call one script from another? And what can be the syntax to call one “action” in another?

912


In Test Directory, What are the contents in test case designing? if you prepare in excel sheet how u use thrw Test Directory?

1663


How do you configure QTP AND Test director?

1682


How do you delete unwanted results in qtp?

814


What does it mean when a check point is in red color? What do you do?

773


Does Low-level recording capture mouse movements?

766


What are the 3 main stages involved in testing with qtp?

799


How to find the length of the string in qtp?

758


What are the Application Functions available in QTP?

1704


Hi all Can u give me the link where we can download full version of qtp my mail id is karthic.venkitapathi@gmail.com

1568


How to save your test using quicktest professional?

741