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
Explain the types of object repositorys in qtp?
Explain the checkpoint in qtp?
What is test object?
How you create new action in qtp?
Which functionalities of QTP used in banking project? pls any say answer?
How to perform cross platform testing and cross browser testing using qtp? Can you explain giving some example?
What are the flaws in water fall model and how to overcome it?
Explain the features and benefits of quick test pro(qtp)?
HOW AUTOMATE TEST SCRIPT ? what time it will do? after gneration of basic script or Any , Plz explain detailed?
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!!
Please provide specific examples of advanced/creative usage of QTP, including how impact & benefits for your project
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
Is any limitation to xml checkpoints?
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.
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 ?