Topic: I am using Dot Net Framework with Selenium, Gherkin, Page Object Model and C# for my test automation. When I use background in my feature file for a login program it runs fine for that but then when
I am using Dot Net Framework with Selenium, Gherkin, Page Object Model and C# for my test automation but When I use background in my feature file for a login program it runs fine for and then when it has to interact with the following steps with the Page class it throws null object reference.For information I am using public static IWebdriver webdriver in background file and current file and nothing in page class. Please suggest how to resolve this issue.
Author: TEJA
Topic Replies (0)