Forum Discussion
Basically, here's what's happening... your NameMapping for the dialog box is not specific enough... it found a dialog with the JavaClassName of JSDialog... but you have probably multiple objects mapped that way in your NameMapping with nothing clear to distinguish between the two. What you need to do is go back to your NameMapping and add additional properties to your mapped objects so that they are uniquely identified.
- Marsha_R7 years agoModerator
Which is why I was asking for the screenshots tristaanogre :)
- BTscott7 years agoContributor
I have done that. What seems to be the issue is that on playback, TestComplete checks for the 'Discard Changes' button after the ClickButton action is already executed.
I'm unable to add anything more specific because these are both JOptionPane dialogs. I have tried adding more criteria to the NameMapping, but it doesn't change the results.
Related Content
- 7 years ago
Recent Discussions
- 3 days ago