Forum Discussion
jorgesimoes1983
12 years agoRegular Contributor
Try to use scrollIntoView property, it works for me ;)
http://msdn.microsoft.com/en-us/library/ms536730.aspx
Another solution is to Add height values...
obj.height + 200;
You can use something like this:
function scrollDown(n)
{
var scroll = Sys.Browser(Project.Variables.browser).Page("*").Panel("content").Panel("ibox").Panel("ibox_wrapper").Table(0).Cell(1, 0).Panel("ibox_content").Frame("ibox_framecontent").Panel("iBox_contentClip");
if(scroll.Exists)
scroll.scrollTop += n;
else
Log.Message("scroll not found");
}
http://msdn.microsoft.com/en-us/library/ms536730.aspx
Another solution is to Add height values...
obj.height + 200;
You can use something like this:
function scrollDown(n)
{
var scroll = Sys.Browser(Project.Variables.browser).Page("*").Panel("content").Panel("ibox").Panel("ibox_wrapper").Table(0).Cell(1, 0).Panel("ibox_content").Frame("ibox_framecontent").Panel("iBox_contentClip");
if(scroll.Exists)
scroll.scrollTop += n;
else
Log.Message("scroll not found");
}