cancel
Showing results for 
Search instead for 
Did you mean: 

Button Click Using JAVA Script

MohiniShelke
Level 4
Hi All,
Is anyone has used JavaScript for Button click event?
I have tried with Global send Hotkeys "ENTER" but not working and the PopUp is unable to SPY using BluePrism.

Anyone knows other solution for this ,Please let me know.

Thanks in Advance.

------------------------------
Mohini Shelke
RPA Developer
vElement It
------------------------------
2 REPLIES 2

GopalBhaire
Level 10
You need to first insert a JS then Invoke the JS, It should be something like
function clickSubmit(){
var ele= document.getElementsByClassName('className');
ele[0].click();
}
Then Invoke it by calling function clickSubmit and Arguments []

------------------------------
Gopal Bhaire
Analyst
Accenture
------------------------------

GopalBhaire
Level 10
You mentioned Popup which I missed last time, have you tried creating a separate object for the popup and spying.

------------------------------
Gopal Bhaire
Analyst
Accenture
------------------------------