/dom[@caption='Ranorex - GUI Automation & Automated Testing Tool']
I've tried searching for the scrollbars directly as well
- Code: Select all
Ranorex.WebDocument lMain = @"/dom[@caption='Ranorex - GUI Automation & Automated Testing Tool']";
Report.Success("Looking for scrollbars");
IList<Ranorex.ScrollBar> lBarList = lMain.FindDescendants<Ranorex.ScrollBar>();
foreach(Ranorex.ScrollBar lBar in lBarList)
{
Report.Info("Found scroll bar: "+lBar.ToString());
Report.Info(lBar.Element.GetPath(PathBuildMode.Reduce).ToString());
Report.Info("-----------------------------------------------------------------------------------");
}
but this finds nothing. I've tried looking for the thumb and the scroll buttons as well, using Ranorex.Indicator and Ranorex.Button instead of Ranorex.Scrollbar in the code above, but still nothing.
This is Firefox on Vista, but I've tried IE as well, and the same thing on XP, and the behaviour is the same.
Am I missing something here?