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 you debug your script?

558


action contains public and private functions but do we resuable that action or not..If it is reusable How..plz tell me the ans

1623


How are cgi programs, applets, javascripts, ActiveX components, etc. to be maintained, tracked, controlled, and tested?

691


How to use reporter.report event in qtp ?

545


Hi All , How can we decicde for pariticular frame(DataDriven or Keword Driven)in Project? Thanks Balaji

1368






Explain process of smart Identification in QTP?

595


can u explain relative path architecture framework in qtp?

1556


1--How many functions u develop 2--What is an array 3-- where is ur server 4--U involved in unit testing 5--how ur test the background colour using QTP

1536


Can we record using all the modes in a single script? Explanation with example is appreciated

1378


What are metrics and matrix?

1359


What is the use of sendkeys and what are send keys

1943


How do you know the location Id of an object if you know its index id?

579


How do you send email with attachment from outlook using qtp ?

559


Hi All, I have QTP installed on my machine but the application under test is on remote machine. I need to automate the scenarios which consist of automatically enter the remote machine through IP address ,record the application in remote machine and run it also when played. Can some one tell how to record the application in remote machine.

1553


In an interview, what r the general questions asked in QTP? pls give me anwser to this question?

1413