Unable to perform scrolling in a webpage and windows using LeanFT lib.
Code works fine, but It doesn't perform any scroll action.
import com.hp.lft.sdk.ScrollOrientation;
import com.hp.lft.sdk.ScrollType;
import com.hp.lft.sdk.Scrollable;
public class Sample {
Scrollable scrollTo;
public void scrollDownUsingNative() throws GeneralLeanFtException {
scrollTo.scroll(ScrollOrientation.VERTICAL_SCROLL, ScrollType.LAST);
}
}
its quiet difficult to understand, kindly provide an explanation with examples.