Test Objects

What are test objects and run time objects?

Questions by kishore12345

Editorial / Best Answer

Satyesha  

  • Member Since May-2009 | Mar 29th, 2011


Hi,
test Objects: Any object on which you are going to perform testing, on the basis of recorded object descriptions by QTP is called test objects.
To Identifying a test Object there are two types of Properties i.e.
1.TO Prop: (Test Object Properties)-These are the Object properties captured by QTP
in the form of Object repositories, durring recording of script/or added by you to code in case of a descriptive code.
2. RO Prop:(Runtime Obj Properties) -These are the properties which will be attain by an Object in the real time/Run time of  application Under test.
Note:While playing back an script Qtp will compare To properties stored in ORs with the RO properties if a suitable match found then Qtp will perform the recorded Action of that object else throw an exception.

Showing Answers 1 - 0 of 0 Answers

Test Objects: Objects that are stored in the Object Repository at the time of recording or by manually.

Run Time Object: Objects that appears dynimacally at run time on the application or we can say actual objects on the application.

  Was this answer useful?  Yes

Satyesha

  • Mar 29th, 2011
 

Hi,
test Objects: Any object on which you are going to perform testing, on the basis of recorded object descriptions by QTP is called test objects.
To Identifying a test Object there are two types of Properties i.e.
1.TO Prop: (Test Object Properties)-These are the Object properties captured by QTP
in the form of Object repositories, durring recording of script/or added by you to code in case of a descriptive code.
2. RO Prop:(Runtime Obj Properties) -These are the properties which will be attain by an Object in the real time/Run time of  application Under test.
Note:While playing back an script Qtp will compare To properties stored in ORs with the RO properties if a suitable match found then Qtp will perform the recorded Action of that object else throw an exception.

Objects are those which QTP identifies to run a test on.

Test Object: Objects present in object repository. These can be edited and are not dynamic in nature.

Run Time Object: These are the objects that QTP attains during run-time. These objects can never be edited by the user. These are dynamic in nature.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions