#AppianFitNesse I am facing problem when I am trying to login i


#AppianFitNesse

I am facing problem when I am trying to login into the Appian Server using Appian FitNesse.
I am using Internet Explorer browser to login into the Appian Server.
Please refer the attached Appian FitNesse script.

I have attached the complete error stack trace but I would like to highlight few lines from that below.

2016-07-14 14:04:35,606 [main] ERROR com.appiancorp.ps.automatedtest.exception.ExceptionBuilder - Login
org.openqa.selenium.TimeoutException: Timed out after 30 seconds waiting for presence of element located by: By.xpath: //form[@id = 'loginForm']/descendant::input[contains(@class, 'btn')]
Build info: version: '2.53.0', revision: '35ae25b1534ae328c771e0856c93e187490ca824', time: '2016-03-15 10:43:46'
System info: host: 'ID-0870', ip: '10.1.1.6', os.name: 'Windows 8.1', os.arch: 'x86', os.version: '6.3', java.version: '1.8.0_92'
Driver info: org.openqa.selenium.ie.InternetExplorerDrive...

OriginalPostID-223502

OriginalPostID-223502

  Discussion posts and replies are publicly visible

Parents
  • ...e.loginIntoWithUsernameAndPassword(BaseFixture.java:264)
              at com.appiancorp.ps.automatedtest.fixture.BaseFixture.loginWithUsernameAndPassword(BaseFixture.java:280)
              
    From the error stack trace above we can assume that it is looking for a particular xpath which it is not able to find and it is throwing the exception. It is hitting the appian tempo URL and not able to log in.
    The same scenario is working fine in Firefox browser.

    Just to share some additional information, there was one instance where I found that my windows firewall was blocking some features of Command Line server for the IE driver but then the exception was also different than the above mentioned.
    Attaching the screenshot of the popup. After I cancelled the popup I didn't get that popup warning again and ended up with the above exception.

    If anybody faced the same problem please share the root cause and how to resolve this.
Reply
  • ...e.loginIntoWithUsernameAndPassword(BaseFixture.java:264)
              at com.appiancorp.ps.automatedtest.fixture.BaseFixture.loginWithUsernameAndPassword(BaseFixture.java:280)
              
    From the error stack trace above we can assume that it is looking for a particular xpath which it is not able to find and it is throwing the exception. It is hitting the appian tempo URL and not able to log in.
    The same scenario is working fine in Firefox browser.

    Just to share some additional information, there was one instance where I found that my windows firewall was blocking some features of Command Line server for the IE driver but then the exception was also different than the above mentioned.
    Attaching the screenshot of the popup. After I cancelled the popup I didn't get that popup warning again and ended up with the above exception.

    If anybody faced the same problem please share the root cause and how to resolve this.
Children
No Data