Java Essentials for a good Selenium Test automation developer ?
How Much Java you need to learn for a good Selenium Scripting ?
As far as Selenium is concerned we have our SeleniumHQ Site with frequently updated documentation we can go through that to get the selenium concepts much strong also there are many blogs on selenium wherein you can get to learn from the basics even this blog is one among that, when considering the Language based client drivers if you use Java then here are some Java topics that you need to know for a better understanding and good selenium scripting.
-
OOP’s concept – Class, Objects Polymorphism, Inheritance and Encapsulation
-
Java Programming essentials- Object Instances, method overloading/overriding concepts and packages
-
Control Statements – While, do-While, Switch, If statements – This will help us in writing the scripts for a multiple scenario statements and decision making scenarios.
-
Looping statements – This will help us in scenarios like, iterating through a large table to find a record that you want and Running the same test for multiple number of times.
-
Arrays Concepts – This will help us in having some set of datas of same type in a static way.
-
Threads and MultiThreading Concepts – This will help us in making run our scripts in different threads that will help us in achieving better performance.
-
Java Collections Framework – ArrayLists and HashMaps – This will help us in maitaining a collection of data’s. Particularly useful for scenarios where you need to compare the data from Web app UI with the DB. [OR] From UI to another UI
-
File Streams – This will be helpful in externalization of data through CSV, Excel or Java Properties file.
The above mentioned topics in java is will make you a pretty good selenium coder :). I will try to cover all these concepts with some real time examples. Until then please go through the Java conepts, there are many java tutorials and I find this to be a good one <a href="http://www.java-made-easy.com/java-collections.html"
Dont forget – “Head First java” is a Wonderful book to learn Java with a fun.
Your style is unique compared to other folks I have read stuff from. I appreciate you for posting when you’ve got the opportunity, Guess I will just book mark this site.
Thanks Leslie.
Thanks for sharing information with , I will return every month to read more.
Why not daily 🙂
This sounds really helpful… very precise and interesting… pls go ahead and add more!
Thanks!
Thanks Geeta. Do follow the blog regularly for more updates.
Thanks for sharing information with , I will return every month to read more.
I liked ur blog very much .can yopu please explain syntax for selenium webdriver using hash maps? like how do you locate username and password on the page?
Thanks Priya.
Please like the Facebook page http://facebook.com/AssertSelenium – I ask for suggestions for next topics that needs to be written.
Based on the reader’s request I will blog them. So you can also post them there.
Very nice blog! Keep up the good work!
Wonderful, what a webpage it is! This blog presents valuable facts to us, keep it up.|
I simply want to say I am just new to blogging and site-building and certainly loved your web site. More than likely I’m going to bookmark your blog . You really come with terrific well written articles. Appreciate it for sharing with us your blog site.
I am comparatively new to selenium and played a little with selenium IDE, and trying to do with selenium rc. I am baffled to use the scripting language there. Can you tell me what is the most used language in selenium across industries? And also I came across this course http://www.wiziq.com/course/12451-selenium-automated-web-browser-testing-for-web-applications os selenium automated web browser testing is this good? If someone does in Java and he joins a company where everyone does in ruby, then it’ll be a pain to learn ruby again. And also it would be great if you address any comparison about the available languages like (perl, python, ruby, java etc.) or tell me any other guidance would really appreciate help and also i would like to thank for all the information you are providing.
Hi Sumit,
First of all Thanks for trying out selenium being new and welcome to Selenium community.
I would tell Selenium + Java is the most used combination across companies and even, release of selenium happens often only for Java bindings the more.
(Pls be clear I say the most active binding is java than any other like .net or python).
I cannot comment on the link that you provided like whether it is worth it or not.
Please email me at manojk@assertselenium.com for training discussions.
hi Manoj ,
Thanks for your Effort to teach Selenium …
Could you please tell me what is the real time environment for selenium and how the
selenium testing process starts in company’s….
Thanks in Advance…
Thanks for this wonderful blog.
Arindam from venturehire
can u pls tell me which site is better for selenium. Now i am new in selenium.pls guide me.