paypal / SeLion

Enabling Test Automation in Java
http://selion.io
Apache License 2.0
281 stars 233 forks source link

Selion Dependency Issue #386

Closed BoomaRajan closed 5 years ago

BoomaRajan commented 5 years ago

SeLion Version

1.2.0

Component

SeLion

Expected Behavior

When I added dependency of SeLion.My Actual test script should work

Actual Behavior

When I added dependency of SeLion.My test script are ignored ClassNotFoundException com.paypal.selion.logger.SeLionLogger

My java project has already testng and selenium dependency

Steps to Reproduce

Add testng and selenium driver dependency. Build script using selenium API. Add the seLion dependency. Run the test script ,It will throw an error

mach6 commented 5 years ago

SeLionLogger is part of the SeLion-Common.jar artifact. Make sure you add that as a dependency also, if your dependency management system is failing to pull it in automatically for you.

See - http://paypal.github.io/SeLion/html/java-docs/1.2.0/common-apis/index.html

Also, it sometimes helps in instances like this if you can include an example.