FitNesse for Appian - Exception thrown while login

Hi All,

I am facing issue while login. Login page will get launch but it will throw exception in login script. Tried with both script, "login with terms with username" and "login with username", however getting same exception. Help me to figure out root cause.

Using FitNesseForAppian-18.1.4 and chrome version 66.0.

Added password in user.properties.

Script:

!*** Initialization
!| script |com.appiancorp.ps.automatedtest.fixture.TempoFixture|
|setup with browser|CHROME |
|set appian url to |https://              .appiancloud.com/suite |
|set appian version to|18.1 |
|set appian locale to |en_US |
***!
!*** Login to Tempo and go to Records
!| script |
| login with username| mbhara |
|click on menu |Records |
***!

 

Exception:

May 29, 2018 6:55:18 PM org.openqa.selenium.remote.ProtocolHandshake createSession
INFO: Detected dialect: OSS
org.openqa.selenium.WebDriverException: unknown error: call function result missing 'value'
  (Session info: chrome=66.0.3359.181)
  (Driver info: chromedriver=2.33.506120 (e3e53437346286c0bc2d2dc9aa4915ba81d9023f),platform=Windows NT 10.0.14393 x86_64) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 21 milliseconds
Build info: version: '3.4.0', revision: 'unknown', time: 'unknown'
System info: host: 'CHNMCT253035D', ip: '10.87.219.52', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_111'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities [{applicationCacheEnabled=false, rotatable=false, mobileEmulationEnabled=false, networkConnectionEnabled=false, chrome={chromedriverVersion=2.33.506120 (e3e53437346286c0bc2d2dc9aa4915ba81d9023f), userDataDir=C:\Users\Megharani_B\AppData\Local\Temp\scoped_dir13516_28970}, takesHeapSnapshot=true, pageLoadStrategy=normal, databaseEnabled=false, handlesAlerts=true, hasTouchScreen=false, version=66.0.3359.181, 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: b4fe11117fdf0186b103c3de8b7cd365
	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)
	at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:215)
	at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:167)
	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:671)
	at org.openqa.selenium.remote.RemoteWebDriver.executeScript(RemoteWebDriver.java:573)
	at com.appiancorp.ps.automatedtest.common.AppianObject.scrollIntoView(AppianObject.java:330)
	at com.appiancorp.ps.automatedtest.tempo.TempoLogin.waitForLogin(TempoLogin.java:161)
	at com.appiancorp.ps.automatedtest.fixture.BaseFixture.loginIntoWithUsernameAndPassword(BaseFixture.java:388)
	at com.appiancorp.ps.automatedtest.fixture.BaseFixture.loginIntoWithUsername(BaseFixture.java:419)
	at com.appiancorp.ps.automatedtest.fixture.BaseFixture.loginWithUsername(BaseFixture.java:430)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:81)
	at fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:57)
	at fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:38)
	at fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:72)
	at fitnesse.slim.FixtureMethodExecutor.execute(FixtureMethodExecutor.java:20)
	at fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:135)
	at fitnesse.slim.StatementExecutor.call(StatementExecutor.java:108)
	at fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35)
	at fitnesse.slim.instructions.Instruction.execute(Instruction.java:29)
	at fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:49)
	at fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:43)
	at fitnesse.slim.ListExecutor.execute(ListExecutor.java:85)
	at fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:84)
	at fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:77)
	at fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:64)
	at fitnesse.slim.SlimServer.serve(SlimServer.java:49)
	at fitnesse.slim.SlimService.handle(SlimService.java:154)
	at fitnesse.slim.SlimService.acceptOne(SlimService.java:162)
	at fitnesse.slim.SlimService.accept(SlimService.java:124)
	at fitnesse.slim.SlimService.startWithFactory(SlimService.java:76)
	at fitnesse.slim.SlimService.main(SlimService.java:56)

Thanks in advance,

Megha

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data