Hi, my script is having an issue using MouseClick on HtmlButton in IE9. The script runs without clicking on the button. I have tried several things such as Mouseclick (MouseClickType.LeftClick). I have also tried using MouseClick (MouseClickType.LeftClick, X, Y). have also tried to use Manager.Current.ActiveBrowser.Actions.Click (Element). The click is not taking place.
It only clicks when using the click () method, however, the browser hangs.
After the click is performed an IEdialog suppose to display.
Here is some code snippet:
public HtmlButton AddButton { get {return Get<HtmlButton>("name=addreport");}}
Script contains:
Page.AddButton.MouseClick(); // where page is the current active browser.
Thanks in advance.
It only clicks when using the click () method, however, the browser hangs.
After the click is performed an IEdialog suppose to display.
Here is some code snippet:
public HtmlButton AddButton { get {return Get<HtmlButton>("name=addreport");}}
Script contains:
Page.AddButton.MouseClick(); // where page is the current active browser.
Thanks in advance.