Hi,

I want to take screen shots of the web pages twice by using following
method.

screen_capture("somename.jpg",true)

For first image it works fine. Then I clicked on Submit button for which
there is one javascript validation kept. So as soon as I click on Submit
button that alert error window appears.

And I want to take the screenshot of this page with error window.

But its not opening the paint application to save the image unless I
manually click on OK button & close the error window.

So please help me as to how can we take the screen shot of the web page
having javascript error on it.

Thanks & Regards
Durgesh.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to