what is the purpose of SetTOProperty Method?

Answer Posted / uday

You want to modify a property value of an temporary test
object during that run session, you use setTOProperty.
for ex: in your OR, there is an obj(tempObj) with property
name "Hello". If you want to change this property to "Hello
uday", use setTOProperty.
Object.setTOProperty "name","Hello uday"

Note: The updated value is not changed in OR.

Is This Answer Correct ?    19 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How will you handle java tree in qtp?

623


in qtp if we record a object and we record the object using virtual wizard then by which way the object is recognized that means recorded

1522


How you can decide which type of object repository you have to use?

701


How you can write contexts to text file in qtp?

588


What is the difference between a Function and Action in QTP?

587






What are the types of environment variables in qtp?

544


What is the basic concept of quicktest professional (qtp)?

581


How to Get the Run-time value of an object under that web app under Test to the local data table sheet of that Action?

3588


How QTP identify the system time that's changes every seconds?

594


What are some test assets and related extensions of qtp?

553


www.icici.com after this home page wll came, in this page what r the items we r going to test for manual and what the element we r test for QTP... explian clearly with example

1500


What is the difference between the design-time and run-time data tables?

556


Why qtp always start action1 and does not start action?

601


Hi, I'm a beginner in QTP and planning of a certification in QTP, but have no idea about it :P. Could anyone please tell me what certifications that a QTP- beginner can take? What is the fees and the syllabus for the certification? Please reply soon. Thanks Vidhya

1421


How can we use the "CreateObject("Shell.Application")" in QTP and what is the definition and purpose of it?

3055