Close popover
Sravan Aluvala (chakri5122)
Tech Mahindra Ltd

Tech Mahindra Ltd
chakri5122 Member since 2017 12 posts
Tech Mahindra Ltd
Posted: January 9, 2018
Last activity: November 6, 2018

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