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
  • @Sidhantb For the Second Scenario, May be we can Use Negative Testing .
    It goes like below.
    if(input the data that makes condition true)
    {
    In this case these Statements need to true always i.e the output of this always true.
    }

    if(input the data that makes condition false)
    {
    In this case these Statements need to false always i.e. the output of this always false
    (but still the Test cases are passed since we expected Negative Output)
    }
    I'm not sure this satisfies your testing scenario.
Reply
  • @Sidhantb For the Second Scenario, May be we can Use Negative Testing .
    It goes like below.
    if(input the data that makes condition true)
    {
    In this case these Statements need to true always i.e the output of this always true.
    }

    if(input the data that makes condition false)
    {
    In this case these Statements need to false always i.e. the output of this always false
    (but still the Test cases are passed since we expected Negative Output)
    }
    I'm not sure this satisfies your testing scenario.
Children
No Data