Hi. plz expalin abouit SetToProperty, SetRoProperty,
GetToProperty, GetRoProperty,GetToPrperties. with examples.

Answer Posted / kamesh

As per my Knowledge ....There is no SetORProperty in QTP

SetToProperty: This is used for set the values to any
property of object at run time. This is not effected to
Runtime datatable.

GetTOProperty: This is used to get property values which is
set the value to the object using SetTOPropery at run time

GetORProperty: This is used to get the any property values
of any object in run time

Plz let me know if I wrong..
jnkrao@yahoo.co.in

Is This Answer Correct ?    10 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What is the difference between them? How to handle script issues?

650


suppose in the middle of the project QTP will not work properly, then what do u do? and ur team?

1404


I used child objects to get the no of weblist present in the weblist.now i need to select the items present in each weblist ?How to do so

2344


How to get Traceability matrix from TD?

769


By using QTP can we record any log files written by the application which is in execution?

1581






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

1993


How many types of object repository in qtp?

710


Which HTML specification will be adhered to? How strictly? What variations will be allowed for targeted browsers?

648


What is recovery scenario manager? When you go for recovery scenario manager?

669


What kinds of security (firewalls, encryptions, passwords, etc.) will be required and what is it expected to do? How can it be tested?

726


i have two questions for regular expression :- Q1. I have date pattern eg-29/11/2011 29-11-2011 29.11.2011 Que- if any separator is there between date,month and year pattern should match else it should not match eg- pattern should not match in case of 2911-2011 Q2. let say i have a string and there is a number in between of that string eg.-Amount 30002.234 successfully credited to your account . now i have to match this pattern in such a way that even if decimal is not there pattern should match ,how i will do this using regular expression

1132


when I try to run below script in QTP "totalPages" value is 2. But i am getting error message (Type mismatch: 'totalPages' Line (): "For i=1 to totalPages".) totalPages=Browser("Name:=User").Page("Title:=User").WebElem ent("innertext:=of.*").GetROProperty("InnerText") msgbox totalPages For i=1 to totalPages rnum=Browser("Name:=User").Page("Title:=User").WebTa ble("column names:=User Name;ID;Last Name;First Name").GetRowWithCellText("store4") If rnum>0 Then r=rnum Exit for End If Browser("Name:=User").Page("Title:=User").WebElement ("html tag:=A","x:=471").Click MsgBox "Exit" Next

3422


Explain xml checkpoints.

702


Dear Friends, I having total 3+year experience in manual testing including automation testing QTP, if i am attending any interview what kind of question will i get? please help me out

1680


Hi, I am using OutputCheckPoint and I am storing the value in the data table. The stored value for column:bedroom:"Bed:4" The another value for column:bathroom:"Bath:2 Full,1 Partial" I need only the no 4 from the first column. I need only the no 2,1 from the second column. I used split array,but it also show array(0) has the value"bed:4" ..... Even though I highlight only 4,It is seleting the full value "bed 4".How can I get only the nos Thank you Uma

1377