I defined the Object in a Class Called "Page Objects Login page" when I call them in the TestCase class I'm unable to load the object to use it in the test case
I want to be able to select the variables on the TC class, but when I call the PO class, I'm unable to see them.
How I want to call it: LoginOage.(here should display the defined objects?)
How I define the Object: public class LoginPage{
private IWebDriver driver;
[FindsBy(How = How.CssSelector, Using = "#contentLogin > div:nth-child(1) > form:nth-child(1) > div:nth-child(2) > button:nth-child(1)")]
[CacheLookup]
public IWebElement HP_Accountbtn {get; set;}
How I want to call it: LoginOage.HPAccountbtn
When I set Loginpsge.it doesn't display the objects. Is this the correct way to set up this?