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...
Squash TA plugin Selenium - error when running with maven
-
- Messages : 1
- Inscription : ven. juil. 08, 2016 12:44 pm
Aller
- Présentez-vous / Introduce yourself
- Squash
- ↳ Exigences / Requirements
- ↳ Cas de test / Test cases
- ↳ Campagnes / Campaigns
- ↳ Pilotage / Management
- ↳ Administration
- ↳ Bugtrackers
- ↳ Xsquash
- ↳ Installation & Base de données / Installation & Database
- ↳ API Rest Test Management
- Support des tests automatisés
- ↳ Version alpha
- ↳ Conception / Design
- ↳ Écriture tests au format BDD / Writing BDD test cases
- ↳ Gestion bibliothèque d'actions / Management action library
- ↳ Realisation
- ↳ Workflow d'automatisation / Automation workflow
- ↳ Rapports HTML / HTML reports (format Allure)
- ↳ Transmission de paramètres
- ↳ Implementation
- ↳ Association scripts de test - cas de test manuels / test scripts - manual test cases
- ↳ Création de plan d'exécution "as code" / Creation of execution plan "as code"
- ↳ Execution
- ↳ Pilotage de tests automatisés / Management of automated test execution
- ↳ Historique des exécutions automatisées / History of automated runs
- ↳ Gestionnaire de code Git / Git code manager
- ↳ Technologies d'automatisation de tests
- ↳ Junit
- ↳ Cucumber
- ↳ Robot Framework
- ↳ Cypress
- ↳ SoapUI
- ↳ UFT
- ↳ Ranorex
- ↳ Agilitest
- ↳ Katalon
- Intégration à la CI/CD
- ↳ Version alpha
- ↳ Déclenchement des "plans d'exécution as code" dans Jenkins / Triggering execution plans "as code" in Jenkins
- ↳ Intégration des "plans d'exécution as code" / Integration of execution plans "as code"
- ↳ GitLab CI
- ↳ Azure DevOps
- ↳ AWS CodeBuild
- ↳ Cloudbees CI
- ↳ Xebia Labs XL
- ↳ Execution
- ↳ Récupération des plans d'exécution et paramètres / Retrieve predefined execution plans and parameters
- ↳ Exploitation des résultats dans Allure EE / Exploitation of the results of automated executions in Allure EE
- Gestion de la communauté / Community Management
- ↳ Contributions
- ↳ Questions générales / General questions
- ↳ Propositions d'évolution / Ask for new features
- Squash TF
- ↳ SKF et rapports / SKF and reports
- ↳ SKF
- ↳ Reporting
- ↳ SKF Plugins
- ↳ Sahi Plugin
- ↳ Database plugin
- ↳ FTP Plugin
- ↳ SSH Plugin
- ↳ Filechecker Plugin
- ↳ Selenium Plugin
- ↳ SoapUI Plugin
- ↳ Local Process Plugin
- ↳ IDE Plugins
- ↳ TA Toolbox & Installation
- ↳ Installation
- ↳ TA Toolbox
- ↳ Eclipse Plugin
- ↳ IntelliJ Plugin
- ↳ Squash Execution Server
- ↳ Lien cas de test - tests automatisés / Test cases - automated tests link