Javascript alerts

Hi!

I’m automating a web page and it’s going really well but when I am uploading a file to the browser using the ‘Upload File in Browser’ operation the application then shows a javascript alert box asking the user to confirm the upload. I can’t seem to interact with the alert box using a click in ORQA? Is there a way to interact with javascript alert boxes using ORQA?

Thanks!

Hi SteelyBadger,

You can interact with javascript alert boxes using the ‘Press Key in Browser’ operation with the xpath set as /alert. You can then use the key ‘Enter’ to confirm the alert, or the key ‘Esc’ to cancel the alert. Hope that helps!

Thanks!