Operations in OR:
- Adding Test objects:
To identify runtime objects we should provide test objects
into OR
i.
Auto-learning
ii.
Pre-Learning
iii.
By define New
Test object Manually (when application not available)
- Delete Test objects:
If any unwanted test objects are exist in OR w. r. to script
then we can delete those test objects
Note:
when we delete parent object from the OR, then by default corresponding object
child objects will be deleted from the OR
- Highlight in Application:
To find application object w. r. to test object available in
OR
Navigation:
Select Test Object in OR >> View menu >> Select
“highlight in application”
- Locate in Repository:
To find Test object in OR based on application object
Navigation:
Ø “View” menu in OR
Ø Select “Locate in Repository”
Ø Click on Application object
Ø Click on “OK” after confirmation
- Rename Test Object:
Some objects may not contain any specific logical name to
identify in that case by default QTP consider those object class as logical
name
Ex: WinEdit, winbutton…etc
For better understandability of Test objects we can rename
those objects
Navigation:
Ø Select test object in OR
Ø Right click on mouse
Ø Select Rename test object
Ø Enter name for test object
Note:
When we rename test object in OR, that will be effected existing action script
Ex: Write script to click on Graph button in “FR” window by
adding all the button class objects information into OR