I am using Oracle Apps and recorded VUGen script, while play back getting following error:
Above line will be having a small button (like browse button with label ...) towards right hand side which will be appear only when it has focus, when I click it then it should open Customer Address window.
I am guessing while playing back it is just click inside edit box so that customer address window not appearing, any experience would great helpful to me.
[ QUOTE ]
Action.c(121): Add to flush terminate message
Action.c(124): nca_set_window("Customers - Standard")
Action.c(128): nca_set_window("Customer Addresses - TestC488, [New]")
Action.c(131): Error: nca_edit_set("732","Test488") failed, Window or object is not displayed.
The window currently in focus: "Customers - Standard".
Abort was called from an action.
Starting action vuser_end.
Ending action vuser_end.
First, it looks like you don't have "record=names" (see the LR documentation for Oracle NCA). That is going to make your debugging effort more difficult.
Next, I'd say your assumption is correct - the Customer Addresses window is not fully displayed or does not have focus.
It might be a synchronization issue - after clicking the button, the "imaginary" window has to "populate." And depending on its contents, that might take a measurable amount of time. If so, the nca_edit_set might fail because the relevant field has not yet been sent from the server. This is quite a common problem when recording Oracle Apps, in my experience.
"record=names" should be done in script or any setting over there?
Regarding my assumption:
Edit box has browse button when I click on it LR records like "clicking on edit box", but when I playback it clicks on edit box but not clicking on "browse" button which is in edit box. This is where new window not displaying ("customer address window").