/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("-----------------------------------------------------------------------------------");
}
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?