Pages

14 July, 2023

What is the Java 17 alternative for com.googlecode.robotframework-maven-plugin : robotframework-maven-plugin?

We have been using the following plugin: com.googlecode.robotframework-maven-plugin robotframework-maven-plugin 1.1.2 prepare-test run src/test/resources/robotframework/prepare Prepare.Prepare-Tests.Prepare NREG target TAGS:${tags} NOTAGS:${notags} test-data/common.py test-data/servers/${arc}.py execute-test run test-data/nreg/tests test-data/nreg test-data/nreg/tests/tags.txt TDD true We want the test project to be migrated to Java 17. I tried using org.robotframework robotframework-maven-plugin 2.1.0 But, it throws an error: [ERROR] Failed to execute goal org.robotframework:robotframework-maven-plugin:2.1.0:run (execute-test) on project tarc-robot: Invalid test data or command line options. Some of the posts on internet suggests, the testCasesDirectory can only contain robot files and not HTML files.We have a lot of HTML files generated at the testCasesDirectory location. Could someone suggests an alternative for com.googlecode.robotframework-maven-plugin: robotframework-maven-plugin which supports HTML files in testCasesDirectory or a way to make this plugin work with Java 17 ? com.googlecode.robotframework-maven-plugin: robotframework-maven-plugin needs tools jar version 1.6, which is no longer present in Java 17 but was present in Java 8.

No comments:

Post a Comment

Thanks