Problem with Date Picker in connection with "While" and "Try Catch" Activity

Hey,

I want to enter a date on the booking.com website, which must be clicked manually. The selector of the click activity is dynamic and works. However, if the month to be selected is not displayed, the bot should continue clicking. I tried the whole thing with a While loop and the Try Catch activity (see image). Unfortunately the exception inside the Try Catch activity is not executed, I don’t know why. When I manually click on the month, the correct date is selected.

The variable “Retry” is first set to TRUE.


Exception

Can someone help? Thanks a lot

Hello @Tris_H

Did you tried to execute in debug mode with highlight enabled.
Better you can use stepinto and check whether the activities are working fine. I think here the exception is not happening in the Try section.

Thank you for your answer. The solution was to click “Run File” instead of debug file

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.