I am working on MDMS IDD screens automation which are configurable from predeveloped java/java script Utilities.
When the values are entered in fields and after clicking on apply button values are getting disappeared and an error message is displayed please enter values in all fields.
This is all happening while execution through QTP.
Manual execution does not have this issue and execution is smooth.
I have tried
setting.Package ("replay type")=2 and 1
Mecury device replay tab option
None of them have worked
I have tried using wait 1 after each step
This is working fine in retaining values in fields after clicking on apply button.
But my client goes crazy if he sees hard coded wait statement.
Can anyone help me in this regards.
You could put in a loop that compares the value of the field with the expected value of the field. I personally would fight for the 1 second wait since it works.
Patience is like bread I say.... I ran out of that yesterday.
You could parameterise the wait value, if you have time put a WaitProperty statement on the last field.
GLOBAL_WAIT = 2