- praneeth
- Posts : 1
Join date : 2012-07-31
login class setup
Tue Jul 31, 2012 8:20 pm
Hi
I have a lot of test cases to run in selenium webdriver through Junit. For every test case I need to login to the site and write the login steps like enter username and password. Is there any way I can write the login steps once and create a separate class and call it before every class instead of writing them again and again?
Thanks
Praneeth
I have a lot of test cases to run in selenium webdriver through Junit. For every test case I need to login to the site and write the login steps like enter username and password. Is there any way I can write the login steps once and create a separate class and call it before every class instead of writing them again and again?
Thanks
Praneeth
- mattA
- Posts : 8
Join date : 2012-08-07
Re: login class setup
Tue Aug 07, 2012 11:09 pm
write it the setup tag
Permissions in this forum:
You cannot reply to topics in this forum