Hello,
Iam new to Fitnesse and having issues while running a login script. Below is the script and error message. Please let me know how to fix the issue.
Script:
!3 Please fill out the following before testing * If your TESTING_HOME is located somewhere other than ${automated.testing.home}, update ''automated.testing.home'' in TESTING_HOME/configs/custom.properties * For more information look at [[Changing !-FitNesse-! for Appian installation directory][.FitNesseForAppian.Documentation.Administration.ChangeFitnesseForAppianInstallationDirectory]]. * Click "Edit" at the top of this page and update the following fields in the "Initialization" and "Login to Tempo..." blocks below * Replace ''APPIAN_URL'' with Appian URL, beginning with https:// and including /suite at the end (e.g. forum.appian.com/suite) * Replace ''APPIAN_VERSION'' with (7.10, 7.11, 16.1, 16.2, 16.3, 17.1, 17.2, 17.3, or 17.4) * Replace ''APPIAN_LOCALE'' with (en_US or en_GB) to handle differences in how dates are displayed * Replace ''APPIAN_USERNAME'' with username for Appian URL above * Update ${automated.testing.home}/configs/users.properties and add a line for the above username (e.g. test.user=password)
!***> FitNesse Configurations!define TEST_SYSTEM {slim}!define COMMAND_PATTERN {java -Dlog4j.configuration=file:///${automated.testing.home}/log4j.properties -cp %p %m}!path ${automated.testing.home}/**.jar***!!*** Initialization!| script |com.appiancorp.ps.automatedtest.fixture.TempoFixture || setup with browser |CHROME || set appian url to |<URL> || set appian version to|18.1 || set appian locale to |en_US || set timeout seconds to | 20 | ***!!*** Login to Tempo and go to Records!| script ||login with Username|<Username> |and Password|<Password> ||click on menu |Records |***!
Error Message:
2018-05-04 11:27:26,760 [main] ERROR com.appiancorp.ps.automatedtest.exception.ExceptionBuilder - Loginorg.openqa.selenium.WebDriverException: unknown error: call function result missing 'value' (Session info: chrome=66.0.3359.117) (Driver info: chromedriver=2.33.506120 (e3e53437346286c0bc2d2dc9aa4915ba81d9023f),platform=Windows NT 6.1.7601 SP1 x86_64) (WARNING: The server did not provide any stacktrace information)Command duration or timeout: 22 millisecondsBuild info: version: '3.4.0', revision: 'unknown', time: 'unknown'System info: host: 'STHAKURVC', ip: '172.16.90.44', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_121'Driver info: org.openqa.selenium.chrome.ChromeDriverCapabilities [{applicationCacheEnabled=false, rotatable=false, mobileEmulationEnabled=false, networkConnectionEnabled=false, chrome={chromedriverVersion=2.33.506120 (e3e53437346286c0bc2d2dc9aa4915ba81d9023f), userDataDir=C:\Users\sthakur\AppData\Local\Temp\scoped_dir9512_25910}, takesHeapSnapshot=true, pageLoadStrategy=normal, databaseEnabled=false, handlesAlerts=true, hasTouchScreen=false, version=66.0.3359.117, platform=XP, browserConnectionEnabled=false, nativeEvents=true, acceptSslCerts=true, locationContextEnabled=true, webStorageEnabled=true, browserName=chrome, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true, setWindowRect=true, unexpectedAlertBehaviour=}]Session ID: 869cfb59f78c1f45cbe71e0078d482a8 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source)
Discussion posts and replies are publicly visible