Chapter 2 – Reserved Objects

Reserved objects

To facilitate quicker automation a few objects have been reserved as below.

  1. uia : This object is used to interact  with all the applications supported by UI   Automation.
  2. wd:  This is the reserved object for webdriver.
  3. native: This object can invoke all the native methods.
  4. util:  This object is used to invoke various utility methods.
  5. dll:  This object is used to invoke external DLL’s.
  6. oRep: This object is used to invoke methods for fetching data from object repository.
  7. Logger: This free object is used to report Pass,Fail and other such scenario’s in the HTML report.
  8. app: This is the reserved object for appium.
  9. Test: This  object is used to batch run test cases.
  10.  Ocr: This object is used to read text from images.

Using Objects

Upon typing the object name, all the method in its class will be displayed in intellisense.

You can select any method from it and mouse over it to get all the available overloaded methods and more help.

 

Add a Comment

Your email address will not be published. Required fields are marked *