Pisces_af is an UI automated test framework based on Sikulix and was used for Game UI testing. It's easy to use and can use some continuous integration tools like Jenkins to manage several clients to run different autotest script.
It's from a game testing project and not completely been modified for common use yet, welcome to improve it together!
Requirement
Sikulix 1.1.2
(include java environment) : https://raiman.github.io/SikuliX-2014/nightly.html
python2.7
and pywin32
(If you want to locate the game window in windows system, you will need it)
Environment variables
In Windows system, you need add some environment variables
SIKULIX_HOME
:Your sikulix folder e.g. D:\SikuliX1.1.2\
JAVA_HOME
: Your JDK folder path
CLASSPATH
: %SIKULIX_HOME%sikulixapi.jar
Path configuration
runsikulix.bat
:
"%JAVA_HOME%\bin\java.exe" %PARMS% -jar "%SIKULIX_HOME%%SJAR%.jar" -c -d 3 -f -r "E:\pisces_af\"
gl.py
:
project_path = "E:\\pisces_af"
pisces_af.py
:
project_path = "E:\\pisces_af"
How to Run
modify the config.ini
in config folder
Add two sessions:
[Your computer's name] ; etc [My-PC]
ScreenCaptureMode = Fail
WaitScanRate = 1
ObserveScanRate = 1
MoveMouseDelay = 0.3
[Your computer's name_Tasksuit] ;etc [My-PC_tasksuit]
test = 1
run runsikulix.bat