Spyke

Posts

software_testing·Software TestingbyLemmyStartNow

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.

View original on programming.dev

Error message when attempting to run Selenium using Firefox

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

https://pastebin.com/TC718eKiOpen linkView original on programming.dev
nostupidquestions·No Stupid QuestionsbyLemmyStartNow

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?

View original on programming.dev

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.

View original on programming.dev

You reached the end