When I run my test script directly from OpenScript or the command line, the test selects the values correctly from a form list of values window, but when the same test is run using Oracle Test Manager (OTM) it fails. The script had been successfully interacting with form elements up until this point. The test invokes the soft key "LIST_OF_VALUES" for a form field, activates the list window and attempts to select one.
Code snippet:
forms.textField("//forms:textField[(@name='LOCATION_0')]").invokeSoftKey("LIST_OF_VALUES");
forms.window("//forms:window[(@name='RMAHDR')]").activate(true);
forms.listOfValues("//forms:listOfValues").select("DOCKDOORS 360-368|UPS-SCS");
Error from process log stack trace:
14:39:38,140 ERROR [1] Error in section Run at line (script.java:39). Replay Action: ListOfValues(//forms:listOfValues).choose() failed. Cause: Timeout: data row(0,0)
Difficult to debug without being able to see the form being played (runs in the background on OTM) or get screen captures (even though I have forms.captureScreenshot() in the test, which also only seems to work during OpenScript runs and not OTM??). Any help greatly appreciated.