The TO and RO property must have confused(or might be still confusing) you at some point of time.This is my attempt to demystify the two with the inputs from various resources.
Test objects are the objects in your test that represent the objects in your website or application. Runtime objects are the objects in your application during the test run.
The Test object properties set is created and maintained by QuickTest. The Runtime object property set is created and maintained by the object creator (Microsoft for Internet Explorer objects, Netscape for Netscape objects, the product developer for ActiveX objects, etc.).
Similarly, Test object methods are methods that QuickTest recognizes and records when they are performed on an object while you are recording a test, and that QuickTest performs when your test runs. Runtime object methods are the methods of the object in your application as defined by the object creator(the developer!). You can access and perform runtime object methods using the Object property.
If you want to keep track of further articles on QTP. I recommend you to subscribe via RSS Feed. You can also subscribe by Email and have new QTP articles sent directly to your inbox.
Understanding enigmatic TO and RO property
Subscribe to:
Post Comments (Atom)
25 comments:
Excellent article!
Keep up the good work.
This really nice Ankur!!!
Great Work Done...!!!!!
Shantha
Really Great Work Ankur, Keep it up . u r helping lot of people with this info
Ankur you are doing good job. Its really helpful. Keep posting new solutions.
Ankur You are doing excellant work, it is really helpful for newcommers and persons who are already working in QTP.
Hi Ankur,
Had a question. Can I post a HTTP request to my application using QTP ?
Thanks
Excellent article ankur.........i havn't seen this information in any of the stuff i have gone through about QTP.......excellent one ....keep it up........
Hi Ankur
Good Stuff, but it will be great help to the readers if you provide examples on To and Ro properties
Thanks
Test Object: Property of a object at the time of recording and programming.
Run object: Property of a object found when QTP Execute script on web objects.
Sandeep Panda
Great Article....Good work Ankur, your articles really helping new comers to gain thorough knowledge about QTP...
Keep it up...
Is it possible to record the right click events with new QTP 9.5 or with some descriptive programming.
Does The QTP script recorded on Windos XP run properly on Vista Ultimate(vice a versa) else what changes needs to made to work it properly
Sandeep,
Thanks, you made the whole explanation easier.
Swetha.
Hi Ankur
How to record & ply back on remote system. Is it work as similar as normal system?
Poorna.
Hello Ankur,
can u plz tell me how to compare results in QTP ........
As activation code/numeric value is generated i need to compare it with my DB .............
or suppose i need to save the last activation code in my excel sheet .....so that i can manually compare it with the DB
Hi Ankur,
I have one question here.
Can u please tell me, Hw to retrive the column names of the excel sheet into QTP?
Hi Ankur,
Can u suggest through QTP can we recognize that mail was shooting or not on submission of button?
very much useful article
keep up the momentum going
Hi Ankur, I am new to this blog. One question for you. My Dev people use third party tools like syncfusion and devexpress and QTP are not able to identify the objects in the application. the existing qtp scripts used the x,z position to identify the objects. Do you have a better idea? this is driving me crazy everytime I run QTP scripts, I need to modify the position. re-record some objects...
Issues in parsing WSDLs using Web Service Addin
Hi Ankur,
Posting in this forum after a long time. I am currently working on QTP 9.2 with Web Services Addin 9.2.
I have encountered an issue of parsing few WSDLs (not all) from a specific Server. I feel something wrong with my Installation. It is working fine in few of the PCs, though configurations of all PCs are same.
We use Concurrent Licensees.
In the new PCs, I am installing QTP and Web Service Addin, I am unable to parse few WSDLs using Web Service Testing Wizard. Few of them are becoming successful in this method too. Other machines, I do not have any problem in parsing WSDLs.
For the cases, where it fails, I get UnSupportedType XML Warehouse.
For instance, while parsing
a) http://10.230.18.125:7000/services/AccountService.wsdl WSDL in new PCs, I get:
' AccountService Web service object steps
Set AccountCreate = WebService("AccountService").AccountCreate(XMLWarehouse("UnsupportedType"))
WebService("AccountService").Check CheckPoint("AccountCreate")
But in other PCs, while parsing the same WSDL, It is becoming successful.
' AccountService Web service object steps
Set AccountCreate = WebService("AccountService").AccountCreate (XMLWarehouse("AccountCreateInputMessage"))
WebService("AccountService").Check CheckPoint("AccountCreate ")
b) ) http://10.230.18.125:7000/services/PaymentService.wsdl WSDL works fine in both the PCs. Likewise; many other WSDLs work fine in both the PCs.
Just wondering, if you/anyone has overcome this type of scenarios?
hi ankur
i am a beginner in qtp.i have a problem, when i replay my test qtp flashes meassage that object does not recognised.can u plz giv some tips how to configure objects
Please help me by sending the sample files for the below components. and how to use these files in QTP 8.0 and have initial stage
1. Control File
2. Test Case File
3. Startup Script
4. Driver Script
5. Utility Script
Thanks in advance
It would be great if u forward some of the examples to my Email id nandhakumarpalani@yahoo.com
Hi All,
I have started the recording of web application. Can anybody guides me for effective recording. I have little bit knowledge in QTP.
Regards,
Krishan Malik
hi Ankur,
Could you please share actual/sample files and scripts involved in Keyword Driven Framework?
Please send me the scripts and files on s.santhok@gmail.com..
The Keyword Driven framework consists of the basic components given below
1. Control File
2. Test Case File
3. Startup Script
4. Driver Script
5. Utility Script
please the files would be of great help to me
thanku
Post a Comment