Thread

Skip Navigation LinksForums > SpiraTest Forums > SpiraTest Issues & Questi... > Is Spira Configuration su...

Is Spira Configuration support function parameter, because right now i am not able to run my spira test with function parameter in c# RSS Feed

Tuesday, December 16, 2014
Hi Adam/Jim/Daniel

Is Spira Configuration support function parameter, because right now i am not able to run my spira test with function parameter in c#

my code is :

  [Test, SpiraTestCase(418)]
       [TestCaseSource(typeof(AdminModel), "UserValidation")]
          public void PublicAdminSpira(string userName, string password) 
          {
              var page = this.OpenPage<LoginPage>(this.AdminModel.LoginPagePath);
              page.Maximize();
              page.FillInForm(userName, password, false);
              page.Login();
              page.Logout();
            

          }

 i have pass two parameter value and run through nunit, than its not shows passed /failed status in spira test ID.

now if i am not use parameter and run through nunit than it shows status with spira test id as passed/failed for example-
 [Test, SpiraTestCase(418)]
    
          public void PublicAdminSpira() 
          {
              var page = this.OpenPage<LoginPage>(this.AdminModel.LoginPagePath);
              page.Maximize();
              page.FillInForm("username", "passwored", false);
              page.Login();
              page.Logout();
            

          }

please replay...
Thanks
Gangotri

2 Replies
Adam SAdam S
re: Gangotri Sikheria on Tuesday, December 16, 2014
Tuesday, December 16, 2014

Hi Gangotri

Thanks for sending in the help desk ticket. We shall work with you to figure out what you're trying to do.

If the answer is of general use, I shall post the resolution back to this forum thread as well in case anyone else needs the same answer.

Regards

Adam

Adam SAdam S
re: Adam S on Tuesday, December 16, 2014
Tuesday, December 16, 2014
Hi Gangotri

We have checked and our Add-In does not support such parameterized tests.

Since NUnit 3.0 (in alpha) is getting rid of the entire plugin system we are looking at ways to replace our current add-in once NUnit 3.0 has been released, so no changes are planned to the current add-in at this time.

Regards

Adam

Tagged
Statistics
  • Started: 12/16/2014
  • Last Reply: 12/16/2014
  • Replies: 2
  • Views: 514
Powered by KronoDesk v1.1.0.15 | © Copyright Inflectra Corporation 2011-2016 | Licensed to Inflectra Corporation.