Re: [Sikuli-driver] [Question #402289]: Test Loop System

2016-09-27 Thread Georg Steyn
Question #402289 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/402289

Status: Answered => Solved

Georg Steyn confirmed that the question is solved:
Thanks RaiMan, that solved my question.

-- 
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 : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #402289]: Test Loop System

2016-09-27 Thread Georg Steyn
Question #402289 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/402289

Georg Steyn posted a new comment:
Thank You very much.

So basically do it the Python way.

-- 
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 : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #402289]: Test Loop System

2016-09-27 Thread Georg Steyn
Question #402289 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/402289

Status: Needs information => Open

Georg Steyn gave more information on the question:
That is one way but for a other type of test.
The whole ideas is to test the software for manual input.

Just like 5 or 10 new users and then after that do few other processes and 
use the same users.

We are testing the GUI. Thats why we are using sikuli after all.

-- 
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 : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Question #402289]: Test Loop System

2016-09-26 Thread Georg Steyn
New question #402289 on Sikuli:
https://answers.launchpad.net/sikuli/+question/402289

Hello

I know a similar question have been asked:
https://answers.launchpad.net/sikuli/+question/141373

But i want to go bit further. Need some advice and help. Please

Basically imagine a create account screen where you fill in unique info that 
you want to use later.

I want to parse a file with names. Parse another file with surname and another 
with ID number ect ect.

It would be some kind of "parse" and "for" system i guess and import the 
.sikuli folder with the .py names and other .sikuli folder
with the .py surnames ect ect.

Don't know how to go about it really. Bit new with python also.

-- 
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 : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #394807]: Sikuli Script running test twice.

2016-09-19 Thread Georg Steyn
Question #394807 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/394807

Georg Steyn posted a new comment:
Oh! Sorry i didn't see that comments. :-)
Thank You very much RaiMan.

-- 
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 : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #394807]: Sikuli Script running test twice.

2016-09-19 Thread Georg Steyn
Question #394807 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/394807

Status: Needs information => Solved

Georg Steyn confirmed that the question is solved:
Thanks RaiMan, that solved my question.

-- 
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 : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #394807]: Sikuli Script running test twice.

2016-09-15 Thread Georg Steyn
Question #394807 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/394807

Status: Answered => Open

Georg Steyn is still having a problem:
Ok Thank You.

Just one little import note i forgot to mention:

If i open Sikuli IDE =>  File =>  Preferences =>  more options ... =>
save =>  close screen =>  Apply => ok => ok

If i do all that and then run the code its works fine for the first time.
If you run it again the twice code run thing start again.

Just little side note.

-- 
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 : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #394807]: Sikuli Script running test twice.

2016-09-15 Thread Georg Steyn
Question #394807 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/394807

Status: Needs information => Open

Georg Steyn gave more information on the question:
Oh Yes ok Sorry I understand.  :-)

call C:\SikuliX\runsikulix.cmd -r
C:\Users\Test2\Documents\Automated_Tests\GoodxLoginScreen.sikuli

-- 
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 : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #394807]: Sikuli Script running test twice.

2016-09-15 Thread Georg Steyn
Question #394807 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/394807

Status: Answered => Open

Georg Steyn is still having a problem:
Thanks for the Quick Response.
Do you mean the import GoodxConfig that i am importing.

If so this is the code for that file. I can't see any problems to my
knowledge.

Belowe is the code for GoodxConfig.py

#Links with GoodxLoginScreen.py
#from sikuli import *
import os
#Set the test Lang for Images.
#For Afrikaans Imgages: afr_eng = afr
#For English Images: afr_eng = eng
lang = "eng"

#Path to Sikuli Img
imgPath = 
os.path.normpath("C:/Users/User/Documents/Local_Repro/main/imageLibrary.sikuli/eng")
 if lang == "eng" else 
os.path.normpath("C:/Users/User/Documents/Local_Repro/main/imageLibrary.sikuli/afr")
 

#Call Imgage from Image Path
gxnav_login_entity_caption_combo = imgPath + 
"\gxnav\gxnav_login_entity_caption_combo.png"
gxnav_login_entity_combo_value = imgPath + 
"\gxnav\gxnav_login_entity_combo_value.png"
gxnav_login_okbutton = imgPath + "\gxnav\gxnav_login_okbutton.png"
gxnav_login_password_caption_edit = imgPath + 
"\gxnav\gxnav_login_password_caption_edit.png"
gxnav_login_username_caption_combo = imgPath + 
"\gxnav\gxnav_login_username_caption_combo.png"
gxnav_login_username_combo_value = imgPath + 
"\gxnav\gxnav_login_username_combo_value.png"

UserPassword='x'

#Test type is "click" or "keys"
TestType="click"

-- 
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 : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Question #394807]: Sikuli Script running test twice.

2016-09-14 Thread Georg Steyn
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 : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #392838]: Want to create a report on multitests that ran in sequence?

2016-09-12 Thread Georg Steyn
Question #392838 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/392838

Georg Steyn posted a new comment:
Thank You very much.
Shall look into it!!! :-)

-- 
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 : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #392838]: Want to create a report on multitests that ran in sequence?

2016-09-12 Thread Georg Steyn
Question #392838 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/392838

Georg Steyn posted a new comment:
Well i am working for a Software company called Goodx Software. We need to test 
our GUI
on multiple test at the same time.

So basically after work when we all leave we want to start up for example 100 
or 500 tests
and then tomorrow morning see where what failed and then go look at it.

So a reporting thing would be brilliant. But with your answer on the UnitTest 
it could work.
Never used it before, but one could always learn.

-- 
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 : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #392838]: Want to create a report on multitests that ran in sequence?

2016-09-12 Thread Georg Steyn
Question #392838 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/392838

Status: Answered => Solved

Georg Steyn confirmed that the question is solved:
Thanks for Your Input.
I saw there were actually allot of other people
asking similar things, sorry for the double  post.

-- 
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 : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #392838]: Want to create a report on multitests that ran in sequence?

2016-09-12 Thread Georg Steyn
Question #392838 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/392838

Georg Steyn confirmed that the question is solved:
Thanks RaiMan, that solved my question.

-- 
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 : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #392838]: Want to create a report on multitests that ran in sequence?

2016-09-12 Thread Georg Steyn
Question #392838 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/392838

Description changed to:
I am working with Sikuli for 2 weeks now and its greate so far.
But i need one thing and don't really know how to go about it.

I am running Multiple Sikuli tests in sequence  with a Python script.
And i want to make a report that tells me after all the test have run.

Which were successful and which where unsuccessful, if one of the tests
did not run correctly. I want an error log that tells me what went wrong
on the specific test.

-- 
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 : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Question #392838]: Want to create a report on multitests that ran in sequence?

2016-09-12 Thread Georg Steyn
New question #392838 on Sikuli:
https://answers.launchpad.net/sikuli/+question/392838

I am working with Sikuli for 2 weeks now and its create so far.
But i need one thing and don't really know how to go about it.

I am running Multiple Sikuli tests in sequence  with a Python script.
And i want to make a report that tells me after all the test have run.

Which were successful and which where unsuccessful, if one of the tests
did not run correctly. I want an error log that tells me what went wrong
on the specific test.

-- 
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 : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp