Fitnesse - test sites - login fails

I have a problem with FitNesse when testing sites. (17.1)

set appian url to https://test.appiancloud.com/suite/sites/applicant

|login with username | externalapplicant | and password | Password |

In Firefox the login screen is ok and the expected site is displayed.

I get an error and the script stops with this result; 

| login with username An error has occurred: Login page - externalapplicant | externalapplicant | and password | Password |

 

I have tried SITES METHODS  in the Cheat Sheet but they seams not been implemented.

For example 

| navigate to site | https://test.appiancloud.com/suite/sites/applicant | 

| navigate to site Method navigateToSite[1] not found in com.appiancorp.ps.automatedtest.fixture.TempoFixture. |

  Discussion posts and replies are publicly visible

Parents
  • Not sure why it did not work, the fixture is there and implemented.
    For site url, you only need the site name, e.g. "applicant".
  • Hi Mike,

    I am also not able to work with Sites fixture. I am getting the error messages in 'login with username' command.

    Below are the steps being followed:
    - I have initialized my script with SitesFixture and other parameters as follows:
    !*** Initialization
    !| script | com.appiancorp.ps.automatedtest.fixture.SitesFixture |
    | setup with browser | FIREFOX |
    | set appian url to | mydastest.appiancloud.com/.../} |
    | set appian version to | 17.1 |
    | set appian locale to | en_GB |
    | set timeout seconds to | 60 |
    | set screenshot path to | C:\\SARASYSTEMS\\FitNesseForAppian\\SCREENSHOTS |
    | set take error screenshots to | true |
    | set stop on error to | true |
    | set start datetime |
    ***!
    - Used the following commands to login to sites and to navigate to a specific site
    !*** Script to recognize the sites
    !| script |
    | login with username | CO | and password | PW |
    | navigate to site |internal-user |
    | click on menu | ACTIONS |
    ***!

    When I run the above script, it opens the Firefox browser, logs in with the user details given by me and just hangs there. The error message shows at the login with username step.

    Please let me know what I am doing incorrectly here. Thanks in advance.

    --Kiran
  • 0
    A Score Level 2
    in reply to kirankishorek
    Hi Kiran, the above code looks good, can you add one more step like, navigating to records or news first and then navigate to site.?
Reply Children