SeleniumWebdriver - Page objects Implementation - Part 2
SeleniumWebdriver - Page objects Implementation - Part 1
After numerous requests, today I have got time to remove the unnecessary and confidential code and upload the entire project.
This framework is built by integrating Selenium2 + TestNG + ANT + VB Script.
It has taken lot of time to develop this framework, as Selenium is open-source I would like to dedicate this framework to the open-source community. Thanks a lot to Selenium Team for developing awesome tool.
Download Link (Extract the files into a folder, Elclipse can't extract the files)
1. Create new project "MercuryTours" in eclipse, download the rar file and extract directly into new MercuryTours folder of your corresponding work space.
2. Add the Selenium libraries using configure build path and refresh the project. If there are no error, every thing went fine, attaching the screen shot below.
How to setup Selenium?
3. If you have ANT setup, you can directly run the entire project by selecting the "run", attaching the screen shot below OR you can run the test directly in the eclipse by selecting any class or method and hit play.
4. Test results will be automatically stored the following location "C:\Selenium2_Results\MercuryTours" with time stamp. It will automatically send email notifications, update the details in the "SendEmail.vbs".
I hope above framework will be used for those people who are planning to implement keyword driven framework using page objects.
There are lot of things to explain in this framework, I would suggest to go through the part1 and explore the code.
Good Luck!
SeleniumWebdriver - Page objects Implementation - Part 1
After numerous requests, today I have got time to remove the unnecessary and confidential code and upload the entire project.
This framework is built by integrating Selenium2 + TestNG + ANT + VB Script.
It has taken lot of time to develop this framework, as Selenium is open-source I would like to dedicate this framework to the open-source community. Thanks a lot to Selenium Team for developing awesome tool.
Download Link (Extract the files into a folder, Elclipse can't extract the files)
1. Create new project "MercuryTours" in eclipse, download the rar file and extract directly into new MercuryTours folder of your corresponding work space.
2. Add the Selenium libraries using configure build path and refresh the project. If there are no error, every thing went fine, attaching the screen shot below.
How to setup Selenium?
3. If you have ANT setup, you can directly run the entire project by selecting the "run", attaching the screen shot below OR you can run the test directly in the eclipse by selecting any class or method and hit play.
4. Test results will be automatically stored the following location "C:\Selenium2_Results\MercuryTours" with time stamp. It will automatically send email notifications, update the details in the "SendEmail.vbs".
I hope above framework will be used for those people who are planning to implement keyword driven framework using page objects.
There are lot of things to explain in this framework, I would suggest to go through the part1 and explore the code.
Good Luck!
HI,
ReplyDeleteThis is very nice article on SeleniumWebdriver - Page objects model.
Please post some more articles on this.
Thank you very much.
Thanks a lot..
ReplyDeleteHi
ReplyDeleteplease provide me sample of TestNg framework . how to design Testng Hybrid famework