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

Hi ,Can any one pleas explain how to test splash objects using QTP?

0 Answers   Value Labs,


We developed 100 descriptive programms and put in running, in the midle if any descriptive program is stucked with some error? what will happend weather it will execute the remaining prg's or it will terriminate ?

6 Answers   Kanbay,


Can anyone pls tell me in realtime (descriptive programming) how will the properties of the object be given to the test team. R they given in an excel sheet and is the same sheet also given to the development team and by whom is this given? Thanks a lot.

0 Answers  


If there are 100 checkboes in a page then how can we select 10th & 11th & 14th chexkboxes at once through descriptive programing in QTP using vb script. Please send the answers...

5 Answers   NTT Data,


hi friends i have 4 yrs exp in testing and 2 yrsexp in QTP.currently aim working in mnc in north as a permanent employer .iam looking for job in south is there any openings plz let me know my mail id is bjr@aol.in its very urjent

5 Answers  






Describe how Smart Identification is used

0 Answers  


Is qtp supports uni-code?

0 Answers  


Explain about the Test Fusion Report of QTP?

1 Answers  


can any one tell me what is syntax error in line msgexist=Browser("title:=Gmail: Email.*").Page( "title:=Gmail: Email .*").WebElement(innertext=&msg).exist 'code ************** Call login("lal="," " ) wait(5) Call errormsg("Invalid email address. [?]" ) Function errormsg(msg) msgexist=Browser("title:=Gmail: Email.*").Page( "title:=Gmail: Email .*").WebElement(innertext=&msg).exist if msgexist then Reporter.ReportEvent micPass,"enter valid username or pwd ",msg else Reporter.ReportEvent micFail, "entered valid uname and pwd",msg end if End Function

5 Answers  


Hi Friends, while playing the recorded test i am getting this error "Cannot identify the object "q" (of class WebEdit). Verify that this object's properties match an object currently displayed in your application." error is coming in this line of code "Line (2): "Browser("Google").Page("Google").WebEdit("q").Set "airtel broadband"". " .... please tell me how to overcome this problem. need help asap... Thanx in advance

3 Answers  


How to use the Object spy in QTP 8.0 version?

2 Answers  


how can u put synchronization point in qtp,wat is exactly synchroniztion why we use it wat is benifit in qtp

13 Answers   College School Exams Tests, Mind Tree,


Categories