Hi mukesh sir hope you are doing good, I have one doubt let's say I am creating one end to end flow where the first page belongs to the login page and then create the course and then log out. And I am taking login test data from excel using data provider in which valid credentials and invalid credentials are there so how this flow will be done. Because for invalid we have to handle warning messages.? Please help me on this.
I have facing below issue while creating build using maven : Error:(3, 34) java: cannot access org.openqa.selenium.remote.RemoteWebElement bad class file: C:\Users\[username]\.m2 epository\org\seleniumhq\selenium\selenium-remote-driver\4.16.1\selenium-remote-driver-4.16.1.jar(org/openqa/selenium/remote/RemoteWebElement.class) class file has wrong version 55.0, should be 52.0 Please remove or make sure it appears in the correct subdirectory of the classpath. below dependencies i have used selenium-java - 4.16.1 io.appium - 8.2.1 testng - 7.8.0 java (jdk) -17 Did you have any idea why this issue I am facing, I am trying solve but did not get any solution.. If you have any solution ..please suggest..
Hi Mukesh. Thanks a lot, my tests are finally running. However, there's something weird happening on my side. The issue does not happen when I run my test with mvn test command. However, even after changing testNG version, I get the same issue/error when I run my test on clean IDE (Run as > TestNG Test), but it works if I use mvn test command on terminal. eclipse version: 2024-09 (4.33.0) java: 11.0.24 2024-07-16 LTS (also tried java 8) macOS: sequoai 15.0.1 chip: M1 At the moment, I am able to run my tests via mvn terminal, but I would like to resolve the issue when I run on eclipse IDE. Thanks
It works for me really I spend whole day to fix it. After watching your video less than 1 min issue fixed. Really u helped me alot.
Hi mukesh sir hope you are doing good, I have one doubt let's say I am creating one end to end flow where the first page belongs to the login page and then create the course and then log out. And I am taking login test data from excel using data provider in which valid credentials and invalid credentials are there so how this flow will be done. Because for invalid we have to handle warning messages.? Please help me on this.
Hi Ashish in such cases you need to keep this scenario as seperate classes.
I have facing below issue while creating build using maven : Error:(3, 34) java: cannot access org.openqa.selenium.remote.RemoteWebElement
bad class file: C:\Users\[username]\.m2
epository\org\seleniumhq\selenium\selenium-remote-driver\4.16.1\selenium-remote-driver-4.16.1.jar(org/openqa/selenium/remote/RemoteWebElement.class)
class file has wrong version 55.0, should be 52.0
Please remove or make sure it appears in the correct subdirectory of the classpath.
below dependencies i have used
selenium-java - 4.16.1
io.appium - 8.2.1
testng - 7.8.0
java (jdk) -17
Did you have any idea why this issue I am facing, I am trying solve but did not get any solution..
If you have any solution ..please suggest..
I got the solution... when I apply java version 11 then it resolve...
thank you so much for this information. my tests are running now easily
Great Payal Happy Learning
Im also facing the same issue but not with TestNG but with Webdriver.class....can you please provide me a solution??
which version of selenium u r using?
I'm facing same issue with maven and Java 11. So what is solution so I can use Java 11.
Have you tried the solution which I have mentioned in the video?
Thanks. It helped me solve my problem. You saved my time.
Iam not using testng, still its showing , when i used selwnium code it came before it was fine
Hi Bhagyashree, please use Java 11 or Java 17 with Selenium 4.24.0 to fix this issue.
@@Mukeshotwani ok , i will do it sir thank you
Really it works for me thank you so much☺
Hi Mukesh. Thanks a lot, my tests are finally running. However, there's something weird happening on my side. The issue does not happen when I run my test with mvn test command. However, even after changing testNG version, I get the same issue/error when I run my test on clean IDE (Run as > TestNG Test), but it works if I use mvn test command on terminal.
eclipse version: 2024-09 (4.33.0)
java: 11.0.24 2024-07-16 LTS (also tried java 8)
macOS: sequoai 15.0.1
chip: M1
At the moment, I am able to run my tests via mvn terminal, but I would like to resolve the issue when I run on eclipse IDE.
Thanks
Hi Dede, you can also upgrade and downgrade plugin in eclipse which should fix the issue.
Hello sir please start POM in playwright 🙏
Whoever is reading this, never give up. God is with you.
its uploaded
Its works for me thanks a lot🤩
great
Issue resolved, thanks..
Really it works for me thank you so much☺
Hey Prity, I am glad it helped.