This question is locked. New answers and comments are not allowed.
Hi ..
I tried to locate iframe in my application but focus not going facing null exception.
Below code I used
ActiveBrowser.RefreshDomTree();
Browser myFrame = Manager.Current.ActiveBrowser.Frames.ById("iframe1"); myFrame.RefreshDomTree();
HtmlControl bodttag = myFrame.Find.ByTagIndex<HtmlControl>("body", 0);
bodttag.Focus(); bodttag.MouseHover(); bodttag.Refresh();
HtmlControl text = bodttag.Find.ById<HtmlControl>("50002"); text.Focus(); text.MouseHover(); text.MouseClick();
Thread.Sleep(4000);
Attached console for your reference.Kindly provide alternate solution for it.
