Hi. plz expalin abouit SetToProperty, SetRoProperty,
GetToProperty, GetRoProperty,GetToPrperties. with examples.
Answer Posted / raghavender
SetToProperty
It is used to set a vlaue to the property of an object
which is there in the Repository.
eg: browser("").page().webbutton("").setTOProperty
property,value
GetROProperty
This property is used to get the run time proerty of an
object.
eg: strval = Browser("").page("").webbutton
("").getROproperty("name")
GetToProperty:
This property is used to get the particular property value
of an object which is present in the repository.
Eg:strval = Browser("").page("").webButton("").getTOproperty
("name")
SetROProperty is not existing in QTP.
| Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
In application which areas to be automated and what kind of situation will be take? using QTP? Plz give me the clear answer
What is meant by Step generator?what is the use of this? we have 3 steps know there what r all those.? can u all pls give me clear idea of this
How to handle the exceptions using recovery secnario manager in quicktest professional (qtp)?
What is QTP and the use of QTP in TD?
why text area checkpoints cannot used for web applications
Hi, I have 2 dropdown listboxes called region and city/area. It needs to select one region(Santa Clara) and one city/Area (Sunnyvale).So I put this in the for loop and I am storing the Items in the variable called itemname. The regions value will get changed,so I used reg expression for this regions. This is my code Browser("MLSListings.com").Page("MLSListings.com").Link("ยป County/Area").Click Browser("MLSListings.com").Page("MLSListings.com").WebList ("regions").Check CheckPoint("regions") ListSize=Browser("MLSListings.com").Page ("MLSListings.com").WebList("regions").GetTOProperty("items count") For i = 1 To ListSize-1 Itemname =Browser("MLSListings.com").Page ("MLSListings.com").WebList("regions").GetItem(i+1) Browser("MLSListings.com").Page("MLSListings.com").WebList ("regions").Select Itemname ................. If I run the script,I am getting the following error, Cannot identify the specified item of the regions object. Confirm that the specified item is included in the object's item collection. Any Help? Thank you, Uma
How did you use regular expressions in QTP and also in WR?
if there is a web table of having row and colmns.a button is placed at 2nd row's 3rd column which is worked for both edit and delete..how to write script for the button to test both operation on the web table using desriptive programing.. plz help me on script wheather using getroproperty Q2)what is the command for taking valiue from a web table in qtp
Can we run multiple QTP scripts one after the other without manual intervention? How?
I have some real time based question.. 1.what are the challenges you have faced in your current project. 2.what are the bugs you found in your current project. 3.what are the strategies you follow to convert manual test cases into automation test cases. 4.how QTP identify two different browsers. 5. When you create a function library and share object repository what are the problems you have faced 6. How to solve the tool tip problem 7.what are the interesting bug you have found in your current project. 8.what is your daily work as a automation test engg. 9. how to create a weekly status report. 10. how many test cases you write,review and execute per day. 11.what are the uses of SQL in automation. 12.How to retrieve the data in html through vb script. 13.If application is very slow how to test the application in qtp.
This is a question thats generally asked in every QTP interview. What were the problems that you faced during automation and how did you resolve them?
Discuss quicktest professional environment?
Which advantages helping QTP to hold the position of "Market Leader" for such a long period?
what r the verstions from 1st to present (verstions) of mercury tools (like winrunner,QTP,Loadrunner) ? Chandana
Differences between text and test area checkpoints?