Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


setroproperty and getroproperty difference

Answers were Sorted based on User's Feedback



setroproperty and getroproperty difference..

Answer / tester

see noor wht u said i.e meaning correct in getroproperty
but what u written the code is wrong.and setroproperty also
wrong.


because there is no(like setroproperty) in QTP

properties in QTP are SetToProprety, GetToProperty,
GetRoProperty.

Regards,
TESTER

Is This Answer Correct ?    6 Yes 0 No

setroproperty and getroproperty difference..

Answer / rayudu

Gettoproperty is used for getting runtime values of an
application On the other hand Settoproperty is for Seting
the runtime test object properties

For Settoproperty:

Suppose there is one screen named "TESTING" and another
screen named TESTINGPROCESS"
Now by using settopreperty we can do operations
on "TESTINGPROCESS" screen by using "TESTING" screen.
Here no need of TESTINGPROCESS screen properties in Object
Repository

Is This Answer Correct ?    4 Yes 2 No

setroproperty and getroproperty difference..

Answer / gold

Can any body show me the coding with settoproperty and
gettoproperty?

Is This Answer Correct ?    0 Yes 0 No

setroproperty and getroproperty difference..

Answer / umasankar

Set brwobj=Description.Create
brwobj("micClass").value="Browser"
Set pgobj=Description.Create
pgobj("micclass").value="Page"
msgbox Browser(brwobj).page(pgobj).getroproperty("title")
Set oDesc = Description.Create
oDesc("micclass").Value = "WebEdit"
Set ObjWebElement = Browser(brwobj).Page(pgobj).ChildObjects
(oDesc)
NumberOfObjWebElement = ObjWebElement.Count()
For i = 0 To NumberOfObjWebElement - 1
varWebElement= ObjWebElement(i).getroproperty("value")
Msgbox varWebElement
Next

ObjWebElement(i).set "my Value to set"

ObjWebElement(i).type "my Value to set"

Is This Answer Correct ?    0 Yes 0 No

setroproperty and getroproperty difference..

Answer / noor

GetRO Property is used for retrieving the property of an
runtime object

For Example
To get whether button is enabled or not.
Val = Browser("Browser name").Page("Page name").WebButton
("Login").GetROProperty("disabled")
To get whether a checkbox is on or off.
Val = browser("Browser name").Page("Page name").WebCheckBox
("Test").GetROProperty("Value")

SetRo propert for modifying the property of an object

Is This Answer Correct ?    3 Yes 4 No

Post New Answer

More QTP Interview Questions

Differentiate the two Object Repository Types of QTP.

5 Answers  


An action has both shared and local OR associated with it and both have the same object in them. In the test which one will be considered?

0 Answers  


I am executing a batchfile.In one script on one Button i have inserted a checkpoint.It is in a loop,my checkpoint is going to fail sometimes.That failed results only I have to log in a file.How it's possible...pls give the solution for this?

6 Answers   Wipro,


How to run a test using quicktest professional?

0 Answers  


WHICH functionalities of QTP used in Banking project?

2 Answers   Tarang, Wipro,


What are the ordinal identifiers in web page?

0 Answers  


what is the mediater between qtp and application/project in automation testing?

1 Answers  


why we use check points , In qtp we use the any check points , what r they , when and why

1 Answers   Polaris,


Take a situation when you are working with QTP, suddenly system has crashed.so you again start the system. My questyion is how can QTP directly opened when the system desktop appears.

2 Answers  


Can QTP be used for GUI testing ?, We are using Java with MySQL and Operating system is Linux. We are NOT using the web.

0 Answers   IBM,


How to make Non reusable actions into reusable action? is that feature available in QTP

2 Answers   Ordain Solutions,


what is the purpose of SetTOProperty Method?

1 Answers   Cap Gemini, iGate, Wipro,


Categories