I am load testing Oracle R12 application, currently dealing with a customized form.
For this scenario, I am working on a form and there is a textfield. User is suppose to fill in a value to this textfield, then tab out.
Back end will start processing when the tab out happens. Once the process finish (SLA ~ 3 secs), there will be a response message displayed in a customized label in the bottom of the form.
The script will look something like:
nca_obj_type("field_name", '\t', 0);
My problem is on the ??? part. How could I create some sort of synchronization to keep on checking the msg box so that I can validate and confirm that it returns the correct resp message before marking it as the completion of transaction.
If I don't fill in the ??? part. Does the other nca code perform any sort of synchronization?
E.g. When I tab out, the form actually hangs a bit while it is processing. During this time, will the code continue to next line or will hang along with the application?
One option I can think of is using nca_set_exception.
If there is a message box, you can add your own function to check for button status in that dialog or text till it appear of diappear and put the exception function before to initiate the call to it according to the messagebox window title.