I have recently started learning selenium and Java. I need your assistance as to how should i go about it.
Thanks
I have recently started learning selenium and Java. I need your assistance as to how should i go about it.
Thanks
Welcome to SQA. This is a broad question as there is no particular start point- where you can start as a learner in here. However, I would like to give you few tips .
As you have not mentioned whether you have a prior knowledge of Java or not, so I am basing my assumption that you're a newbie.
Step 1 : Clear your Java basics. Start from the bottom and work your way up. Since Selenium doesn't requires a whole lot of complex Java code (until absolutely necessary, you should be good to go once you have a good, firm knowledge of Core Java basics.
Get a good book and practice more to have a good code flow. You can roughly follow this pattern :
This should be enough for you to start with.
Step 2 : Learning Selenium should be easy once you have gone through Java. But, remember that it is not always about coding only.
Start with basics- like setting up the Webdriver (many people fail here and this is the most tricky part).
Once you're done, start with learning the basic operations (opening a web page, running your test across different browsers- one at a time, filling forms etc.). Learn how the code works, how the web elements are recognized and interacted with.
Then work your way up to using waits, handling JS alert boxes and such. Gradually try implementing your knowledge in your daily work and it will help you learn more.
Then you can dive into stuff like handling multiple windows, tabs, modal windows, iframes, keyboard events, mouse hover over.
I would suggest you have a good book by your side to clear you concepts, and there are a lot of tutorials on the web, which will help you out. In case of any issues you face with, there are people over here that will always help you out (#SoReadyToHelp). Feel free to ask a question if you're stuck somewhere.
My recommendation :
Online tutorials : ToolSQA has one of the detailed and best step by step tutorials. Guru99 is another one. This is a good book to start you with.
Welcome to selenium group. Make sure you are strong in OOPS concepts and core Java. Selenium gives you power to automate web applications and soon you're going to get that power. At early stage only start automating your day to day browsing activities like opening and logging into your social websites, sending mail to a friend etc. Not to worry it is an easy tool to learn.