I would also be interested in a solution to this. Especially if it were more elegant to Jarmo's solution. I'd really like to be able to pull the text of the javascript error so i could post it to a log. Any one?
Bret Jarmo Pertman wrote: > Hello. > > We used AutoIt for opening the javascript error message window, then > make a screenshot of the error message itself and close the window, > not that IE js error messages would be useful on most of the times. > This is a little dirty hack, but it works for us sort of. > > Jarmo > > On Oct 9, 6:15 am, dt_nz <david.tay...@sungard.com> wrote: > >> Hi >> I was hoping someone could point me in the right direction to get some >> help capturing java script errors. We have a rather large number of >> tests that are executed during our regression run, and there can be a >> significant amount of page reloads etc that sometimes cause java >> script errors. In the past we have simply turned java scripts off >> from popping up so our tests continue without stopping, and relied on >> manual testing to pick the errors up. >> >> Any help would be appreciated >> > > > -- Bret Pettichord Lead Developer, Watir, www.watir.com Blog, www.io.com/~wazmo/blog Twitter, www.twitter.com/bpettichord --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~----------~----~----~----~------~----~------~--~---