Hi,
I've got the following html control:
On some occasions, I've got 2 of those 'guys' (">>") on the screen but usually I need to click the one that resides on the button of the page.
For some reason the following was not helpful and returns count of 0 as if the control was not found.
This works in case there's one control on the screen but it's easier to have all controls in a list to be managed...
Any ideas ?
Ta.
I've got the following html control:
<
td
class
=
"dr-dscr-button rich-datascr-button"
onclick
=
"Event.fire(this, 'rich:datascroller:onscroll', {'page': 'fastforward'});"
>»</
td
>
On some occasions, I've got 2 of those 'guys' (">>") on the screen but usually I need to click the one that resides on the button of the page.
For some reason the following was not helpful and returns count of 0 as if the control was not found.
var forward = (from b
in
Manager.ActiveBrowser.Find.AllControls<HtmlControl>() where b.ToString().Contains(
"»"
) select b);
Console.WriteLine(forward.Count().ToString());
HtmlControl forward = Manager.ActiveBrowser.Find.ByXPath<HtmlControl>(
"//tr/td[text()=\"»\"]"
);
Any ideas ?
Ta.