What are SetToProperty, SetRoProperty, GetToProperty scripting?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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 |
How many tabs are available in debug viewer pane?
I want some banking domain projects where can i get this projects ( anybody can help me plz)
What are the properties you would use for identifying a browser and page when using descriptive programming?
Explain script generated at the time of setting runtime property?
Please give me the steps to carry out datadriven in QTP8.2
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?
What are output values and why they are used ?
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?
What exactly is the difference among all the three recording modes.
How you handles Pop-up windows which are Dynamically changing in Runtime?
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