Squash TA plugin Selenium - error when running with maven

alexandre.saintorens@gmail.com
Messages : 1
Inscription : ven. juil. 08, 2016 12:44 pm

Squash TA plugin Selenium - error when running with maven

Message par alexandre.saintorens@gmail.com »

Hello there,

I'm trying to execute my selenium script with squash TA but impossible to do it.

I have some issues first : "delete the package from the test class" if i do that i have a compilation problem.

So i have my file test "first-test.ta"



[code]SETUP :

LOAD seleniumConf.properties AS seleniumConf.file
CONVERT seleniumConf.file TO configuration.selenium AS seleniumConf
EXECUTE launch WITH seleniumConf AS seleniumServer

// here we test the macro defined in shortcuts/sample_shortcut.macro. Note that none of the instructions here are case sensitive :

TEST :
# EXECUTE_SELENIUM2 seleniumTests WITH MAIN CLASS test1
TEARDOWN :
EXECUTE cleanup WITH seleniumServer AS ignoredResource[/code]


I run it with maven :

[URL=http://www.hostingpics.net/viewer.php?i ... nMaven.png][IMG]http://img15.hostingpics.net/thumbs/min ... nMaven.png[/IMG][/URL]

and the error :

[code][INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building test3 1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- squash-ta-maven-plugin:1.6.0-RELEASE:run (default) @ test3 ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.600 s
[INFO] Finished at: 2016-07-08T15:51:42+02:00
[INFO] Final Memory: 11M/121M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.squashtest.ta:squash-ta-maven-plugin:1.6.0-RELEASE:run (default) on project test3: Unable to parse configuration of mojo org.squashtest.ta:squash-ta-maven-plugin:1.6.0-RELEASE:run for parameter tmCallBack: Cannot create instance of interface org.squashtest.ta.framework.facade.Configurer: org.squashtest.ta.framework.facade.Configurer.() -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/disp ... nException
[/code]

and my pom.xml

[code]


4.0.0

com.sogeti
test3
pom
1




1.6.0-RELEASE

src/log4j.properties






org.squashtest.ta
squash-ta-maven-plugin
${ta.framework.version}





















${ta.jenkins.attachment.mode}







${status.update.events.url}
${squash.ta.external.id}
${jobname}
${hostname}
${squash.ta.conf.file}
${ta.tmcallback.reportbaseurl}
${ta.tmcallback.jobexecutionid}
${ta.tmcallback.reportname}








run










org.squashtest.ta.release
squashtest test automation - releases
http://repo.squashtest.org/maven2/releases






org.squashtest.plugins.release
squashtest.org
http://repo.squashtest.org/maven2/releases

false


true








net.sourceforge.javacsv
javacsv
2.0




[/code]

It's feels like this framework is fucked up. I have followed the tutorial n3 but it's from 2012...
Répondre

Revenir à « Selenium Plugin »