Hello All,
I trying to use this code in one my tests, but the second function use to cast the element into Tcontrol is throwing this exception -- Exception has been thrown by the target of an invocation . Any idea what am I doing wrong here?
===
var Element = Manager.Current.ActiveBrowser.WaitForElement(Config.Timeout,
"id=test");
return Element .As<T>();
===
Thanks,
Aakash
I trying to use this code in one my tests, but the second function use to cast the element into Tcontrol is throwing this exception -- Exception has been thrown by the target of an invocation . Any idea what am I doing wrong here?
===
var Element = Manager.Current.ActiveBrowser.WaitForElement(Config.Timeout,
"id=test");
return Element .As<T>();
===
Thanks,
Aakash