Questions regarding Appian FitNesse tool


#AppianFitNesse

I am working on Appian FitNesse and there are some bottlenecks which I would like share. If anybody has encountered the same limitations in Appian FitNesse and have overcome them, please suggest those solutions.

1.          Looping in Appian FitNesse
          
          There is a scenario where I want to run a Test Page multiple times by getting the test data from CSV or Database dynamically.
          Is there any looping method to achieve this.

2.          Conditional Statement in Appian FitNesse

          I have a requirement where if a condition is true, I want to execute some statements, else execute some other statements.
          In other words does Appian FitNesse has If Else statement in it.
          Ex: if(condition 1)
                    {
                              Statement 1
                    }
                    else
                    {
                              Statement 2
                    }
          I know there is a "check" keyword/method in Appian FitNesse but it doesn't suffice my above requirement. Please suggest if there is some method which I can use with "check" to achieve...

OriginalPostID-224959

OriginalPostID-224959

  Discussion posts and replies are publicly visible

Parents
  • @chandrasekharg - As I have mentioned above if I want to fetch data from CSV or DB then I am not sure how much data is present so the approach has to be dynamic and even if I write scenarios I have to invoke them manually. So might not suffice my requirement.
    And about the 2nd point where you suggested the negative testing,can you please provide a sample Fitnesse script where we the above mentioned approach is achieved. Because the limitation in Appian Fitnesse is we cannot have a conditional statement with a scope.
Reply
  • @chandrasekharg - As I have mentioned above if I want to fetch data from CSV or DB then I am not sure how much data is present so the approach has to be dynamic and even if I write scenarios I have to invoke them manually. So might not suffice my requirement.
    And about the 2nd point where you suggested the negative testing,can you please provide a sample Fitnesse script where we the above mentioned approach is achieved. Because the limitation in Appian Fitnesse is we cannot have a conditional statement with a scope.
Children
No Data