Created
November 22, 2021 21:19
-
-
Save dannyshain/a6f57aee48203f77b7db8e6add7dade2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*** Settings *** | |
Library SeleniumLibrary | |
Library EyesLibrary | |
*** Variables *** | |
${useCheckWindow}= ${True} | |
*** Test Cases *** | |
Compare Eyes Check Window versus Eyes Check | |
Open Browser https://applitools.github.io/demo Chrome | |
Eyes Open | |
IF ${useCheckWindow} | |
Log To Console \n.. using `Eyes Check Window` | |
Eyes Check Window Login - Check Window Fully | |
ELSE | |
Log To Console \n.. using `Eyes Check .. Target` | |
# An equivalent visual check using the generic target | |
Eyes Check Target Window Fully With Name Login - Check Target | |
END | |
Eyes Close Async | |
Close All Browsers |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment