Hello,
I'm using RoboTask to generate reports for one of my co-workers. I have RT enter a beginning date (first day of the month) to run a Month To Date report.
Early in the month, the report is empty. Instead of displaying the report, the software display a pop-up box titled "Information" with "No records matching scope options were returned." in the body. There is one button labeled "Ok" in this pop-up.
I am trying to use If-Then logic to deal with this exception. In the RT If Then dialog box I entered the First Operand as "WindowExists(Information)", set it as Boolean, and compared it to TRUE.
However, this never works. The Else portion of the code always executes (which is coded to print the actual report).
How do I recognize this pop-up box within RoboTask?
Any suggestions would be greatly appreciated.
Regards,
Robert
Dealing with Pop-Up Box
Dealing with Pop-Up Box
Try using the "Check for Window" action (under "Window") You can use this action to assign true/false to a variable and then check that variable with your If/Then statement.
Dealing with Pop-Up Box
I've tried that, but I think my problem stems from the fact that I am opening a Remote Desktop session on another computer and RoboTask does not recognize when a window is open on that other server.
Thanks for getting back with me....
Robert
Thanks for getting back with me....
Robert
Last edited by robertlb on Mon Oct 27, 2008 4:43 pm, edited 1 time in total.