← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #263287]: Best way to read a combobox, or any other control with unselectable content

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
As far as I understand:
you are typing some characters in a field of a combobox, which selects an entry and at some time of typing, you want to verify that you want to use the selected entry.

If this is right:
If Region.text() does not work reliable (or can be made reliable, by dealing with some regular exceptions), then you have no chance with Sikuli.
even if you could use images, then you first need a routine, that maps text entries to images and for this you need to know the text entries (here the loop starts ;-)

The only idea:
be satisfied with what you can decide using Region.text() and proceed. 
Is there any chance some steps later to verify your choice?
If yes, then go back and choose another entry.

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