Basic mechanism of identifying an object is OpenScript reads the object and generates an XPath correspondingly. Where in the XPath generating mechanism differs w.r.t application and listing them below in brief.
- Web based applications
- Each and every object is identified based on its actual html code, and generates an xpath based on it, as in for example there is a text field present in a webpage. It would be actually present in a form which is present in webpage document. Example xpath for this textfield would be: /web:window[@index='0']/web:document[@index='0']/web:form[@id='DefaultFormName' or @name='DefaultFormName' or @index='0']/web:input_text[@name='textfieldname']
- Oracle Application Forms
- Each and every object is uniquely identified by the name which is given in backend of OracleApps. which gives a greater advantage of reducing the customization of recorded script.
Hi srinivas,
ReplyDeleteIs there any way to identify objects in OATS with other than xpath...as we can identify objects in selenium with css and locators