[Sikuli-driver] [Bug 1858435] Re: Combo to Front

2020-01-07 Thread Jeff_Vallis
You can do the above without me supplying a screen shot as its just any
browser

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1858435

Title:
  Combo to Front

Status in Sikuli:
  New

Bug description:
  https://answers.launchpad.net/sikuli/+question/272494

  
  Combo not "ALWAYS" coming to front and workaround above not working

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1858435/+subscriptions

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 1858435] Re: Combo to Front

2020-01-07 Thread Jeff_Vallis
Snippet
g_MoveMouseDelay = 1

Settings.MoveMouseDelay = g_MoveMouseDelay

# =
"""
   INSTRUCTIONS
Open Google
Search for
sikuli guide
set screen big enough
"""
# =

setRect(1,30,1234,821)
highlight(1)

# =
"""
   INSTRUCTIONS
set Image to first Item in the display results 
Sikuli Guide — Sikuli X 1.0 documentation
"""
# =


v_Image = "v_Image.png"
v_Image_1 = Pattern(v_Image).similar(0.90)

if 1 == 1:
v_Combo_Header = "Click Back and Select Item" ; v_Items = ("Click 
v_Image_1","Exit")
#selected = select("Select Item", ("Click v_Image_1","Exit"))
selected = select(v_Combo_Header, options = v_Items )
if selected == "Exit":
exit(0)
if exists(v_Image_1):
# Get Focus
click(Location(72, 297))
click(v_Image_1)
print "Clicked"
else:
print "Start Test Failed"
exit(0)

for i in range(10):
print "Loop",i
v_Combo_Header = "DO I HAVE FOCUS This Time ? Click Back and Select 
Item" ; v_Items = ("Click v_Image_1","Exit")
print v_Items
selected = select(v_Combo_Header, options = v_Items )
if selected == "Exit":
exit(0)
if exists(v_Image_1):
# Get Focus
click(Location(72, 297))
click(v_Image_1)
else:
print "Test Failed"
exit(0)

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1858435

Title:
  Combo to Front

Status in Sikuli:
  New

Bug description:
  https://answers.launchpad.net/sikuli/+question/272494

  
  Combo not "ALWAYS" coming to front and workaround above not working

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1858435/+subscriptions

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp