What are SetToProperty, SetRoProperty, GetToProperty scripting?

Answers were Sorted based on User's Feedback



What are SetToProperty, SetRoProperty, GetToProperty scripting?..

Answer / manjunathareddy

SetToProperty-Setting the TestObject property in QTP
SetRoProperty- ??
GetRoProperty-Getting the Runtime Property of an test Object
GetToProperty-Getting the values of test Objects strored in OR.

Is This Answer Correct ?    2 Yes 0 No

What are SetToProperty, SetRoProperty, GetToProperty scripting?..

Answer / prasanna

settoproperty()-->used to set the value of particular
property of an object in OR./change the existing property
of an object in OR in runtime temporarly.
GETTOPEOPERTY()-->get the current value of properties&
values that stored in OR.
GETROPROPERTY()-->get the runtime property of an object

Is This Answer Correct ?    2 Yes 0 No

What are SetToProperty, SetRoProperty, GetToProperty scripting?..

Answer / kishan

Sorry a small Correction guys to my earlier answer. There is
no Property like "SetROProperty". But we have only Set
method like mentioned below

Browser().Page().webEdit("uname").set "reddy"

This stmt will change the "Value" Property of "uname" object.

other properties:
_________________
SetToProperty:sets a Property value to a Test Object
GetTOProperty:reads a property value of an Test Object
GetROproperty:reads a property value from a Run time object

Is This Answer Correct ?    0 Yes 0 No

What are SetToProperty, SetRoProperty, GetToProperty scripting?..

Answer / kishan

There is no Property like "SetTOProperty". But we have only
Set method

Browser().Page().webEdit("uname").set "reddy"

This stmt will change the (Native or) Runtime Property
"value" or "text" or "name" Property of "uname" object in the
OR. Thus we have set one property value to any object.


As Manunath Said, all the other properties and their purpose
is correct.

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More QTP Interview Questions

How many tabs are available in debug viewer pane?

0 Answers  


I want some banking domain projects where can i get this projects ( anybody can help me plz)

3 Answers  


What are the properties you would use for identifying a browser and page when using descriptive programming?

0 Answers  


Explain script generated at the time of setting runtime property?

1 Answers  


Please give me the steps to carry out datadriven in QTP8.2

2 Answers  






In a page i have N number of links at a time i would like to open those links by using QTP?how to do that?

2 Answers   Wipro,


What are output values and why they are used ?

0 Answers  


how u write vb script in qtp pls give me some basic script and some material

32 Answers   Datamatics, UHG, Winit,


Explain how you can replace string in qtp?

0 Answers  


What exactly is the difference among all the three recording modes.

2 Answers   TCS,


How you handles Pop-up windows which are Dynamically changing in Runtime?

2 Answers  


I m trying to automate one vb desktop application in that there is vblist vbcombobox many other vb tools are there ,when i m trying to find some unique property to identify the object (take example of vbcombobox ) I cannot find any unique property, all the combobox belong to same nativeclass same name no ids are available ,only the distinct property is there x and y coordinates so i m using some code like this "vbbutton "nativeclass:=ThunderRT6CommandButton","x:=304","y :=443").exist(2)" but i dont find them reliable .Can anyone suggest me some other way to identify those objects with some unique property or is there any way to register our own property .I m using descriptive programming to write the code .Thanks in advance

6 Answers   Cimcon,


Categories