Vertical & Horizontal Scroll bar Issue

Asked by Ashokkumar

Hi, I have two questions both related to scroll bars.

I have an requirement of capturing the image in the web page. The pages which i deal with have both horizontal and vertical scroll bars. So now how can I track the movement of both the scroll bars without using the images of the scroll bar ? so that I can re-run the test case in different systems.

Second is how can I capture the complete web page when there are scroll bars ? At present am able to capture the region only which I see or scroll but I need the picture of entire web page.

Can you guys pl help me ?

Thanks in advance

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

Sorry, since Sikuli can only see and act on what is currently visible on the real monitor, you have to decide based on key visuals from the webpage, which part of the webpage is currently visible in the viewport of the browser.

Moving currently invisible parts of the webpage into sight, needs the simulation of appropriate mouse (e.g. wheel to scroll down) and/or keyboard actions.

Additional information about the visibility might be evaluated from browser window size and the knowledge about the size of the webpage on a non restricting monitor.

Can you help with this problem?

Provide an answer of your own, or ask Ashokkumar for more information if necessary.

To post a message you must log in.