← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #267561]: How can I extract web data to excel?

 

Question #267561 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/267561

    Status: Open => Answered

RaiMan proposed the following answer:
If you want to use the visual approach of SikuliX, then the principal
steps are as follows:

- identify the click points, to open one specific dropdown. Since I
guess it is some regular GUI structure, it must be possible to search
for one characteristic visual and know all 20 click points by
evaluating the distances.

- for each dropdown, you need to evaluate the dimension and the number
of options. This information allows you to click a specific option after
having opened the dropdown.

The click point and the characteristics for one dropdown are static
information, that are evaluated once and should be organised with some
lists or dictionaries.

The workflow, to open a dropdown and click a specific option can be
written as a reusable function.

Then you have to script the grabbing of the resulting information, that
you want to store in a given XLS.

Finally you have to setup a loop, that walks through all possible
combinations (the topic from combinatorics: permutation without
repetition)

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.