Transcripted Summary
To execute automation against multiple environments, you can add the API Key to a properties file within your automation framework.
  1. Open your your properties file (e.g. test.properties). If you do not already have one, you can use the one provided in the Github link in the Resources section below.
  2. Add a variable to hold the API key (e.g. applitools.api.key).
  3. Paste the API Key as the value for this variable.

################
#  MY APP      #
################
site.bookstore.url=file:///Users/angie/workspace/test_automation_u/visual_validation_course/website/index.html

################
#  SELENIUM    #
################
webdriver.chrome.driver=resources/chromedriver


################
#  APPLITOOLS  #
################
applitools.api.key={enter your API code here}



Resources



Quiz:

Note: Chapter 2 has been divided into multiple sub-chapters. You'll find the Quiz on the last sub-chapter, i.e. Chapter 2.4. Read on!

© 2024 Applitools. All rights reserved. Terms and Conditions Privacy Policy GDPR