automation-framework icon indicating copy to clipboard operation
automation-framework copied to clipboard

issue running tests

Open leder11011 opened this issue 4 years ago • 2 comments

Hello Angie, thanks a lot for your automation framework: thats exactly what I have been looking for!

Unfortunately I have some issues:

  • the generated jar is not executing, it has no manifest for that
  • mvn clean test is not running the tests
  • pom.xml is not including the correct WebDriver/Chromedriver as stated in the error here:

leder@leder-ryzen-home:~/Git/automation-framework/automation-framework/target/classes$ java services.CartServices Fehler: Hauptklasse services.CartServices kann nicht initialisiert werden Ursache: java.lang.NoClassDefFoundError: org/openqa/selenium/WebDriver

Thanks for listening I would like to stay in touch Gerrit

leder11011 avatar Mar 18 '20 06:03 leder11011

BTW: I included in pom.xml the properties section as follows:

    <maven.compiler.source>8</maven.compiler.source>
    <maven.compiler.target>8</maven.compiler.target>

leder11011 avatar Mar 18 '20 08:03 leder11011

The third issue in my OP is ok now: I have installed google-chrome-stable in ubuntu 18.04!

But I have absolutely no clue how to use your framework: the visual_tests in Jessica's repository just work for me! The first issue is the missing manifest when executing the jar, the second issue is mvn clean test doing nothing. In the project sources I can see no public static void main method. Could you please elaborate on how to implement your framework correctly?

Thanks a lot!

Yours Gerrit

leder11011 avatar Mar 19 '20 21:03 leder11011