Do you have questions ? We got the answers!

Ask a question:

Which language for Automation, Java or Python, Ruby

Open 3 Answers 62 Views
I am working with Automation project with Python. And  i feel that Python is light-weight, readable and easy to code and debug. But many automation projects still use Java to write automation script.

I think the scripting language should be used, not a heavy and complicated one as Java. It should be used to build software, not need for testing.

Please share your real experience!
commented Nov 29, 2016 by MinMin (228 points)
It is clear now. Thank you @Onkar_Nimje and @Mayur

3 Answers

I dont know Python. So for me Python is difficult. As you stated Java is complicated. But i know Java only and uisng this core java  i can automate any dynamic script easily.

So my thought is, you can use any language which you know very well because if you know langauage in deep then you can make any quality script easily and with less time.
answered Nov 28, 2016 by Onkar_Nimje (267 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!
answered Nov 28, 2016 by stbadmin (4,970 points)
I've heard about Python and Robotframework is a good combination. I just did not have enough time to look into it yet.

Most examplecode you can find on the internet seems to be Java, but is harder to understand for a non-programmer.

I'm using Ruby with a gem called "lapis_lazuli". Ruby itself is readable quiet well. Also for less development minded people like me. The gem just makes it super easy to create a demo project with enough examples to get started (I found the installation and getting started manual on

Personally I have been using this Ruby + LL for just a year now and I like it a lot. I can use it with selenium-grid (but also browserstack) which is really usefull in my case.
answered May 12 by Mark Duivesteijn

Top Contributors

  • 4970 pointsstbadmin

    34 questions 454 answers218 comments

  • 433 pointsSunilBhaskar

    41 questions 15 answers32 comments

  • 425 pointsMehedi

    36 questions 3 answers14 comments

  • 363 pointssumitkumarwatts

    0 questions 13 answers0 comments

  • 354 pointsSoft Tester

    43 questions 0 answers4 comments

  • 327 pointsKeeshaGolden

    0 questions 17 answers2 comments

  • 322 pointsVipul Sharma

    44 questions 0 answers24 comments

  • 310 pointsvysh.sharma

    25 questions 0 answers0 comments

  • 267 pointsOnkar_Nimje

    33 questions 15 answers15 comments

  • 258 pointsVanitha

    26 questions 0 answers6 comments