Inflectra Customer Forums: Is Spira Configuration support function parameter in c# with nunit (Thread) Hi All, 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 (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 (this.AdminModel.LoginPagePath); page.Maximize(); page.FillInForm("username", "passwored", false); page.Login(); page.Logout(); } please replay... Thanks Gangotri en-US(C) Copyright 2006-2024 Inflectra Corporation.support@inflectra.com/Computers/Software/Project_Management//Computers/Software/Quality_Assurance/KronoDesksupport@inflectra.comhttp://www.inflectra.com/kronodesk/forums/threads120/Support/Forum/spiratest/issues-questions/1104.aspxthreadId=1104Gangotri Sikheria (gangotrisikheria@gmail.com)Is Spira Configuration support function parameter in c# with nunit Hi All, 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 (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 (this.AdminModel.LoginPagePath); page.Maximize(); page.FillInForm("username", "passwored", false); page.Login(); page.Logout(); } please replay... Thanks Gangotri Fri, 12 Dec 2014 08:15:35 -05002014-12-16T15:57:26-05:00/Support/Forum/spiratest/issues-questions/1104.aspxmessageId=1963Jim R (donotreply5@kronodesk.net) Hi Gangotri I don't believe that NUnit supports passing such parameters that way. We are just ann Hi Gangotri I don't believe that NUnit supports passing such parameters that way. We are just annotating the test methods. If you need more help, please log a support ticket . Regards Jim Fri, 12 Dec 2014 16:47:28 -05002014-12-12T16:47:28-05:00/Support/Forum/spiratest/issues-questions/1104.aspx#reply1963messageId=1976David J (support1@inflectra.com) Hi Gangotri We have checked and our Add-In does not support such parameterized tests. Since N 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 Tue, 16 Dec 2014 15:57:26 -05002014-12-16T15:57:26-05:00/Support/Forum/spiratest/issues-questions/1104.aspx#reply1976