I am finding that I can readily access the "alert modal" windows of Oracle forms utilizing TP. However, accessing the "regular modal" windows is quite unreliable.
I have attempted to use one of the "regular modal" windows in screen events, window events and .exists statements to no avail.
Despite the fact that the object map exists and can be 'located' by TP, TP refuses to recognize it during a script play.
if javawindow("RegModal", tpattachchild).exists then
consistently results in a runtime error message that reads;
"Failed to find the attachname "RegModal""
Does anyone have any experience with this issue or any suggestions?
I would be happy to share some code, however, because I have tried this in so many ways, I am not sure what the most valuable solution to tweak would be.
I am trying to validate whether or not this modal window pops up after a query.
I have utilized wait, whenever, if->then, etc...
Apparently the problem I have encountered was a bug in v. 5.6. I am not sure if it has been corrected or not in later versions, but the resolve in this case was to place a .exists statement on the button which exists on the modal window. The window is not visible but the button can be seen.