Checkout our demo site to practice selenium https://magento.softwaretestingboard.com/

1 like 0 dislike
435 views
by The go-to Tester (391 points)
retagged by
How may I develope a modular test automation framework in Selenium Webdriver with Java / Python?

1 Answer

0 like 0 dislike
by The go-to Tester (181 points)

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.

 


This site is for software testing professionals, where you can ask all your questions and get answers from 1300+ masters of the profession. Click here to submit yours now!

1.4k questions

1.6k answers

866 comments

1.9k users

...