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

0 like 0 dislike
428 views
by The go-to Tester (324 points)
closed by
Sir, Please Mention why to choose Python over Java in Selenium?

1 Answer

0 like 0 dislike
by The go-to Tester (181 points)
There are two prospectives here,
  • Maintenance
  • Business
Scripting language makes implementation of OOP concepts little difficult. So, the main part, Object Repository will be difficult to implement and maintain using scripting language. But in case of OOP language like Java, you can easily implement POM (Page Object Model) and reuse your elements. It will make scripting breeze.
 
From business prospective, Selenium-Java is older than Selenium-Python. So, getting developers for Selenium-Java will be much easier and cost effective. So, business people encourage usage of Java. Hence making it more flavor day by day.
 
Hope my answer helped!

 


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

...