Currently, I am facing a challenge with a Java based application where I need to click on a cancel button. I am using IE Driver, Eclipse IDE, and my application only supports IE. [I am scripting in Java]
Here is the scenario:
- Login to the application
- An account session popup appears which is a confirmation box triggered by JavaScript. [The alert has the focus, so the user cannot interact with the application]
- Click on the cancel button
Although I have successfully logged in, I am having difficulties handling the JS Alert window, making it impossible for me to proceed with writing further scripts.
Your assistance in this matter would be greatly appreciated!