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 the 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.  java: This object is reserved to interact with java swing applications

Using Objects

Upon typing the object name, all the methods 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 *