NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

TestStand C# adapter - Constructor not showing input variables

Solved!
Go to solution

Using TestStand to test web pages using Selenium.  Tests are built using a Page Object model. The constructor call is:   "public LoginPage(IWebDriver driver) : base(driver)"

TestStand: Step Settings for Action.  Module: Assembly :

Root class is PageObjects.LoginPage and the .Net Invocation is LoginPage()  there are no arguments to be passed to the constructor.  I need to pass the IWebDriver to the constructor which passes the IWebDriver to the base constructor to initialize the driver instance in base & inherited classes. 

Why isn't the parameter list for the constructor of the LoginPage object showing the parameter list? Is it something I'm doing/not doing?  Test run in NUnit test.

 

0 Kudos
Message 1 of 3
(2,215 Views)

Hi Ran_Aground

 

I saw this post and it was without reply. I am wondering if this issue persists. 

 

I would like to also ask for further context on this error, maybe some screenshots will help other users and myself to have a clear idea of wht is happening.

 

I appreciate your help!

 

Message 2 of 3
(2,135 Views)
Solution
Accepted by topic author Ran_Aground

Problem is resolved with small code change and a new build.  Operator error!

Message 3 of 3
(2,126 Views)