1

How do I handle an unpredicted alert in TruClient?

My application throws an alert box sometimes notifying about system related stuff. I cannot predict when it will appear.

I do not want to add many Press OK in alert dialog all over the script.

Is there a more elegant solution?
Can I disable those alerts at all?

CodeWizard
  • 128,036
  • 21
  • 144
  • 167

1 Answers1

2

You can disable alerts by overriding the browser implementation with an empty implementation of your own but a more elegant solution will be to use TruClient Event Handler for dialog.

See below links for more details

Good luck

CodeWizard
  • 128,036
  • 21
  • 144
  • 167