Question

1
Replies
585
Views
chakri5122 Member since 2017 12 posts
Tech Mahindra Ltd
Posted: 2 years ago
Last activity: 2 years 9 months ago
Closed

How to create controls for the buttons with javascript

Hi Team,

While I'm working on a webpage I need to perform click on a submit button which leads to a message alert showing Yes or No. I interrogated both the submit and also the message alert Yes buttons.

The problem here is as soon as the event click on the button occurs it will run the javascript for the message alert box . Hence during the automation when I call performclick method for the submit button it leads to the message alert box and the process gets terminated there itself.

Here is the sample code of the Submit button
<input type="submit" name="Name" value="Value" onclick="return Method();" >

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