Java/ JS/ Python for Selenium WebDriver - Which language to choose?
Hello, I've posted this question previously but thought I might post here for a more accurate community. Apologies in advanced.
Manual QA here want to start learning Test Automation. Coming from a non-tech background will make it a bit of a challenge but I’m looking to “test” myself.
Out of the three languages (Java, JS, Py), which should I focus on learning to get the best knowledge to apply when eventually using Selenium WebDriver?
I would like to comprehend all three later on in the future but for now which is the best to start off or continue with. Many have mentioned Python is beginner-friendly approach to learning programming and less stressful, but I see a lot of tutorials for Selenium webdriver being taught using Java, Also I heard JS is being implemented a lot more and more nowadays.
Is there more to the process? I downloaded firefox from both the webpage and through CLI and have them both moved to the ~/.local/bin directory(PATH) but still the error message appears to fail the test
I actually am highly interested in jumping on the Playwright bandwagon; been hearing about it for a while and am looking to get into it soon. I just want to take the humble route of learning the more common tool first since it is still widely recognized as one of the basic requirement for test automation positions. Plus I want to comprehend the challenges at the beginning of the journey to eventually have an easier time working with the simpler tools later on.
Thank you for responding. I tried creating a symlink, but, unfortunately, still face the same error.
Firefox browser is the default browser that came with the ubuntu os. Been updating the version using snap though. A lot of the beginner material is suggesting to use chromedriver, I will eventually learn through that route, I'm just a bit stubborn when it comes to using the "not-so private" browser. Thanks for your response.
Error message when attempting to run Selenium using Firefox
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Beginner learning Selenium WebDriver and here is my first attempt (in the pastebin link): https://pastebin.com/TC718eKi
OS: Ubuntu 23.04
IDE: intelliJ
Browser: FireFox
Dependencies: Selenium-Java (4.10.0)/ Selenium-API (4.10.0)/ TestNG (7.8.0)/ webdrivermanager (5.4.0)
But test failed with the following Error Message:
org.openqa.selenium.SessionNotCreatedException: Could not start a new session. Response code 500. Message: Expected browser binary location, but unable to find binary in default location, no 'moz:firefoxOptions.binary' capability provided, and no binary flag set on the command line
I did assumed it might have had something to do with the memory, as it commonly would. Though I have no issue running multiple OS(s) through VM on virtualbox - my gripe there is the performance/delay; however, because I heard it was possible to run Boxes and virtualbox simultaneously I assumed there was a workaround. Thank you for your response.
How to use multiple VMs at the same time?
I am looking to use two VM application at the same time, but haven't figure out how. Hoping to use ubuntu on Boxes (the performance seems smooth and no delays) while also using a windows VM on virtualbox. Error message mentions running through the issue of needing to disable the KVM kernel. Could I get some insight as to how to work around this obstacle, in layman's term?
I don't want to discourage anyone from trying it, but from the looks of it, there aren't much resources for help if you get stuck. Compared to C, which is another low-level language, there is a community and (free) courses (like Harvard's CS50) to help out with it being the first programming language to start your journey.
Side note, I also believe there's some taking advantage of from the use of the term 'odin' since it might sound familiar to "The Odin Project"; which is a free self-paced programming program structured to help complete beginners learn the basics towards landing your first webdev position.
Lemmy try
Thanks for the response.
I am leaning towards Java mainly because I want to have a "humble" approach to coding and then programming, where the challenges of a verbose practice or structure at the start gives a bit of leeway to comprehending future languages, in this case the simplicity of Python; which I very much hope to learn in the not so distance future.
Java or JS or Python for Selenium WebDriver
Manual QA here want to start learning Test Automation. Coming from a non-tech background will make it a bit of a challenge but I'm looking to "test" myself.
Out of the three languages (Java, JS, Py), which should I focus on learning to get the best knowledge to apply when eventually using Selenium WebDriver?
I would like to comprehend all three later on in the future but for now which is the best to start off or continue with. Many have mentioned Python is beginner-friendly approach to learning programming and less stressful, but I see a lot of tutorials for Selenium webdriver being taught using Java, Also I heard JS is being implemented a lot more and more nowadays.
As a manual QA, is writing unit tests a good way to build on coding skills?
Quality Assurance (QA) Resources
Looking for a place or resource to expand my knowledge on the world of software QA or Testing. Originally browsed the "subreaded" but since moving/migrating away from the previous medium, wondering where else I should look?
Also just found out the ISTQB CTFL syllabus had just been updated to the 4.0v