Question

3
Replies
102
Views
SOUJANYAAL Member since 2011 6 posts
Cognizant
Posted: 1 year ago
Last activity: 1 year 5 months ago
Closed

Windows Form issues in RDA

I have a requirement where i have a Windows form (which i'm using for Login). I have two buttons Submit and Cancel.

Once the robot activity starts, form is activated. I'm using a Wait for event for the Submit button click. Once user enters userid and password, and on click on Submit - Login form will close and another automation will run.

If user clicks on Cancel button on the form, Login form will close.

Due to Wait for event is enabled for Submit button, on click on Cancel button, form is closing and it is not activating again. I have tried using Hide also. If i have enabled wait for event for Cancel button once login form is activated, it is working as expected.

Here i need to take care of both scenarios, need to implement Wait for event for both the buttons, based on click on the button in the form , the automation should run. Kindly help me.

Robotic Process Automation
Moderation Team has archived post
Share this page LinkedIn