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

What is the difference between run time object and test object?

580


How can we conduct U-I Testing by using QTP??????

1429


How to analyzing the checpoint results?

522


How does quicktest professional (qtp) identifies the object in the application?

583


What is the Command used to start the QTP

1533






how many maximum number of virtual users we can create?

1572


How many types of recording modes in qtp? Describe each type with an example where we use them?

616


How you can make an action as re-usable action?

656


In qtp is it possible to check broken links of a page?

587


How to use the object spy in quicktest professional (qtp) 8.0 version?

511


Can launch two instances of qtp on the same machine?

583


Hi,All How to create a link in excel sheet using qtp

3003


How can you write the scripts that operate on different objects depending on run-time information?

2121


What are the benefits of qtp?

556


How to integrate the qualitycenter with qtp

1773