2

I am automating a web application testing using Selenium Webdriver(Java with JUnit) and I am quite familiar with Data Driven Testing. Now I want to build a Data Driven framework and I don't have any resources to start with.

Does anybody have idea how I could start with building framework and what are all the initial setup I need to make.?

Any suggestions would be appreciated. !!

chivas_hvn
  • 361
  • 3
  • 10
  • 24
  • What is your Data Driven Model?? Using Excel?? – some_other_guy Aug 17 '12 at 05:53
  • By the way I googled data driven testing with Selenium and found some really helpful blogs. May be you should have a look. – some_other_guy Aug 17 '12 at 05:54
  • As mentioned in question I know Data Driven Testing (using Excel), but I wanted to know about creating Data Driven Framework using Selenium. Even googling wasn't much helpful. I just wanted to know what are the initial setup needed. – chivas_hvn Aug 17 '12 at 11:34
  • Well If you are aware of DDT, you wont find Selenium to be any different. It's basically depends on your logic. You just need an Excel handler and rest is Selenium/JUnit coding. I will suggest to create APIs for the most used functions and you are ready to go. – some_other_guy Aug 17 '12 at 11:59
  • Many Thanks !! I'm already using Selenium/JUnit with Excel handler for DDT but I wasn't aware of creating API's. It would be very helpful, if you know, if you recommend any websites/books to follow to start building API's for most used functions. Thanks again. – chivas_hvn Aug 17 '12 at 17:34

2 Answers2

0

Get start google with TestNG or JUnit then PageFactory and PageObject

Arun
  • 851
  • 1
  • 9
  • 19
0

You need to create Excel utility for Read and Write data in Excel sheet, Going forward you can manage it through Selenium.

Reference Link:

https://www.guru99.com/data-driven-testing.html

https://www.softwaretestinghelp.com/data-driven-framework-selenium-apache-poi/

http://toolsqa.com/selenium-webdriver/data-driven-testing-excel-poi/

Ishita Shah
  • 3,955
  • 2
  • 27
  • 51