New question #394807 on Sikuli:
https://answers.launchpad.net/sikuli/+question/394807

Hello

My Sikuli Test is runnig twice and i don't know why.
But its breaking the whole test. Do someone have any
tips plesae.

Here is the script:

#Georg Steyn - Goodx Login Screen - 2016/09/14
from sikuli import *
from GoodxLoginScreen import GoodxConfig

#Test for clicks
if GoodxConfig.TestType=="click":
        click( GoodxConfig.gxnav_login_entity_caption_combo )
        click( GoodxConfig.gxnav_login_entity_combo_value )
        click( GoodxConfig.gxnav_login_username_caption_combo )
        click( GoodxConfig.gxnav_login_username_combo_value )
        click( GoodxConfig.gxnav_login_password_caption_edit )
        type( GoodxConfig.UserPassword )
        click( GoodxConfig.gxnav_login_okbutton )

#Test with Keys
if GoodxConfig.TestType== "keys":
        click( GoodxConfig.gxnav_login_password_caption_edit )
        type( Key.TAB, KeyModifier.SHIFT ) #tab backwards to username field
        type( Key.TAB, KeyModifier.SHIFT ) #tab backwards to entity field
        type( Key.TAB )
        type( "G")
        type( Key.TAB ) # TAB to password field
        type( GoodxConfig.UserPassword )
        type( Key.F2 )

In both If statments it runs twice.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to