how to select dropdown value and click in sikulix

Asked by monicar on 2018-10-24

stack trace using for my automation project:

sikulixapi-1.1.2
java- Java\jdk1.8.0_191
Application Flash application
Selenium webdriver

I am struck in selecting the dropdown value and click on it.

Please need help!

Question information

Language:
English Edit question
Status:
Solved
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Solved by:
RaiMan
Solved:
2018-11-07
Last query:
2018-11-07
Last reply:
2018-10-25
monicar (monicar) said : #2

Scenario: select a drop down value from drop down list (where user can pass
drop down value as a parameter to select as per requirement)
I am trying to get all drop down values and loop through the list until
desired drop down value exists.

[image: exam1.png]

On Wed, Oct 24, 2018 at 10:57 AM masuo <email address hidden>
wrote:

> Your question #675532 on Sikuli changed:
> https://answers.launchpad.net/sikuli/+question/675532
>
> Status: Open => Needs information
>
> masuo requested more information:
> I can not understand what you are having troubled from what you wrote so
> far.
> Please write a little more concretely what you want to solve.
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/sikuli/+question/675532
>
> You received this question notification because you asked the question.
>

RaiMan (raimund-hocke) said : #3

use 1.1.4 and try with the new text features.

monicar (monicar) said : #4

Where can I find the documentation code for Java?

I see all answers mostly in Python.

Thanks

On Thu, Oct 25, 2018, 5:16 AM RaiMan <email address hidden>
wrote:

> Your question #675532 on Sikuli changed:
> https://answers.launchpad.net/sikuli/+question/675532
>
> Status: Open => Answered
>
> RaiMan proposed the following answer:
> use 1.1.4 and try with the new text features.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/sikuli/+question/675532/+confirm?answer_id=2
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/sikuli/+question/675532
>
> You received this question notification because you asked the question.
>

Best RaiMan (raimund-hocke) said : #5

read the docs about the features:
https://sikulix-2014.readthedocs.io/en/latest/index.html

... and yes most examples are in Python, but some hints are on Java, where appropriate.

For the rest you have to look into the javadocs (https://raiman.github.io/SikuliX1/javadocs/index.html) or into the code (code-completion).

monicar (monicar) said : #6

Thanks RaiMan, that solved my question.