if you can get cooperation from your developers there are some tactics where by you can get information about any JS errors. I do something like that, and for all failing tests one of the things the code does is check to see if there was a JS error that occured, and report the details if there was.
reference: http://itreallymatters.net/post/384269592/capturing-javascript-errors-with-watir#.VObrjfnF_uM and http://watirmelon.com/2012/12/19/using-webdriver-to-automatically-check-for-javascript-errors-on-every-page/ On Thursday, February 19, 2015 at 5:17:30 PM UTC-8, Ping-0t wrote: > > Good Day! > > > Hi guys, I am really confuse about my task. It is by getting the line > number of the error from the web application we are testing not from the > script we are using to test the web application. I am just wondering if is > it possible to happen using watir? > > Any help is greatly appreciated. Thanks in advance :) > > > Best regards, > > Ping > -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. [email protected] http://groups.google.com/group/watir-general [email protected] --- You received this message because you are subscribed to the Google Groups "Watir General" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
