setroproperty and getroproperty difference

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the types of object repositorys in qtp?

571


Explain the checkpoint in qtp?

590


What is test object?

695


How you create new action in qtp?

560


Which functionalities of QTP used in banking project? pls any say answer?

1437






How to perform cross platform testing and cross browser testing using qtp? Can you explain giving some example?

542


What are the flaws in water fall model and how to overcome it?

557


Explain the features and benefits of quick test pro(qtp)?

512


HOW AUTOMATE TEST SCRIPT ? what time it will do? after gneration of basic script or Any , Plz explain detailed?

1713


Hi, Hope you viewers are doing fine with good health. What are the steps and connection parameters to connect to Oracle db ? Can you connect with just the Oracle client or Oracle XE ? Cheers!!

2445


Please provide specific examples of advanced/creative usage of QTP, including how impact & benefits for your project

1639


Hi All, issue is related to handling pop up script generated in IE, and run on mozilla. In App Under Test, when we get the alert pop ups, we just click ok button. if we need to run the same code on mozilla it will not identify . so we will check browser if browser(*).dialog(IE object).exits browser(*).dialog(IE object).winbutton(OK).click else 'by default mozilla browser(*).dialog(mozilla object).page(*).webbutton(OK).CLICK END IF But my qustion is. Do we write the above piece of code where ever we get such kind of pop ups from the application like alert pop up, confirmation pop up.... OR do we have any other alternative way to do this by using any functions in Recovery Scebarios? If Any of u know idea please do help me in this regard. or send answer to kravimb@gmail.com

1427


Is any limitation to xml checkpoints?

555


Hi, I got error message as "object does not support this property or method: "Test.Actions" when i execute the following line of script on QTP 9.0 Dim qtApp, qtRep Set qtApp = CreateObject("QuickTest.Application") Set qtRep = qtApp.Test.Actions("Action1").ObjectRepositories Can anyone tell me where i am wrong.

1512


Consider one application is open, clicking one menu will open another application in another browser. QTP does not catch the URL of the second browser(second application). can we capture it ?

1469