Hi,
We have a Silverlight application hosting an iframe within it.
Finding element works well. But actions are giving me a tough time.
I am trying to click or scroll to an HTML element using :
1) Browser Actions:
Browser.Actions.ScrollToVisible(element);
Browser.Actions.Click(element);
This throws an exception.
2) Html control class
element = frame.Find.ByExpression<HtmlInputRadioButton>("class=FICheckRadio");
element.InvokeEvent(ScriptEventType.OnClick);
This does highlight the radio button, and does not throw any exception. BUT does not actually click on the element.
Is there another way to act on the elements within HTML withing Silverlight?
We have a Silverlight application hosting an iframe within it.
Finding element works well. But actions are giving me a tough time.
I am trying to click or scroll to an HTML element using :
1) Browser Actions:
Browser.Actions.ScrollToVisible(element);
Browser.Actions.Click(element);
This throws an exception.
2) Html control class
element = frame.Find.ByExpression<HtmlInputRadioButton>("class=FICheckRadio");
element.InvokeEvent(ScriptEventType.OnClick);
This does highlight the radio button, and does not throw any exception. BUT does not actually click on the element.
Is there another way to act on the elements within HTML withing Silverlight?