power_settings_new
How may I develope a modular test automation framework in Selenium Webdriver with Java / Python?

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.

1 Answer

by (171 points)
0 votes

For Java we have plunty of framework. One of the framework I have developed, you can use. Its free and open source.

Here is the github link

https://github.com/selenium-webdriver-software-testing/kspl-selenium-helper

This library is intended to make job of selenium webdriver user easy. This can be used for

  • Reporting
  • Cross browser testing
  • TestNG parallel execution
  • Data Driven Testing
  • Easy integration with Jenkins
  • HTML report / Excel reporting
  • Reading data from Excel file or CSV file TestNG

To add library to maven, you can simply use.

<dependency>
    <groupId>in.mayurshah</groupId>
    <artifactId>selenium-helper</artifactId>
    <version>1.0.0</version>
</dependency>
 
in your maven dependency tree.
 
For gradle and others, you can get code from here.
 
For python, I do not have any reference, I am working on developing framework for python. I will let you know once its ready.
 
Hope that helps.

 

add
...