Ashish — Jun 26, 2018 12:51AM UTC
Hi, I am using applitool for the first time. We have TESTNG framework using Selenium and Java. and I want to incorporate applitool with this framework. While my scripting I found when I am using eyes.open function it doesn't have first argument as Browser so I can't put driver instance there i.e. eyes.open ( driver, "Application name" "test Name");
Instead its showing me eyes.open ( "application name", "testname" ) arguments.
Due to this I am not able to use this function properly in my script. I have downloaded 2_51 eyes SDK library . Is this something to do with library files or anything else I am missing in my framework to be compatible for this tool?
1 Community Answers
Liran Barokas - Jun 26, 2018 at 04:35PM UTC
Thanks for reaching out.
Can you please make sure you are using the eyes.selenium.java3 package and not the eyes.images.java3 package.
The Selenium SDK is used to captured images through the browser/mobile device and upload the for comparison and therefor the eyes.open use the webDriver.
The images SDK on the other hand is used to upload images (locally or remotely stored) from any source for comparison and therefore the eyes.open method doesn’t require the WebDriver.