Open HoldenRiot opened 6 years ago
Thank you for your attention.
In your .bash_profile, you have a line like this:
APPLITOOLS_API_KEY=keyHere
Here the varialbe APPLITOOLS_API_KEY is just a shell variable. JVM's System.getenv() call can not refer to shell veriables.
Rather you should write as the following:
export APPLITOOLS_API_KEY=keyHere
With calling the export command, the variable APPLITOOLS_API_KEY becomes a Environment Variable recognized by OS.
Hey @kazurayam , thank you for the response and sorry about the delay!
So in rechecking my .bash_profile
it looks like the following:
Does the line export APPLITOOLS_API_KEY=yourKeyHere
need to go into each test?
Your ~/.bash_profile has export APPLITOOLS_API_KEY=xxxx
. That's enough.
In the test case "test01" we have the following code:
Eyes eyes = new Eyes(serverURL)
String apiKey = System.getenv("APPLITOOLS_API_KEY")
eyes.setApiKey(apiKey)
Here System.getenv("APPLITOOLS_API_KEY")
would successfully refer to the value you put in your .bash_profile.
Your test cases need to have System.getenv("APPLITOOLS_API_KEY")
in order to refer to the configured value as above.
Hey @kazurayam , so I seem to be getting the same failure when running your test01
Test Case. Just attempting to get a passing test to work off of. 👍 Just double checked my Applitools Eyes API key and it should be correct.
Console Error:
08-01-2018 08:55:15 AM - [ERROR] - Test Cases/test01 FAILED because (of) java.lang.IllegalArgumentException: apiKey is null
Log Error:
Test Cases/test01 FAILED because (of) java.lang.IllegalArgumentException: apiKey is null
Test Cases/test01.createEyes:65
Test Cases/test01.run:41
What the test01 script looks like:
import static com.kms.katalon.core.checkpoint.CheckpointFactory.findCheckpoint
import static com.kms.katalon.core.testcase.TestCaseFactory.findTestCase
import static com.kms.katalon.core.testdata.TestDataFactory.findTestData
import static com.kms.katalon.core.testobject.ObjectRepository.findTestObject
import com.kms.katalon.core.checkpoint.Checkpoint as Checkpoint
import com.kms.katalon.core.checkpoint.CheckpointFactory as CheckpointFactory
import com.kms.katalon.core.mobile.keyword.MobileBuiltInKeywords as MobileBuiltInKeywords
import com.kms.katalon.core.mobile.keyword.MobileBuiltInKeywords as Mobile
import com.kms.katalon.core.model.FailureHandling as FailureHandling
import com.kms.katalon.core.testcase.TestCase as TestCase
import com.kms.katalon.core.testcase.TestCaseFactory as TestCaseFactory
import com.kms.katalon.core.testdata.TestData as TestData
import com.kms.katalon.core.testdata.TestDataFactory as TestDataFactory
import com.kms.katalon.core.testobject.ObjectRepository as ObjectRepository
import com.kms.katalon.core.testobject.TestObject as TestObject
import com.kms.katalon.core.webservice.keyword.WSBuiltInKeywords as WSBuiltInKeywords
import com.kms.katalon.core.webservice.keyword.WSBuiltInKeywords as WS
import com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords as WebUiBuiltInKeywords
import com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords as WebUI
import internal.GlobalVariable as GlobalVariable
import com.applitools.eyes.RectangleSize as RectangleSize
import com.applitools.eyes.TestResults as TestResults
import com.applitools.eyes.selenium.Eyes as Eyes
import com.applitools.eyes.BatchInfo
import com.applitools.eyes.ProxySettings
import com.kms.katalon.core.webui.driver.DriverFactory as DF
import org.openqa.selenium.WebDriver as WebDriver
import com.kms.katalon.core.configuration.RunConfiguration as RunConfiguration
RectangleSize viewportSize = new RectangleSize(
GlobalVariable.viewportSizeLandscapeWidth,
GlobalVariable.viewportSizeLandscapeHeight)
WebUI.comment("now we open browser")
WebUI.openBrowser('')
// instanciate Eyes object based on the WebDriver object managed by Katalon Studio
WebDriver innerDriver = DF.getWebDriver()
Eyes eyes = createEyes()
eyes.open(innerDriver,
GlobalVariable.appName, GlobalVariable.testName, viewportSize)
WebUI.navigateToUrl('https://applitools.com/helloworld2')
eyes.checkWindow('Before enter name')
WebUI.setText(findTestObject('Page_Applitools/input_name'), 'My Name')
eyes.checkWindow('After enter name')
WebUI.click(findTestObject('Page_Applitools/button_Click me'))
eyes.checkWindow('After Click')
TestResults result = eyes.close(false)
WebUI.closeBrowser()
static private Eyes createEyes() {
URI serverURL
try {
serverURL = new URI(GlobalVariable.serverURLstr)
} catch (URISyntaxException e) {
println("URI Exception")
return
}
Eyes eyes = new Eyes(serverURL)
String apiKey = System.getenv("APPLITOOLS_API_KEY")
eyes.setApiKey(apiKey)
if (GlobalVariable.runAsBatch) {
BatchInfo batchInfo = new BatchInfo("Hello World 2 Batch")
eyes.setBatch(batchInfo)
}
// kazurayam needed to set PROXY to the Eyes
def pi = RunConfiguration.getProxyInformation()
if (pi.proxyOption == 'MANUAL_CONFIG' && pi.proxyServerType == 'HTTP' &&
pi.proxyServerAddress.length() > 0 && pi.proxyServerPort > 0) {
eyes.setProxy(new ProxySettings("http://${pi.proxyServerAddress}:${pi.proxyServerPort}"))
}
return eyes
}
static private void handleResult(TestResults result) {
String resultStr
String url
if (result == null) {
resultStr = "Test aborted"
url = "undefined"
} else {
url = result.getUrl()
int totalSteps = result.getSteps()
if (result.isNew()) {
resultStr = "New Baseline created: ${totalSteps} steps"
} else if (result.isPassed()) {
resultStr = "All steps passed: ${totalSteps} steps"
} else {
StringBuilder sb = new StringBuilder()
sb.append( "Test Failed : ${totalSteps} steps\n")
sb.append(" matches= ${result.getMatches()}\n")
sb.append(" missing= ${result.getMissing()}\n")
sb.append(" mismatches=${result.getMismatches()}\n")
resultStr = sb.toString()
}
resultStr += "\n" + "results at " + url
WebUI.comment(resultStr)
}
}
When debugging:
08-01-2018 09:09:27 AM - [START] - Start Test Case : Test Cases/test01
08-01-2018 09:09:27 AM - [INFO] - Evaluating variables for test case
08-01-2018 09:09:27 AM - [INFO] - Variable 'rectangleWidth' is set to 1024 as default
08-01-2018 09:09:27 AM - [INFO] - Variable 'rectangleHeight' is set to 768 as default
08-01-2018 09:09:27 AM - [START] - Start action : Statement - viewportSize = new com.applitools.eyes.RectangleSize(internal.GlobalVariable.viewportSizeLandscapeWidth, internal.GlobalVariable.viewportSizeLandscapeHeight)
08-01-2018 09:09:27 AM - [END] - End action : Statement - viewportSize = new com.applitools.eyes.RectangleSize(internal.GlobalVariable.viewportSizeLandscapeWidth, internal.GlobalVariable.viewportSizeLandscapeHeight)
08-01-2018 09:09:27 AM - [START] - Start action : comment
08-01-2018 09:09:28 AM - [INFO] - now we open browser
08-01-2018 09:09:28 AM - [END] - End action : comment
08-01-2018 09:09:28 AM - [START] - Start action : openBrowser
08-01-2018 09:09:28 AM - [INFO] - Opening browser
08-01-2018 09:09:28 AM - [INFO] - Starting 'Firefox' driver
08-01-2018 09:09:28 AM - [INFO] - Action delay is set to 0 seconds
1533128969338 geckodriver INFO geckodriver 0.19.0
1533128969345 geckodriver INFO Listening on 127.0.0.1:11034
1533128969649 mozrunner::runner INFO Running command: "/Applications/Firefox.app/Contents/MacOS/firefox-bin" "-marionette" "-profile" "/var/folders/5b/8c3461y91wlghvz0d8p7__xcnd1hch/T/rust_mozprofile.BTdAVzufBI5u"
1533128969809 addons.manager DEBUG Application has been upgraded
1533128969825 addons.manager DEBUG Loaded provider scope for resource://gre/modules/addons/XPIProvider.jsm: ["XPIProvider", "XPIInternal"]
1533128969828 addons.manager DEBUG Loaded provider scope for resource://gre/modules/LightweightThemeManager.jsm: ["LightweightThemeManager"]
1533128969845 addons.manager DEBUG Loaded provider scope for resource://gre/modules/addons/GMPProvider.jsm
1533128969848 addons.manager DEBUG Loaded provider scope for resource://gre/modules/addons/PluginProvider.jsm
1533128969848 addons.manager DEBUG Starting provider: XPIProvider
1533128969848 addons.xpi DEBUG startup
1533128969848 addons.xpi INFO SystemAddonInstallLocation directory is missing
1533128969857 addons.xpi INFO Removing all system add-on upgrades.
1533128969858 addons.xpi DEBUG checkForChanges
1533128969858 addons.xpi DEBUG Loaded add-on state: ${}
1533128969859 addons.xpi DEBUG New add-on activity-stream@mozilla.org in app-system-defaults
1533128969860 addons.xpi DEBUG New add-on aushelper@mozilla.org in app-system-defaults
1533128969861 addons.xpi DEBUG New add-on firefox@getpocket.com in app-system-defaults
1533128969861 addons.xpi DEBUG New add-on followonsearch@mozilla.com in app-system-defaults
1533128969862 addons.xpi DEBUG New add-on formautofill@mozilla.org in app-system-defaults
1533128969862 addons.xpi DEBUG New add-on onboarding@mozilla.org in app-system-defaults
1533128969862 addons.xpi DEBUG New add-on screenshots@mozilla.org in app-system-defaults
1533128969863 addons.xpi DEBUG New add-on webcompat-reporter@mozilla.org in app-system-defaults
1533128969863 addons.xpi DEBUG New add-on webcompat@mozilla.org in app-system-defaults
1533128969864 addons.xpi DEBUG getInstallState changed: true, state: {}
1533128969870 addons.xpi-utils DEBUG Opening XPI database /var/folders/5b/8c3461y91wlghvz0d8p7__xcnd1hch/T/rust_mozprofile.BTdAVzufBI5u/extensions.json
1533128969870 addons.xpi-utils DEBUG New add-on activity-stream@mozilla.org installed in app-system-defaults
*** Blocklist::_preloadBlocklistFile: blocklist is disabled
1533128969889 addons.xpi-utils DEBUG New add-on aushelper@mozilla.org installed in app-system-defaults
1533128969894 addons.xpi-utils DEBUG New add-on firefox@getpocket.com installed in app-system-defaults
1533128969898 addons.xpi-utils DEBUG New add-on followonsearch@mozilla.com installed in app-system-defaults
1533128969904 addons.xpi-utils DEBUG New add-on formautofill@mozilla.org installed in app-system-defaults
1533128969928 addons.xpi-utils DEBUG New add-on onboarding@mozilla.org installed in app-system-defaults
1533128969932 addons.xpi-utils DEBUG New add-on screenshots@mozilla.org installed in app-system-defaults
1533128969938 addons.xpi-utils DEBUG New add-on webcompat-reporter@mozilla.org installed in app-system-defaults
1533128969941 addons.xpi-utils DEBUG New add-on webcompat@mozilla.org installed in app-system-defaults
1533128970079 addons.manager DEBUG Registering startup change 'installed' for activity-stream@mozilla.org
1533128970085 addons.xpi DEBUG Loading bootstrap scope from /Applications/Firefox.app/Contents/Resources/browser/features/activity-stream@mozilla.org.xpi
1533128970087 addons.xpi DEBUG Calling bootstrap method install on activity-stream@mozilla.org version 2018.06.29.1026-fa231556
1533128970087 addons.xpi-utils DEBUG Make addon app-system-defaults:activity-stream@mozilla.org visible
1533128970087 addons.xpi DEBUG Updating XPIState for {"id":"activity-stream@mozilla.org","syncGUID":"{cadd9799-e7f1-2c4a-b3d1-d50c04b03e67}","location":"app-system-defaults","version":"2018.06.29.1026-fa231556","type":"extension","updateURL":null,"optionsURL":null,"optionsType":null,"aboutURL":null,"defaultLocale":{"name":"Activity Stream","description":"A rich visual history feed and a reimagined home page make it easier than ever to find exactly what you're looking for in Firefox.","creator":null,"homepageURL":null},"visible":true,"active":false,"userDisabled":false,"appDisabled":false,"installDate":1530906423252,"updateDate":1530906423252,"applyBackgroundUpdates":1,"bootstrap":true,"path":"/Applications/Firefox.app/Contents/Resources/browser/features/activity-stream@mozilla.org.xpi","skinnable":false,"size":2732467,"sourceURI":null,"releaseNotesURI":null,"softDisabled":false,"foreignInstall":false,"strictCompatibility":false,"locales":[],"targetApplications":[{"id":"{ec8030f7-c20a-464f-9b0e-13a3a9e97384}","minVersion":"61.0.1","maxVersion":"61.*"}],"targetPlatforms":[],"seen":true,"dependencies":[],"hasEmbeddedWebExtension":false,"userPermissions":null,"icons":{},"iconURL":null,"icon64URL":null,"blocklistState":0,"blocklistURL":null,"startupData":null}
1533128970088 addons.manager DEBUG Registering startup change 'installed' for aushelper@mozilla.org
1533128970088 addons.xpi DEBUG Loading bootstrap scope from /Applications/Firefox.app/Contents/Resources/browser/features/aushelper@mozilla.org.xpi
1533128970089 addons.xpi DEBUG Calling bootstrap method install on aushelper@mozilla.org version 2.0
1533128970089 addons.xpi-utils DEBUG Make addon app-system-defaults:aushelper@mozilla.org visible
1533128970089 addons.xpi DEBUG Updating XPIState for {"id":"aushelper@mozilla.org","syncGUID":"{b748b0ca-1023-cb42-97ae-84fc406afbd9}","location":"app-system-defaults","version":"2.0","type":"extension","updateURL":null,"optionsURL":null,"optionsType":null,"aboutURL":null,"defaultLocale":{"name":"Application Update Service Helper","description":"Sets value(s) in the update url based on custom checks.","creator":null,"homepageURL":null},"visible":true,"active":false,"userDisabled":false,"appDisabled":false,"installDate":1530906423236,"updateDate":1530906423236,"applyBackgroundUpdates":1,"bootstrap":true,"path":"/Applications/Firefox.app/Contents/Resources/browser/features/aushelper@mozilla.org.xpi","skinnable":false,"size":8425,"sourceURI":null,"releaseNotesURI":null,"softDisabled":false,"foreignInstall":false,"strictCompatibility":false,"locales":[],"targetApplications":[{"id":"{ec8030f7-c20a-464f-9b0e-13a3a9e97384}","minVersion":"61.0.1","maxVersion":"61.*"}],"targetPlatforms":[],"seen":true,"dependencies":[],"hasEmbeddedWebExtension":false,"userPermissions":null,"icons":{},"iconURL":null,"icon64URL":null,"blocklistState":0,"blocklistURL":null,"startupData":null}
1533128970090 addons.manager DEBUG Registering startup change 'installed' for firefox@getpocket.com
1533128970090 addons.xpi DEBUG Loading bootstrap scope from /Applications/Firefox.app/Contents/Resources/browser/features/firefox@getpocket.com.xpi
1533128970094 addons.xpi DEBUG Calling bootstrap method install on firefox@getpocket.com version 1.0.5
1533128970094 addons.xpi-utils DEBUG Make addon app-system-defaults:firefox@getpocket.com visible
1533128970094 addons.xpi DEBUG Updating XPIState for {"id":"firefox@getpocket.com","syncGUID":"{4c71243f-308e-7e49-b19e-a7c35cd752f6}","location":"app-system-defaults","version":"1.0.5","type":"extension","updateURL":null,"optionsURL":null,"optionsType":null,"aboutURL":null,"defaultLocale":{"name":"Pocket","description":"When you find something you want to view later, put it in Pocket.","creator":null,"homepageURL":null},"visible":true,"active":false,"userDisabled":false,"appDisabled":false,"installDate":1530906423235,"updateDate":1530906423235,"applyBackgroundUpdates":1,"bootstrap":true,"path":"/Applications/Firefox.app/Contents/Resources/browser/features/firefox@getpocket.com.xpi","skinnable":false,"size":855820,"sourceURI":null,"releaseNotesURI":null,"softDisabled":false,"foreignInstall":false,"strictCompatibility":false,"locales":[],"targetApplications":[{"id":"{ec8030f7-c20a-464f-9b0e-13a3a9e97384}","minVersion":"61.0.1","maxVersion":"61.*"}],"targetPlatforms":[],"seen":true,"dependencies":[],"hasEmbeddedWebExtension":false,"userPermissions":null,"icons":{},"iconURL":null,"icon64URL":null,"blocklistState":0,"blocklistURL":null,"startupData":null}
1533128970094 addons.manager DEBUG Registering startup change 'installed' for followonsearch@mozilla.com
1533128970095 addons.xpi DEBUG Loading bootstrap scope from /Applications/Firefox.app/Contents/Resources/browser/features/followonsearch@mozilla.com.xpi
1533128970096 addons.xpi DEBUG Calling bootstrap method install on followonsearch@mozilla.com version 0.9.7
1533128970096 addons.xpi-utils DEBUG Make addon app-system-defaults:followonsearch@mozilla.com visible
1533128970096 addons.xpi DEBUG Updating XPIState for {"id":"followonsearch@mozilla.com","syncGUID":"{cc377cad-0015-4e4c-bedb-104f699e339e}","location":"app-system-defaults","version":"0.9.7","type":"extension","updateURL":null,"optionsURL":null,"optionsType":null,"aboutURL":null,"defaultLocale":{"name":"Follow-on Search Telemetry","description":null,"creator":null,"homepageURL":null},"visible":true,"active":false,"userDisabled":false,"appDisabled":false,"installDate":1529588725000,"updateDate":1529588725000,"applyBackgroundUpdates":1,"bootstrap":true,"path":"/Applications/Firefox.app/Contents/Resources/browser/features/followonsearch@mozilla.com.xpi","skinnable":false,"size":17903,"sourceURI":null,"releaseNotesURI":null,"softDisabled":false,"foreignInstall":false,"strictCompatibility":false,"locales":[],"targetApplications":[{"id":"{ec8030f7-c20a-464f-9b0e-13a3a9e97384}","minVersion":"52.0","maxVersion":"66.*"}],"targetPlatforms":[],"seen":true,"dependencies":[],"hasEmbeddedWebExtension":false,"userPermissions":null,"icons":{},"iconURL":null,"icon64URL":null,"blocklistState":0,"blocklistURL":null,"startupData":null}
1533128970096 addons.manager DEBUG Registering startup change 'installed' for formautofill@mozilla.org
1533128970096 addons.xpi DEBUG Loading bootstrap scope from /Applications/Firefox.app/Contents/Resources/browser/features/formautofill@mozilla.org.xpi
1533128970097 addons.xpi DEBUG Calling bootstrap method install on formautofill@mozilla.org version 1.0
1533128970097 addons.xpi-utils DEBUG Make addon app-system-defaults:formautofill@mozilla.org visible
1533128970098 addons.xpi DEBUG Updating XPIState for {"id":"formautofill@mozilla.org","syncGUID":"{9ee3ab40-9877-e141-aeb3-2bfe71687d36}","location":"app-system-defaults","version":"1.0","type":"extension","updateURL":null,"optionsURL":null,"optionsType":null,"aboutURL":null,"defaultLocale":{"name":"Form Autofill","description":"Autofill forms with saved profiles","creator":null,"homepageURL":null},"visible":true,"active":false,"userDisabled":false,"appDisabled":false,"installDate":1530906423228,"updateDate":1530906423228,"applyBackgroundUpdates":1,"bootstrap":true,"path":"/Applications/Firefox.app/Contents/Resources/browser/features/formautofill@mozilla.org.xpi","skinnable":false,"size":465058,"sourceURI":null,"releaseNotesURI":null,"softDisabled":false,"foreignInstall":false,"strictCompatibility":false,"locales":[],"targetApplications":[{"id":"{ec8030f7-c20a-464f-9b0e-13a3a9e97384}","minVersion":"61.0.1","maxVersion":"61.*"}],"targetPlatforms":[],"seen":true,"dependencies":[],"hasEmbeddedWebExtension":false,"userPermissions":null,"icons":{},"iconURL":null,"icon64URL":null,"blocklistState":0,"blocklistURL":null,"startupData":null}
1533128970098 addons.manager DEBUG Registering startup change 'installed' for onboarding@mozilla.org
1533128970098 addons.xpi DEBUG Loading bootstrap scope from /Applications/Firefox.app/Contents/Resources/browser/features/onboarding@mozilla.org.xpi
1533128970100 addons.xpi DEBUG Calling bootstrap method install on onboarding@mozilla.org version 1.0
1533128970100 addons.xpi-utils DEBUG Make addon app-system-defaults:onboarding@mozilla.org visible
1533128970100 addons.xpi DEBUG Updating XPIState for {"id":"onboarding@mozilla.org","syncGUID":"{3ce4b635-f9da-0b47-847d-d3b6baa37e74}","location":"app-system-defaults","version":"1.0","type":"extension","updateURL":null,"optionsURL":null,"optionsType":null,"aboutURL":null,"defaultLocale":{"name":"Photon onboarding","description":"Photon onboarding","creator":null,"homepageURL":null},"visible":true,"active":false,"userDisabled":false,"appDisabled":false,"installDate":1530906423223,"updateDate":1530906423223,"applyBackgroundUpdates":1,"bootstrap":true,"path":"/Applications/Firefox.app/Contents/Resources/browser/features/onboarding@mozilla.org.xpi","skinnable":false,"size":564181,"sourceURI":null,"releaseNotesURI":null,"softDisabled":false,"foreignInstall":false,"strictCompatibility":false,"locales":[],"targetApplications":[{"id":"{ec8030f7-c20a-464f-9b0e-13a3a9e97384}","minVersion":"61.0.1","maxVersion":"61.*"}],"targetPlatforms":[],"seen":true,"dependencies":[],"hasEmbeddedWebExtension":false,"userPermissions":null,"icons":{},"iconURL":null,"icon64URL":null,"blocklistState":0,"blocklistURL":null,"startupData":null}
1533128970101 addons.manager DEBUG Registering startup change 'installed' for screenshots@mozilla.org
1533128970101 addons.xpi DEBUG Loading bootstrap scope from /Applications/Firefox.app/Contents/Resources/browser/features/screenshots@mozilla.org.xpi
1533128970102 addons.xpi DEBUG Calling bootstrap method install on screenshots@mozilla.org version 32.1.0
1533128970102 addons.xpi-utils DEBUG Make addon app-system-defaults:screenshots@mozilla.org visible
1533128970103 addons.xpi DEBUG Updating XPIState for {"id":"screenshots@mozilla.org","syncGUID":"{9459a0a3-8cde-884d-9c30-77fc8d6195f6}","location":"app-system-defaults","version":"32.1.0","type":"extension","updateURL":null,"optionsURL":null,"optionsType":null,"aboutURL":null,"defaultLocale":{"name":"Firefox Screenshots","description":null,"creator":null,"homepageURL":"https://screenshots.firefox.com/"},"visible":true,"active":false,"userDisabled":false,"appDisabled":false,"installDate":1529588725000,"updateDate":1529588725000,"applyBackgroundUpdates":1,"bootstrap":true,"path":"/Applications/Firefox.app/Contents/Resources/browser/features/screenshots@mozilla.org.xpi","skinnable":false,"size":1002421,"sourceURI":null,"releaseNotesURI":null,"softDisabled":false,"foreignInstall":false,"strictCompatibility":false,"locales":[],"targetApplications":[{"id":"{ec8030f7-c20a-464f-9b0e-13a3a9e97384}","minVersion":"57.0a1","maxVersion":"*"}],"targetPlatforms":[],"seen":true,"dependencies":[],"hasEmbeddedWebExtension":false,"userPermissions":null,"icons":{},"iconURL":null,"icon64URL":null,"blocklistState":0,"blocklistURL":null,"startupData":null}
1533128970103 addons.manager DEBUG Registering startup change 'installed' for webcompat-reporter@mozilla.org
1533128970103 addons.xpi DEBUG Loading bootstrap scope from /Applications/Firefox.app/Contents/Resources/browser/features/webcompat-reporter@mozilla.org.xpi
1533128970104 addons.xpi DEBUG Calling bootstrap method install on webcompat-reporter@mozilla.org version 1.0.0
1533128970104 addons.xpi-utils DEBUG Make addon app-system-defaults:webcompat-reporter@mozilla.org visible
1533128970104 addons.xpi DEBUG Updating XPIState for {"id":"webcompat-reporter@mozilla.org","syncGUID":"{fbe6ffda-62d0-f249-9355-e6f7dc8edc9b}","location":"app-system-defaults","version":"1.0.0","type":"extension","updateURL":null,"optionsURL":null,"optionsType":null,"aboutURL":null,"defaultLocale":{"name":"WebCompat Reporter","description":"Report site compatibility issues on webcompat.com.","creator":null,"homepageURL":null},"visible":true,"active":false,"userDisabled":false,"appDisabled":false,"installDate":1530906423218,"updateDate":1530906423218,"applyBackgroundUpdates":1,"bootstrap":true,"path":"/Applications/Firefox.app/Contents/Resources/browser/features/webcompat-reporter@mozilla.org.xpi","skinnable":false,"size":12711,"sourceURI":null,"releaseNotesURI":null,"softDisabled":false,"foreignInstall":false,"strictCompatibility":false,"locales":[],"targetApplications":[{"id":"{ec8030f7-c20a-464f-9b0e-13a3a9e97384}","minVersion":"61.0.1","maxVersion":"61.*"}],"targetPlatforms":[],"seen":true,"dependencies":[],"hasEmbeddedWebExtension":false,"userPermissions":null,"icons":{},"iconURL":null,"icon64URL":null,"blocklistState":0,"blocklistURL":null,"startupData":null}
1533128970105 addons.manager DEBUG Registering startup change 'installed' for webcompat@mozilla.org
1533128970105 addons.xpi DEBUG Loading bootstrap scope from /Applications/Firefox.app/Contents/Resources/browser/features/webcompat@mozilla.org.xpi
1533128970106 addons.xpi DEBUG Calling bootstrap method install on webcompat@mozilla.org version 2.0
1533128970106 addons.xpi-utils DEBUG Make addon app-system-defaults:webcompat@mozilla.org visible
1533128970106 addons.xpi DEBUG Updating XPIState for {"id":"webcompat@mozilla.org","syncGUID":"{7b52e8d7-0b50-5743-b9e2-f3594ca4764a}","location":"app-system-defaults","version":"2.0","type":"extension","updateURL":null,"optionsURL":null,"optionsType":null,"aboutURL":null,"defaultLocale":{"name":"Web Compat","description":"Urgent post-release fixes for web compatibility.","creator":null,"homepageURL":null},"visible":true,"active":false,"userDisabled":false,"appDisabled":false,"installDate":1530906423217,"updateDate":1530906423217,"applyBackgroundUpdates":1,"bootstrap":true,"path":"/Applications/Firefox.app/Contents/Resources/browser/features/webcompat@mozilla.org.xpi","skinnable":false,"size":13138,"sourceURI":null,"releaseNotesURI":null,"softDisabled":false,"foreignInstall":false,"strictCompatibility":false,"locales":[],"targetApplications":[{"id":"{ec8030f7-c20a-464f-9b0e-13a3a9e97384}","minVersion":"61.0.1","maxVersion":"61.*"},{"id":"{aa3c5121-dab2-40e2-81ca-7ea25febc110}","minVersion":"61.0.1","maxVersion":"61.*"}],"targetPlatforms":[],"seen":true,"dependencies":[],"hasEmbeddedWebExtension":true,"userPermissions":null,"icons":{},"iconURL":null,"icon64URL":null,"blocklistState":0,"blocklistURL":null,"startupData":null}
1533128970106 addons.xpi DEBUG Updating XPIState for {"id":"activity-stream@mozilla.org","syncGUID":"{cadd9799-e7f1-2c4a-b3d1-d50c04b03e67}","location":"app-system-defaults","version":"2018.06.29.1026-fa231556","type":"extension","updateURL":null,"optionsURL":null,"optionsType":null,"aboutURL":null,"defaultLocale":{"name":"Activity Stream","description":"A rich visual history feed and a reimagined home page make it easier than ever to find exactly what you're looking for in Firefox.","creator":null,"homepageURL":null},"visible":true,"active":true,"userDisabled":false,"appDisabled":false,"installDate":1530906423252,"updateDate":1530906423252,"applyBackgroundUpdates":1,"bootstrap":true,"path":"/Applications/Firefox.app/Contents/Resources/browser/features/activity-stream@mozilla.org.xpi","skinnable":false,"size":2732467,"sourceURI":null,"releaseNotesURI":null,"softDisabled":false,"foreignInstall":false,"strictCompatibility":false,"locales":[],"targetApplications":[{"id":"{ec8030f7-c20a-464f-9b0e-13a3a9e97384}","minVersion":"61.0.1","maxVersion":"61.*"}],"targetPlatforms":[],"seen":true,"dependencies":[],"hasEmbeddedWebExtension":false,"userPermissions":null,"icons":{},"iconURL":null,"icon64URL":null,"blocklistState":0,"blocklistURL":null,"startupData":null}
1533128970107 addons.xpi DEBUG Updating XPIState for {"id":"aushelper@mozilla.org","syncGUID":"{b748b0ca-1023-cb42-97ae-84fc406afbd9}","location":"app-system-defaults","version":"2.0","type":"extension","updateURL":null,"optionsURL":null,"optionsType":null,"aboutURL":null,"defaultLocale":{"name":"Application Update Service Helper","description":"Sets value(s) in the update url based on custom checks.","creator":null,"homepageURL":null},"visible":true,"active":true,"userDisabled":false,"appDisabled":false,"installDate":1530906423236,"updateDate":1530906423236,"applyBackgroundUpdates":1,"bootstrap":true,"path":"/Applications/Firefox.app/Contents/Resources/browser/features/aushelper@mozilla.org.xpi","skinnable":false,"size":8425,"sourceURI":null,"releaseNotesURI":null,"softDisabled":false,"foreignInstall":false,"strictCompatibility":false,"locales":[],"targetApplications":[{"id":"{ec8030f7-c20a-464f-9b0e-13a3a9e97384}","minVersion":"61.0.1","maxVersion":"61.*"}],"targetPlatforms":[],"seen":true,"dependencies":[],"hasEmbeddedWebExtension":false,"userPermissions":null,"icons":{},"iconURL":null,"icon64URL":null,"blocklistState":0,"blocklistURL":null,"startupData":null}
1533128970107 addons.xpi DEBUG Updating XPIState for {"id":"firefox@getpocket.com","syncGUID":"{4c71243f-308e-7e49-b19e-a7c35cd752f6}","location":"app-system-defaults","version":"1.0.5","type":"extension","updateURL":null,"optionsURL":null,"optionsType":null,"aboutURL":null,"defaultLocale":{"name":"Pocket","description":"When you find something you want to view later, put it in Pocket.","creator":null,"homepageURL":null},"visible":true,"active":true,"userDisabled":false,"appDisabled":false,"installDate":1530906423235,"updateDate":1530906423235,"applyBackgroundUpdates":1,"bootstrap":true,"path":"/Applications/Firefox.app/Contents/Resources/browser/features/firefox@getpocket.com.xpi","skinnable":false,"size":855820,"sourceURI":null,"releaseNotesURI":null,"softDisabled":false,"foreignInstall":false,"strictCompatibility":false,"locales":[],"targetApplications":[{"id":"{ec8030f7-c20a-464f-9b0e-13a3a9e97384}","minVersion":"61.0.1","maxVersion":"61.*"}],"targetPlatforms":[],"seen":true,"dependencies":[],"hasEmbeddedWebExtension":false,"userPermissions":null,"icons":{},"iconURL":null,"icon64URL":null,"blocklistState":0,"blocklistURL":null,"startupData":null}
1533128970107 addons.xpi DEBUG Updating XPIState for {"id":"followonsearch@mozilla.com","syncGUID":"{cc377cad-0015-4e4c-bedb-104f699e339e}","location":"app-system-defaults","version":"0.9.7","type":"extension","updateURL":null,"optionsURL":null,"optionsType":null,"aboutURL":null,"defaultLocale":{"name":"Follow-on Search Telemetry","description":null,"creator":null,"homepageURL":null},"visible":true,"active":true,"userDisabled":false,"appDisabled":false,"installDate":1529588725000,"updateDate":1529588725000,"applyBackgroundUpdates":1,"bootstrap":true,"path":"/Applications/Firefox.app/Contents/Resources/browser/features/followonsearch@mozilla.com.xpi","skinnable":false,"size":17903,"sourceURI":null,"releaseNotesURI":null,"softDisabled":false,"foreignInstall":false,"strictCompatibility":false,"locales":[],"targetApplications":[{"id":"{ec8030f7-c20a-464f-9b0e-13a3a9e97384}","minVersion":"52.0","maxVersion":"66.*"}],"targetPlatforms":[],"seen":true,"dependencies":[],"hasEmbeddedWebExtension":false,"userPermissions":null,"icons":{},"iconURL":null,"icon64URL":null,"blocklistState":0,"blocklistURL":null,"startupData":null}
1533128970107 addons.xpi DEBUG Updating XPIState for {"id":"formautofill@mozilla.org","syncGUID":"{9ee3ab40-9877-e141-aeb3-2bfe71687d36}","location":"app-system-defaults","version":"1.0","type":"extension","updateURL":null,"optionsURL":null,"optionsType":null,"aboutURL":null,"defaultLocale":{"name":"Form Autofill","description":"Autofill forms with saved profiles","creator":null,"homepageURL":null},"visible":true,"active":true,"userDisabled":false,"appDisabled":false,"installDate":1530906423228,"updateDate":1530906423228,"applyBackgroundUpdates":1,"bootstrap":true,"path":"/Applications/Firefox.app/Contents/Resources/browser/features/formautofill@mozilla.org.xpi","skinnable":false,"size":465058,"sourceURI":null,"releaseNotesURI":null,"softDisabled":false,"foreignInstall":false,"strictCompatibility":false,"locales":[],"targetApplications":[{"id":"{ec8030f7-c20a-464f-9b0e-13a3a9e97384}","minVersion":"61.0.1","maxVersion":"61.*"}],"targetPlatforms":[],"seen":true,"dependencies":[],"hasEmbeddedWebExtension":false,"userPermissions":null,"icons":{},"iconURL":null,"icon64URL":null,"blocklistState":0,"blocklistURL":null,"startupData":null}
1533128970107 addons.xpi DEBUG Updating XPIState for {"id":"onboarding@mozilla.org","syncGUID":"{3ce4b635-f9da-0b47-847d-d3b6baa37e74}","location":"app-system-defaults","version":"1.0","type":"extension","updateURL":null,"optionsURL":null,"optionsType":null,"aboutURL":null,"defaultLocale":{"name":"Photon onboarding","description":"Photon onboarding","creator":null,"homepageURL":null},"visible":true,"active":true,"userDisabled":false,"appDisabled":false,"installDate":1530906423223,"updateDate":1530906423223,"applyBackgroundUpdates":1,"bootstrap":true,"path":"/Applications/Firefox.app/Contents/Resources/browser/features/onboarding@mozilla.org.xpi","skinnable":false,"size":564181,"sourceURI":null,"releaseNotesURI":null,"softDisabled":false,"foreignInstall":false,"strictCompatibility":false,"locales":[],"targetApplications":[{"id":"{ec8030f7-c20a-464f-9b0e-13a3a9e97384}","minVersion":"61.0.1","maxVersion":"61.*"}],"targetPlatforms":[],"seen":true,"dependencies":[],"hasEmbeddedWebExtension":false,"userPermissions":null,"icons":{},"iconURL":null,"icon64URL":null,"blocklistState":0,"blocklistURL":null,"startupData":null}
1533128970107 addons.xpi DEBUG Updating XPIState for {"id":"screenshots@mozilla.org","syncGUID":"{9459a0a3-8cde-884d-9c30-77fc8d6195f6}","location":"app-system-defaults","version":"32.1.0","type":"extension","updateURL":null,"optionsURL":null,"optionsType":null,"aboutURL":null,"defaultLocale":{"name":"Firefox Screenshots","description":null,"creator":null,"homepageURL":"https://screenshots.firefox.com/"},"visible":true,"active":true,"userDisabled":false,"appDisabled":false,"installDate":1529588725000,"updateDate":1529588725000,"applyBackgroundUpdates":1,"bootstrap":true,"path":"/Applications/Firefox.app/Contents/Resources/browser/features/screenshots@mozilla.org.xpi","skinnable":false,"size":1002421,"sourceURI":null,"releaseNotesURI":null,"softDisabled":false,"foreignInstall":false,"strictCompatibility":false,"locales":[],"targetApplications":[{"id":"{ec8030f7-c20a-464f-9b0e-13a3a9e97384}","minVersion":"57.0a1","maxVersion":"*"}],"targetPlatforms":[],"seen":true,"dependencies":[],"hasEmbeddedWebExtension":false,"userPermissions":null,"icons":{},"iconURL":null,"icon64URL":null,"blocklistState":0,"blocklistURL":null,"startupData":null}
1533128970107 addons.xpi DEBUG Updating XPIState for {"id":"webcompat-reporter@mozilla.org","syncGUID":"{fbe6ffda-62d0-f249-9355-e6f7dc8edc9b}","location":"app-system-defaults","version":"1.0.0","type":"extension","updateURL":null,"optionsURL":null,"optionsType":null,"aboutURL":null,"defaultLocale":{"name":"WebCompat Reporter","description":"Report site compatibility issues on webcompat.com.","creator":null,"homepageURL":null},"visible":true,"active":true,"userDisabled":false,"appDisabled":false,"installDate":1530906423218,"updateDate":1530906423218,"applyBackgroundUpdates":1,"bootstrap":true,"path":"/Applications/Firefox.app/Contents/Resources/browser/features/webcompat-reporter@mozilla.org.xpi","skinnable":false,"size":12711,"sourceURI":null,"releaseNotesURI":null,"softDisabled":false,"foreignInstall":false,"strictCompatibility":false,"locales":[],"targetApplications":[{"id":"{ec8030f7-c20a-464f-9b0e-13a3a9e97384}","minVersion":"61.0.1","maxVersion":"61.*"}],"targetPlatforms":[],"seen":true,"dependencies":[],"hasEmbeddedWebExtension":false,"userPermissions":null,"icons":{},"iconURL":null,"icon64URL":null,"blocklistState":0,"blocklistURL":null,"startupData":null}
1533128970107 addons.xpi DEBUG Updating XPIState for {"id":"webcompat@mozilla.org","syncGUID":"{7b52e8d7-0b50-5743-b9e2-f3594ca4764a}","location":"app-system-defaults","version":"2.0","type":"extension","updateURL":null,"optionsURL":null,"optionsType":null,"aboutURL":null,"defaultLocale":{"name":"Web Compat","description":"Urgent post-release fixes for web compatibility.","creator":null,"homepageURL":null},"visible":true,"active":true,"userDisabled":false,"appDisabled":false,"installDate":1530906423217,"updateDate":1530906423217,"applyBackgroundUpdates":1,"bootstrap":true,"path":"/Applications/Firefox.app/Contents/Resources/browser/features/webcompat@mozilla.org.xpi","skinnable":false,"size":13138,"sourceURI":null,"releaseNotesURI":null,"softDisabled":false,"foreignInstall":false,"strictCompatibility":false,"locales":[],"targetApplications":[{"id":"{ec8030f7-c20a-464f-9b0e-13a3a9e97384}","minVersion":"61.0.1","maxVersion":"61.*"},{"id":"{aa3c5121-dab2-40e2-81ca-7ea25febc110}","minVersion":"61.0.1","maxVersion":"61.*"}],"targetPlatforms":[],"seen":true,"dependencies":[],"hasEmbeddedWebExtension":true,"userPermissions":null,"icons":{},"iconURL":null,"icon64URL":null,"blocklistState":0,"blocklistURL":null,"startupData":null}
1533128970107 addons.xpi DEBUG Updating database with changes to installed add-ons
1533128970107 addons.xpi-utils DEBUG Updating add-on states
1533128970111 addons.xpi DEBUG Registering manifest for /Applications/Firefox.app/Contents/Resources/browser/features/activity-stream@mozilla.org.xpi
1533128970112 addons.xpi DEBUG Calling bootstrap method startup on activity-stream@mozilla.org version 2018.06.29.1026-fa231556
1533128970112 addons.xpi DEBUG Registering manifest for /Applications/Firefox.app/Contents/Resources/browser/features/aushelper@mozilla.org.xpi
1533128970113 addons.xpi DEBUG Calling bootstrap method startup on aushelper@mozilla.org version 2.0
1533128970113 addons.xpi DEBUG Registering manifest for /Applications/Firefox.app/Contents/Resources/browser/features/firefox@getpocket.com.xpi
1533128970113 addons.xpi DEBUG Calling bootstrap method startup on firefox@getpocket.com version 1.0.5
1533128970121 addons.xpi DEBUG Registering manifest for /Applications/Firefox.app/Contents/Resources/browser/features/followonsearch@mozilla.com.xpi
1533128970121 addons.xpi DEBUG Calling bootstrap method startup on followonsearch@mozilla.com version 0.9.7
1533128970121 addons.xpi DEBUG Registering manifest for /Applications/Firefox.app/Contents/Resources/browser/features/formautofill@mozilla.org.xpi
1533128970121 addons.xpi DEBUG Calling bootstrap method startup on formautofill@mozilla.org version 1.0
1533128970122 addons.xpi DEBUG Registering manifest for /Applications/Firefox.app/Contents/Resources/browser/features/onboarding@mozilla.org.xpi
1533128970122 addons.xpi DEBUG Calling bootstrap method startup on onboarding@mozilla.org version 1.0
1533128970122 addons.xpi DEBUG Registering manifest for /Applications/Firefox.app/Contents/Resources/browser/features/screenshots@mozilla.org.xpi
1533128970123 addons.xpi DEBUG Calling bootstrap method startup on screenshots@mozilla.org version 32.1.0
1533128970123 addons.xpi DEBUG Registering manifest for /Applications/Firefox.app/Contents/Resources/browser/features/webcompat-reporter@mozilla.org.xpi
1533128970123 addons.xpi DEBUG Calling bootstrap method startup on webcompat-reporter@mozilla.org version 1.0.0
1533128970123 addons.xpi DEBUG Registering manifest for /Applications/Firefox.app/Contents/Resources/browser/features/webcompat@mozilla.org.xpi
1533128970124 addons.xpi DEBUG Calling bootstrap method startup on webcompat@mozilla.org version 2.0
1533128970127 addons.manager DEBUG Registering shutdown blocker for XPIProvider
1533128970128 addons.manager DEBUG Provider finished startup: XPIProvider
1533128970128 addons.manager DEBUG Starting provider: LightweightThemeManager
1533128970128 addons.manager DEBUG Registering shutdown blocker for LightweightThemeManager
1533128970128 addons.manager DEBUG Provider finished startup: LightweightThemeManager
1533128970128 addons.manager DEBUG Starting provider: GMPProvider
1533128970130 addons.manager DEBUG Registering shutdown blocker for GMPProvider
1533128970130 addons.manager DEBUG Provider finished startup: GMPProvider
1533128970130 addons.manager DEBUG Starting provider: PluginProvider
1533128970130 addons.manager DEBUG Registering shutdown blocker for PluginProvider
1533128970131 addons.manager DEBUG Provider finished startup: PluginProvider
1533128970132 addons.manager DEBUG Completed startup sequence
1533128970336 addons.xpi-utils DEBUG XPI Database saved, setting schema version preference to 26
2018-08-01 09:09:30.906 plugin-container[8123:1343701] *** CFMessagePort: bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port = 0x8b07, name = 'com.apple.tsm.portname'
See /usr/include/servers/bootstrap_defs.h for the error codes.
2018-08-01 09:09:31.095 plugin-container[8123:1343701] *** CFMessagePort: bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port = 0x8b9b, name = 'com.apple.coredrag'
See /usr/include/servers/bootstrap_defs.h for the error codes.
2018-08-01 09:09:31.164 plugin-container[8124:1343744] *** CFMessagePort: bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port = 0x8843, name = 'com.apple.tsm.portname'
See /usr/include/servers/bootstrap_defs.h for the error codes.
2018-08-01 09:09:31.235 plugin-container[8124:1343744] *** CFMessagePort: bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port = 0x7fa3, name = 'com.apple.coredrag'
See /usr/include/servers/bootstrap_defs.h for the error codes.
1533128971288 addons.xpi DEBUG Existing add-on activity-stream@mozilla.org in app-system-defaults
1533128971288 addons.xpi DEBUG Existing add-on aushelper@mozilla.org in app-system-defaults
1533128971288 addons.xpi DEBUG Existing add-on firefox@getpocket.com in app-system-defaults
1533128971288 addons.xpi DEBUG Existing add-on followonsearch@mozilla.com in app-system-defaults
1533128971288 addons.xpi DEBUG Existing add-on formautofill@mozilla.org in app-system-defaults
1533128971288 addons.xpi DEBUG Existing add-on onboarding@mozilla.org in app-system-defaults
1533128971288 addons.xpi DEBUG Existing add-on screenshots@mozilla.org in app-system-defaults
1533128971289 addons.xpi DEBUG Existing add-on webcompat-reporter@mozilla.org in app-system-defaults
1533128971289 addons.xpi DEBUG Existing add-on webcompat@mozilla.org in app-system-defaults
1533128971289 addons.xpi DEBUG getInstallState changed: false, state: {}
1533128971486 Marionette INFO Listening on port 65195
1533128971549 Marionette WARN TLS certificate errors will be ignored for this session
1533128971555 Marionette INFO Proxy settings initialised: {"proxyType":"direct"}
Aug 01, 2018 9:09:31 AM org.openqa.selenium.remote.ProtocolHandshake createSession
INFO: Detected dialect: W3C
08-01-2018 09:09:31 AM - [RUN_DATA] - Logging run data 'sessionId' with value 'e5ae1e15-64ce-994f-b597-ce85477aa95b'
08-01-2018 09:09:31 AM - [RUN_DATA] - Logging run data 'browser' with value 'Firefox 61.0'
08-01-2018 09:09:31 AM - [RUN_DATA] - Logging run data 'platform' with value 'Mac OS X'
08-01-2018 09:09:31 AM - [RUN_DATA] - Logging run data 'seleniumVersion' with value '3.7.1'
08-01-2018 09:09:31 AM - [RUN_DATA] - Logging run data 'proxyInformation' with value 'ProxyInformation{proxyOption=NO_PROXY, proxyServerType=HTTP, password=, proxyServerAddress=, proxyServerPort=0}'
08-01-2018 09:09:31 AM - [PASSED] - Browser is opened with url: ''
08-01-2018 09:09:31 AM - [END] - End action : openBrowser
08-01-2018 09:09:31 AM - [START] - Start action : Statement - innerDriver = com.kms.katalon.core.webui.driver.DriverFactory.getWebDriver()
08-01-2018 09:09:31 AM - [END] - End action : Statement - innerDriver = com.kms.katalon.core.webui.driver.DriverFactory.getWebDriver()
08-01-2018 09:09:31 AM - [START] - Start action : Statement - eyes = Script1523260020936.createEyes()
08-01-2018 09:09:31 AM - [END] - End action : Statement - eyes = Script1523260020936.createEyes()
08-01-2018 09:09:31 AM - [START] - Start action : Statement - serverURL = <not implemented yet for class: org.codehaus.groovy.ast.expr.EmptyExpression>
08-01-2018 09:09:31 AM - [END] - End action : Statement - serverURL = <not implemented yet for class: org.codehaus.groovy.ast.expr.EmptyExpression>
08-01-2018 09:09:31 AM - [START] - Start action : Statement - Try
08-01-2018 09:09:31 AM - [START] - Start action : Statement - serverURL = new java.net.URI(internal.GlobalVariable.serverURLstr)
08-01-2018 09:09:31 AM - [END] - End action : Statement - serverURL = new java.net.URI(internal.GlobalVariable.serverURLstr)
08-01-2018 09:09:31 AM - [END] - End action : Statement - Try
08-01-2018 09:09:31 AM - [START] - Start action : Statement - eyes = new com.applitools.eyes.selenium.Eyes(serverURL)
2018-08-01 09:09:31.918 plugin-container[8125:1343949] *** CFMessagePort: bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port = 0x7d43, name = 'com.apple.tsm.portname'
See /usr/include/servers/bootstrap_defs.h for the error codes.
2018-08-01 09:09:31.992 plugin-container[8125:1343949] *** CFMessagePort: bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port = 0x7d5f, name = 'com.apple.coredrag'
See /usr/include/servers/bootstrap_defs.h for the error codes.
08-01-2018 09:09:32 AM - [END] - End action : Statement - eyes = new com.applitools.eyes.selenium.Eyes(serverURL)
08-01-2018 09:09:32 AM - [START] - Start action : Statement - apiKey = java.lang.System.getenv("APPLITOOLS_API_KEY")
08-01-2018 09:09:32 AM - [END] - End action : Statement - apiKey = java.lang.System.getenv("APPLITOOLS_API_KEY")
08-01-2018 09:09:32 AM - [START] - Start action : Statement - eyes.setApiKey(apiKey)
08-01-2018 09:09:32 AM - [END] - End action : Statement - eyes.setApiKey(apiKey)
08-01-2018 09:09:32 AM - [ERROR] - Test Cases/test01 FAILED because (of) java.lang.IllegalArgumentException: apiKey is null
08-01-2018 09:09:32 AM - [END] - End Test Case : Test Cases/test01
Sorry, it seems my mistake.
I checked if the environment variable 'APPLITOOLS_API_KEY' set by .bash_profile is passed to Katalon Studio runtime or not. I found it to be false. Therefore System.getenv('APPLITOOLS_API_KEY')
will be null. I need to change the way to pass the API Key.
I have an idea how to implement the alternative way, but I need time. I will be back later.
No worries! Sounds great, thanks @kazurayam
HI, I am also facing the same issue in Windows machine and can any one help me to know if this is sorted or how i can sort it out Appreciate your help @kazurayam @HoldenRiot
Hello! This is neat! Came across your work on the Katalon forums!
I am on MacOS and seem to be having an issue. I cloned the project and setup my .bash_profile variable APPLITOOLS_API_KEY=keyHere , Restarted my machine and continue to receive the following Message:
Test Cases/test01 FAILED because (of) java.lang.IllegalArgumentException: apiKey is null
.Any ideas? I shouldn't need to physically enter my apiKey in line 64
eyes.setApiKey(key)
should I?Thanks in advance!