Thursday 11 September 2014

Object Repository Part-3

Operations in OR:
  1. Adding Test objects:
To identify runtime objects we should provide test objects into OR
    1. Learning process:
                                                              i.      Auto-learning
                                                            ii.      Pre-Learning
                                                          iii.      By define New Test object Manually (when application not available)

    1. By associating shared OR file

  1. 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

  1. 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”
                             
  1. 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

  1. 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


2 comments:

  1. Compre documentos en línea, documentos originales y registrados.
    Acerca de Permisodeespana, algunos dicen que somos los solucionadores de problemas, mientras que otros se refieren a nosotros como vendedores de soluciones. Contamos con cientos de clientes satisfechos a nivel mundial. Hacemos documentos falsos autorizados y aprobados como Permiso de Residencia Español, DNI, Pasaporte Español y Licencia de Conducir Española. Somos los fabricantes y proveedores de primer nivel de estos documentos, reconocidos a nivel mundial.

    Comprar permiso de residencia,
    permiso de residenciareal y falso en línea,
    Compre licencia de conducir en línea,
    Compre una licencia de conducir española falsa en línea,
    Comprar tarjeta de identificación,
    Licencia de conducir real y falsa,
    Compre pasaporte real en línea,

    Visit Here fpr more information. :- https://permisodeespana.com/licencia-de-conducir-espanola/
    Address: 56 Guild Street, London, EC4A 3WU (UK)
    Email: contact@permisodeespana.com
    WhatsApp: +443455280186

    ReplyDelete