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 |
Hi ,Can any one pleas explain how to test splash objects using QTP?
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 ?
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.
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...
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
Describe how Smart Identification is used
Is qtp supports uni-code?
Explain about the Test Fusion Report of QTP?
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
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
How to use the Object spy in QTP 8.0 version?
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,