New question #262653 on Sikuli:
https://answers.launchpad.net/sikuli/+question/262653
I have a Java project and i have used sikuli and selenium.
I integrated this with Jenkins and now after running i am getting following
error:
init:
[delete] Deleting directory
C:\jenkins\workspace\espn_discovery\behavioral_tests\ESPN_Harness\build
[delete] Deleting directory
C:\jenkins\workspace\espn_discovery\behavioral_tests\ESPN_Harness\testng_output
[mkdir] Created dir:
C:\jenkins\workspace\espn_discovery\behavioral_tests\ESPN_Harness\build
compile:
[javac] Compiling 4 source files to
C:\jenkins\workspace\espn_discovery\behavioral_tests\ESPN_Harness\build
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
run:
[mkdir] Created dir:
C:\jenkins\workspace\espn_discovery\behavioral_tests\ESPN_Harness\testng_output
[testng] ...
[testng] ... TestNG 6.8.2beta_20130330_0839 by Cédric Beust
([email protected])
[testng] ...
[testng]
[testng] [TestRunner] Running the tests in 'Run on Firefox
Player_control_testcases' with parallel mode:classes
[testng] [RunInfo] Adding method selector:
org.testng.internal.XmlMethodSelector@1436e7a9 priority: 10
[testng] Feb 23, 2015 4:24:33 PM java.util.prefs.WindowsPreferences <init>
[testng] WARNING: Could not open/create prefs root node
Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...)
returned error code 5.
[testng] [TestClass] Creating TestClass for [ClassImpl
class=espn.harness.Opf_thruParam_Autoplay_metadata]
[testng] [TestNG] Running:
[testng]
C:\jenkins\workspace\espn_discovery\behavioral_tests\ESPN_Harness\executeXML\Opf_thruparam_Autoplay_metadata.xml
[testng]
[testng] [SuiteRunner] Created 1 TestRunners
[testng] [TestRunner] Running test Run on Firefox Player_control_testcases
on 1 classes, included groups:[] excluded groups:[]
[testng] ===== Test class
[testng] espn.harness.Opf_thruParam_Autoplay_metadata
[testng] @BeforeClass
Opf_thruParam_Autoplay_metadata.setup(java.lang.String,
java.lang.String)[pri:0,
instance:espn.harness.Opf_thruParam_Autoplay_metadata@600f44fe]
[testng] @Test
Opf_thruParam_Autoplay_metadata.thruparams_autoplay_on()[pri:0,
instance:espn.harness.Opf_thruParam_Autoplay_metadata@600f44fe]
[testng] @Test
Opf_thruParam_Autoplay_metadata.Playback_button_location_upper_right()[pri:0,
instance:espn.harness.Opf_thruParam_Autoplay_metadata@600f44fe]
[testng] @AfterClass Opf_thruParam_Autoplay_metadata.StopDriver()[pri:0,
instance:espn.harness.Opf_thruParam_Autoplay_metadata@600f44fe]
[testng] ======
[testng] [TestRunner] Starting executor for test Run on Firefox
Player_control_testcases with time out:2147483647 milliseconds.
[testng] [Invoker 1822246766] Invoking @BeforeClass
Opf_thruParam_Autoplay_metadata.setup(java.lang.String,
java.lang.String)[pri:0,
instance:espn.harness.Opf_thruParam_Autoplay_metadata@600f44fe]
[testng] Browser: FF
[testng] Url is:
[testng] FF is selected
[testng] --------------------------------------------------
[testng] Selenium is:null
[testng] WebDriver is:FirefoxDriver: firefox on WINDOWS
(683e679f-9fba-4a47-8153-cfdec4c13b88)
[testng] url is:
[testng] --------------------------------------------------
[testng] [Invoker 1822246766] Invoking
espn.harness.Opf_thruParam_Autoplay_metadata.thruparams_autoplay_on
[testng] running thruparam_autoplay_on
[testng] Waiting for image: /Autoplay_True/testcase_id.PNG
[testng] [error] ResourceLoaderBasic: checkLibsDir: libs folder outdated!
[testng] [error] ResourceLoaderBasic: check: libs dir is empty, has wrong
content or is outdated
[testng] [action] ResourceLoaderBasic: check: Please wait! Trying to extract
libs to:
C:/jenkins/workspace/espn_discovery/behavioral_tests/ESPN_Harness/lib/libs
[testng] [error] ResourceLoaderBasic: check: Fatal Error 102: not possible
to empty libs dir
[testng] [error] Terminating SikuliX after a fatal error(102)! Sorry, but it
makes no sense to continue!
[testng] If you do not have any idea about the error cause or solution, run
again
[testng] with a Debug level of 3. You might paste the output to the Q&A
board.
[testng] The tests failed.
****** Sikuli is unable to find the images and hence the code is not running on
jenkins.
--
You received this question notification because you are a member of
Sikuli Drivers, which 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