Hello,
I am writing a assembly for Test Studio
I have tried to specify the base class that my class inherits as being BaseTest and BaseWebAiiTest
I have a Manager instance that is initialized to Manager.Current.
I can reference the myManager.ActiveBrowser... just fine.
But when I try to create a wait using:
HtmlInputCheckBox _checkbox = myManager.ActiveBrowser.Find.ByExpression<HtmlInputCheckBox>(DomString);
HtmlWait waitObj = _checkbox.Wait;
_checkbox.Wait.ForVisible(5000);
I get the following error when the coded step executes:
System.NullReferenceException: Object reference not set to an instance of an object.
The line that causes this exception is
HtmlWait waitObj = _checkbox.Wait;
I cannot find what object that needs to be referenced to instantiate this wait object.
Thanks
I am writing a assembly for Test Studio
I have tried to specify the base class that my class inherits as being BaseTest and BaseWebAiiTest
I have a Manager instance that is initialized to Manager.Current.
I can reference the myManager.ActiveBrowser... just fine.
But when I try to create a wait using:
HtmlInputCheckBox _checkbox = myManager.ActiveBrowser.Find.ByExpression<HtmlInputCheckBox>(DomString);
HtmlWait waitObj = _checkbox.Wait;
_checkbox.Wait.ForVisible(5000);
I get the following error when the coded step executes:
System.NullReferenceException: Object reference not set to an instance of an object.
The line that causes this exception is
HtmlWait waitObj = _checkbox.Wait;
I cannot find what object that needs to be referenced to instantiate this wait object.
Thanks