canberrasnag
Programmer
I need to capture the text displayed in a JS alert.
I am trying to automate the testing of some web pages and when the automation script enters invalid characters and clicks submit (still to be worked out), an alert pops up.
I need to capture the text in that alert and chack it agains the original customer agreed text which is loaded from a text file.
I am still trying to work out how to locate the alert window that pops up
Thanks
I am trying to automate the testing of some web pages and when the automation script enters invalid characters and clicks submit (still to be worked out), an alert pops up.
I need to capture the text in that alert and chack it agains the original customer agreed text which is loaded from a text file.
I am still trying to work out how to locate the alert window that pops up
Thanks