How to deal with dynamic elements in Java Applet application
I have a task where I have to update a form and then Click OK for the final Confirmation. While recording I do update the form and then click OK for the confirmation but, while Playback the tests are failing at the final Confirmation panel. I have tried to grab the element and found that the value of the OK button changes everytime.
For example :
Name Mapping :
Aliases.browser.pageOracleFusionMiddlewareFormsS.object.PluginEmbeddedFrame.Main0.MDIContainer15.EwtComponent14.ScrollBox13.ScrollBox_112.FormDesktopContainer11.FWindow554.LWComponent557.AlertPane559.LWComponent563.ButtonBar569.PushButton20
For first attempt I got the values as PushButton5 and for the next attempt the value have changed to PushButton20.
I am not sure how can I resolve the issue.
Hi Marsha,
Thank you for your suggestions. Can you please let me know how should I turnoff the settings for TestComplete.
Thanks,
Biswa