OS X - Firefox: Pattern misrecognition

Bug #512713 reported by HellCook
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SikuliX
Confirmed
Undecided
Unassigned

Bug Description

 Hi,

 I tried automating proxy activation in Firefox on OS X.
In the Firefox->Preferences->Advanced->Network->Connection Parameters:
 No matter how large (tried big and little patches) selecting the pattern centered on "Manual configuration of the proxy" when running the script:
- the first execution sometimes click on the good "Manual configuration of the proxy" (good recognition, no problem) and more often recognize "Use system's proxy's parameters".
- from the second execution the script always recognize "Use system's proxy's parameters" instead of "Manual configuration of the proxy".

NB: I use firefox localized in french, maybe this wrong recognition doesn't occur with english characters.

Anyway, it's a nice project.

Revision history for this message
Tom Yeh (doubleshow) wrote :

If possible, can you please send us the images involved in the recognition. The images can help us debug the vision recognition system. Thanks!

Tom
Project Sikuli

Revision history for this message
HellCook (m-boucher-42) wrote : Re: [Bug 512713] Re: OS X - Firefox: Pattern misrecognition

Hi,

 For sure, I send you two screen capture, one of the problematic box, the
other one the same with more or less (painted with Gimp) the different
selections I tried.
 Hope this helps.

Max

2010/1/26 Tom Yeh <email address hidden>

> If possible, can you please send us the images involved in the
> recognition. The images can help us debug the vision recognition system.
> Thanks!
>
> Tom
> Project Sikuli
>
> --
> OS X - Firefox: Pattern misrecognition
> https://bugs.launchpad.net/bugs/512713
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Sikuli: New
>
> Bug description:
> Hi,
>
> I tried automating proxy activation in Firefox on OS X.
> In the Firefox->Preferences->Advanced->Network->Connection Parameters:
> No matter how large (tried big and little patches) selecting the pattern
> centered on "Manual configuration of the proxy" when running the script:
> - the first execution sometimes click on the good "Manual configuration of
> the proxy" (good recognition, no problem) and more often recognize "Use
> system's proxy's parameters".
> - from the second execution the script always recognize "Use system's
> proxy's parameters" instead of "Manual configuration of the proxy".
>
> NB: I use firefox localized in french, maybe this wrong recognition doesn't
> occur with english characters.
>
> Anyway, it's a nice project.
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/sikuli/+bug/512713/+subscribe
>

Tom Yeh (doubleshow)
Changed in sikuli:
assignee: nobody → Tom Yeh (doubleshow)
Revision history for this message
Tom Yeh (doubleshow) wrote :

To use sikuli to reliably click on the right radio button, the best way is to find a larger region containing both the radio button and the text first then find within the region for the radio button. Sometimes using only the region surrounding the radio buttons does not work because it contains too little distinctive features (all radio buttons look the same).

Attached is the piece of code that can help you click on the right radio button (code1.png).

In the future release of Sikuli, we will consider adding built-in radio button support.

But for now, you can feel free to build your own click_button function (code2.png).

Hope this helps!!

Tom

Revision history for this message
Tom Yeh (doubleshow) wrote :
Changed in sikuli:
status: New → Fix Committed
RaiMan (raimund-hocke)
Changed in sikuli:
assignee: Tom Yeh (doubleshow) → nobody
status: Fix Committed → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.