Modal popup dialog window

File select window

Please find the below solution to handle the above scenarios
1. Ensure whether the Modal popup dialog window/Popup window is SAP modal dialog or Win32 modal dialogue
Please find the below steps to find whether the Pop window is a Win32 modal dialog
(A) Application version>Dynamic Modal>[GuiLabel]>Find
Below are the parameters for the Find action:
Property=Text
Value=xxxx
Criteria=contains
Comments: The above step failed with the error message “Window not found - Searching for the modal window but there was no modal window”
(B) Add the following step to confirm whether Certify is finding Modal Window or not
Application version>Dynamic Modal>Dynamic Modal>Click
Below are the parameters for the Click action:
Type=Single (Set Focus)
Comments: The above step fails with the error message “SAP.GetSAPObject : Recognition string not found. Unable to find object have Id:/app/con[0]/ses[0]/wnd[2]”.
If you get the above mentioned errors then it is confirmed that the Modal popup dialog window is windows (win32) based and hence you cannot automate/ handle it through SAP dynamic Modal.
If you have Worksoft Certify .Net interface License then you can use WinLearn to automate this popup.
In case if you don’t have purchased Worksoft Certify .Net license then use the System Active window object (available with Certify 8.6.0 and up) to handle this particular popup.
System 1.0>Active Window>Send Keys
Parameters for the Send Keys action
Keys={TAB}{Down 25}{ENTER}
Target Window caption=Corres
Caption Criteria=Starts with
Note: To specify repeating keys, use the form {key number}. You must put a space between key and number. For example, {DOWN 3} means press the DOWN ARROW key 3 times; {LEFT 10} means press LEFT arrow key 10 times.