healenium / healenium-appium

Self-healing library for Appium-based tests
Apache License 2.0
26 stars 8 forks source link

Unable to integrate with appium #29

Open ghost opened 3 years ago

ghost commented 3 years ago

While running getting "no class found :type config " exception

AnatoliZaitsau commented 3 years ago

Could you please show stacktrace of this error

ghost commented 3 years ago

Aug 31, 2021 2:11:36 PM io.appium.java_client.remote.AppiumCommandExecutor$1 lambda$0 INFO: Detected dialect: W3C Exception in thread "main" java.lang.NoSuchMethodError: com.epam.healenium.SelfHealingEngine.(Ljava/lang/Object;Lcom/typesafe/config/Config;)V at com.epam.healenium.appium.AppiumEngine.(AppiumEngine.java:50) at com.epam.healenium.appium.DriverWrapper.wrap(DriverWrapper.java:45) at com.epam.healenium.appium.DriverWrapper.wrap(DriverWrapper.java:38) at Automation.SelfHealingTest.Demo.main(Demo.java:48)

AnatoliZaitsau commented 3 years ago

Thank you for the information, we need some time to investigate

ashish143ti commented 3 years ago

Hi @Mitrabhanu-tech and @AnatoliZaitsau ,

I didn't get such issue at the time of Appium integration , the major bug I have found from my end - self healing not working .

I guess you are getting this issue due to type safe (jar) version conflict issue or instead of using healenium appium 1.2 maven dependancy you have directly imported healenium appium jar in to your project, kindly use maven dependancy of healenium appium 1.2 , in case you are already using healenium appium dependancy than remove existing type safe config maven dependency or declare below dependency in pom.xml .

com.typesafe config 1.4.1
ghost commented 3 years ago

Thnks for your update, but my application is opeing two times while iam running

ghost commented 3 years ago

@ashish143ti: is your application invoking two times