I have some trouble to run the test in FitNesse

i'm fresher for appian and I have configured  FitNesse as shown below

version 21.1

While click on test i'm getting the below error

Any one knows the steps to reslove please help me.

  Discussion posts and replies are publicly visible

Parents
  • Hi there,


    I would recommend you go to your Fitnesse installation directory and use the SuiteExample as a start point. Initially you can edit this suite and test it, and later on you can create your own suite according to your needs.


    You can find the SuiteExample in the Fitnesse installation path:
    C:\FitNesseForAppian\FitNesseRoot\FitNesseForAppian\Examples\SuiteExample


    Once you open the SuiteExample, first thing that you need to edit is the Set Up script (Where you define for example the browser that the test will use) and most importantly the Suite Setup (Where you define the Appian URL, version, language, variables, etc).


    After that you can edit one of the predefined test pages to perform whatever you are trying to achieve and run the test page or the Suite. You can use this script for example A_Create_Automated_Testing_Input.


    Hope these info helps.


    Regards,

    Acacio B.

    SuiteExample

    SuiteSetup

    SetUp

  • Hi,

    I have getting some issues in login commands Please help me

       

    Thanks in advance 

  • Hi there,

    Have you configured the user.properties file?

    This file is located in the installation path, for example:

    C:\FitNesseForAppian\configs\user.properties

    This file needed to be edited manually and is not possible to edit it using the browser application. Once inside the file just add your user = password.

    Then in your scripts you can use the command:

    |login with username|userAddedInTheUserPropertiesFile|

    Regards

    Acacio B.

  • Hi Acacio B,

    I have written command as 

    |login with username|USER|

    than in user.properties(C:\FitNesseForAppian\configs\user.properties)

    USER=PASSWORD 

    correct me if I'm wrong

    but still I'm facing same error

    Thanks,

    Uday.

     

  • The command that you used is correct and all the configuration seems to be fine.

    Just in case, have you edit the file before or after rune the start.bat? Just try to close Fitnesse and run the bat again.

    Is the page for login at least loading? I noticed that the Appian URL that you set in your script is not so usual Appian cloud URL.

    You also could try to use the command below, that is a way that you can use to skip the user.properties:

    |login with username|USERNAME|and password|PASSWORD|

    Are you trying to login on Tempo or on a Site? Because if is a Site the Fixture also need to be adjusted.

    Hope that helps.

    Acacio B.

Reply
  • The command that you used is correct and all the configuration seems to be fine.

    Just in case, have you edit the file before or after rune the start.bat? Just try to close Fitnesse and run the bat again.

    Is the page for login at least loading? I noticed that the Appian URL that you set in your script is not so usual Appian cloud URL.

    You also could try to use the command below, that is a way that you can use to skip the user.properties:

    |login with username|USERNAME|and password|PASSWORD|

    Are you trying to login on Tempo or on a Site? Because if is a Site the Fixture also need to be adjusted.

    Hope that helps.

    Acacio B.

Children