How to Add the Class Element for Object Identification

(Doc ID 2239125.1)

Last updated on MARCH 01, 2017

Applies to:

Oracle Application Testing Suite - Version and later
Information in this document applies to any platform.


The web elements in an application all have dynamic id's and the only other attribute is class name.


Adding the @class='{{class}}' into the View -> OpenScript Preferences -> Recording -> Web Functional -> Object Identification tab


Adding the x-path in the java code

results in a working path to the object in record or playback.



Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms