What is the difference between gettoproperty and
settoproperty?Explain with an example?

Answer Posted / dhananjay vemuri

gettoproperty are the standard testobjectproperties that do
not chamnge during run time...In short Property whose value
is retrieved from the object description.
ObjectCount = Browser("Demo of Vo Object").Page("Demo of Vo
Object").ActiveX("VoDemoFormX").DROPDOWN
("FLIGHTS").GetTOProperty("itemscount")

SETOPROPERTY - Modifying Test Object Properties During a
Run Session

CHANGING THE NAME
Browser("Demo of Vo Object").Page("Demo of Vo
Object").ActiveX("VoDemoFormX").VirtualButton
("button").SetTOProperty "Name", 0

Is This Answer Correct ?    14 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1414


Explain quicktest professional (qtp) testing process?

534


X flies from Hyd to bangalore using different methods of transportation. write the test scenarios and test cases for this?

1495


Who uses qtp tool?

568


What is qtpro? What is quick test pro?

555






What is active screen?

558


When ‘option explicit’ keyword is used in qtp?

744


What is the difference between qtp and selenium?

542


You will receive the mail in your outlook from client at night time to go ahead for the execution. Based on the mail you need to trigger the batch run. What is the QTP Code for this?

1325


What is test object model in quicktest professional (qtp)?

540


How to carry out bit map check points in QTP

1758


Can we run multiple QTP scripts one after the other without manual intervention? How?

588


Hybrid framework supports Descriptive programming. Is it true?

643


How would you directly trigger javascript in a test?

1467


Where we can use the synchronization?

568