Skip to content

8Avalon8/pisces_af

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pisces_af

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

About

An UI autotest framework based on Sikulix

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published