π Testing for Good enables great test automation engineering while shaping a more equitable society. π©βπ»
Today, we're asking for donations for Environmental Working Group
We're advocates who won't quit. We're scientists that find solutions. We're people trying to make the safest choices for our health. At the Environmental Working Group, we believe that you should have easy access to the information you need to make smart, healthy choices. Itβs this belief that inspired our president and co-founder, Ken Cook, to create EWG.
Since 1993, we've worked tirelessly to protect public health. Whether it's spotlighting harmful industry standards, speaking out against outdated government legislation or empowering consumers with breakthrough education and research, we're in this fight.
And we're not going anywhere.
π While the event is free, Sauce Labs encourages all attendees to
π donate
Anything helps!
100% of donations go to support the cause
In this automation best practices workshop you will learn the latest and greatest tools and techniques to drastically improve your testing!
We will focus on a holistic approach of risk mitigation by doing:
- Functional web testing
- Create a framework for doing comprehensive web testing
- Use industry-standard best practices
- Create functional browser tests using Selenium
- Many other things in between
- Accessibility testing
- Run in massive parallel (100s of tests in < 5 min)
- Automatically get robust test reports which includes logs + videos
- Introduction to workshop
- Setup
- E2E browser tests
- Atomic tests
- Parallelization
- Conclusions
This is NOT a beginners course. You will not learn Java testing fundamentals here. However, you will learn a number of amazing skills, techniques, and tools to help you test web applications
- At least 1 year of Java programming
- Deep understanding of Selenium WebDriver
- Deep understanding of OOP
- Java 8 installed
- Java IDE installed
- Git
- Maven installed
- Free Sauce account
- π’ Solution Architect at Sauce Labs
- π Pronouns: he/him
- π Home automation enthusiast
- π’ DevOps Engineer at Sauce Labs
- π Pronouns: he/him
- π Loves basketball
- Sauce Labs Username and Access Key can be found here: Sauce Labs user settings page
you can also install the Gitpod browser extension (Chrome or Firefox) for use with future projects.
βΉοΈ Gitpod lets you run an entire Dev environment from a browser! You can use this approach if you don't know how to set up a local Java environment.
- Once the Gitpod.io URL is loaded, you will need to sign in with the GitHub account you created earlier
- Once the development environment is loaded, you should see 'Ready to test!' in the Terminal window in the lower
portion of the window, run the following commands in that Terminal to set your
SAUCE_USERNAME
andSAUCE_ACCESS_KEY
:
βΉοΈ You can get your Sauce Labs Username and Access Key by going to the Sauce Labs user settings page
eval $(gp env -e SAUCE_USERNAME=<sauce_username>)
eval $(gp env -e SAUCE_ACCESS_KEY=<sauce_access_key>)
Replace <sauce_username> and <sauce_access_key> with your credentials
Once you have run those 2 commands, you can run the following commands to test your environment variables:
echo $SAUCE_USERNAME
echo $SAUCE_ACCESS_KEY
Run sanity tests
mvn test -Dtest=E2ETests -X
By default, the data center selected for our exercises is US_WEST
. If you would like to switch to another data
center (i.e. EU_CENTRAL
), please update the E2ETests with the appropriate data center.
Stay to the end and 2 lucky people can win a snazzy Backpack!
Let start by taking a look at our testing strategy and do a few exercises β‘οΈ
π‘ this is a tip
ποΈβ this is an exercise for you to do
β this is a question for us to think and talk about. Try not to scroll beyond this question before we discuss