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 12.5.0.1 and later
Information in this document applies to any platform.

Goal

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

Neither

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

or

Adding the x-path in the java code

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

 

Solution

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