Saturday 29 August 2015

Scroll Down and Focus methods in Webpage:

msgbox Browser("MSN.com").Page("MSN.com").WebEdit("q").GetROProperty("focus")
Returns 1 when the webfield is selected else returns 0

Browser("MSN.com").Page("MSN.com").WebEdit("q").Object.Focus 
is used to set focus(or place cursor) in the webfield

Browser(“Google”).Page(“testeverything – Google”).Link(“Next”).Object.scrollIntoView
This is used to scroll down til the end of the page where this link "Next" is displayed on screen.

1 comment: