Hi All,

I have been working on a web application test automation project. As per 
the project requirement I need a method to be executed before beginning of 
my set test-case methods and another method to be executed at the end of 
all the test-case method. You can consider those to methods to be as setup 
and teardown. Where in the setup method I will create instance of my 
browser and go to the link of the application to be tested. And in the 
teardiwn method , after execution of all my test cases I will simply close 
any file if opened and close the instance of the browser. 
I read about add_setup_hook and add_teardown_hook of MiniTest class but the 
first thing is that I m using Watir::TestCase class and the other issue is 
I couldn't understand how to use those two methods even with MiniTest.

Please provide me with some valuable references and ideas to achieve the 
design.

Thanks & Regards

*Manav Kumar Gupta*
Bengaluru.

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com

Reply via email to