Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue running tests #1

Open
leder11011 opened this issue Mar 18, 2020 · 2 comments
Open

issue running tests #1

leder11011 opened this issue Mar 18, 2020 · 2 comments

Comments

@leder11011
Copy link

leder11011 commented Mar 18, 2020

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
Copy link
Author

leder11011 commented Mar 18, 2020

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant