you have to use javascript executor to scroll down. we have explained that in videos.
I tried that way too, its NOT Working, Code is getting passed thru with out doing anything....
IE Browser.
Here is the way i tried, both are NOT Working
//Click on the Element Menu
Actions actions = new Actions(Page.driver);
WebElement elem = Page.driver.findElement(By.xpath("//*[@id='r1:0:pt1:pt_pa1']"));
actions.moveToElement(elem).click().build().perform();
JavascriptExecutor jse = (JavascriptExecutor)Page.driver;
jse.executeScript("window.scrollBy(0,450)", "");
Thanks
Regards
J
[quote:3k7kc5pp]"//*[@id='r1:0:pt1:pt_pa1']"[/quote:3k7kc5pp]
xpath is wrong. create a custom xpath. watch module 13.