How to stop auto it script once it performs its action | Selenium Training|Java|WebDriver|TestNG|Frameworks|Videos
15% Learning Discount Avail now

Selenium Training Forum

How to stop auto it script once it performs its action

S
sowndarya Post on 06/09/2019

Hi Team,

I have created a autoit script to click on a button in windows pop up. Selenium code invoke the autoit script using "Runtime.getRuntime().exec("autoitscript") "

But once the script is invoked it keeps on running at the back ground, 

How to stop it once the autoit script completes its action

 

Thanks,

Sowndarya Y

S

Instructor

Support Team Reply on 19/09/2019

Hello, Please refer to the video again. We have discussed how we can stop autoit script once it is sone performing its action.

S
sowndarya Reply on 07/11/2019

Hi Team,

I have watched the Training video 17 again to check on how to stop the autoit script. But i could not find any solution for that.

Could you please confirm in which module i can find the solution. 

I would appreciate if you can provide the solution here

S

Instructor

Support Team Reply on 08/11/2019

You can refer this post

It explains how to kill a process with java code

https://stackoverflow.com/questions/81902/how-to-find-and-kill-running-win-processes-from-within-java