Hi. plz expalin abouit SetToProperty, SetRoProperty,
GetToProperty, GetRoProperty,GetToPrperties. with examples.
Answer Posted / prathyusha
We don't have any SetRoProperty in QTP
We do have only SetTOProperty,GetRoProperty,GetToProperty,GetToProperties.
SetToProperty-- is used to update the property value of a test object but that updation will be only temporary.
B().P().WebButton().SetToPropery "Name","OK"
GetRoProperty-- Is used to get the property value of RuntimeObject
msgbox B().P().WebElement().GetRoPropery("inner text")
GetToPropery-- To get the property value of test object
B().P().WebEdit().GetToProperty("value")
GetToProperties-- To get the property values of all test object.It returns the collection
set allprops=B().P().webedit().GetToProperties
msgbox allprops.count
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the meaning Work bench?
wht type of User defined functions or Java Releated functions do we write in VB scripting
How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s.
After fixing the bug, the same bug is raising again and again in new builds what we have to do? That bug is high level bug.
HI, pls help me on this, iam not able to capture getcelldata value in javatable... msgbox javawindow("").javatable("").getcelldata(3,3) but it diaplays empty...
How to handle the exceptions using recovery secnario manager in quicktest professional (qtp)?
Explain the features and benefits of quick test pro(qtp)?
Does quicktest professional (qtp) is unicode compatible?
Hi all, I am using windows vista, I am in the process of learning QTP. When ever I try to work with insert mode in flight application , i am getting the error of 'Operation must use an update table query, fractional truncation(null) error. Can anyone help me regarding this?
How to test the login page in different ways in automation testing and i need code?
What are the main differences of qtp and win runner?
Hello Everyone, Please provide me the practical example of business component concept of QTP.Like how to create business component,how to connect the quality center etc.... Thanks in advance, Gaytri
What are the advantages of a Hybrid framework?
What are the types of object repositories? Which one is you using?
Can we record an application running on a remote machine using qtp?