thanks a lot mukesh for starting video on serenity series .. it was my much awaited wish.. thanks a lot for making and understanding serenity video very easy ..really excited to see on the next serenity video series ..
Performed all steps like explained and all worked fine. Then i went on to delete the contents of my config file having the path to my browser executables- surprisingly it worked. Can u explain why??
Hi Mukesh, Trying on Windows. After importing the project, getting error in pom for maven-failsafe-plugin:2.22.1 - dependencies could not be resolved. Nothing happened after updating maven project. Can you please help? Thanks!!
Sir, i use windows 10 x64. When i want to run scripts on chrome, it said that " 01:46:01.281 [main] ERROR - Could not instantiate new WebDriver instance of type class org.openqa.selenium.chrome.ChromeDriver (session not created: This version of ChromeDriver only supports Chrome version 86"so i have to switch to firefox to continue. But, if i want to test on chrome, what should i do? Or i cannot test sing chome driver on windows x64? Please help me
@@Mukeshotwani i dont know how it work sir. It does not work when i ask you, then works the day after that. And now, it does not work. So i am using firefox instead and it's okay. Thank you sir
Hey Alex, Here is the github link github.com/serenity-bdd/serenity-core/tree/master/serenity-appium Code will remain same only setup with devices will change. I will record video on this soon.
sir while I am executing I get only error that is 12:12:34.383 [main] ERROR - WebDriver was unable to create a new instance of type class org.openqa.selenium.chrome.ChromeDriver
@@Mukeshotwani do you have any reference where we can see the usage of TestNG instead of Junit. I've seen some blogs who states that serenity doesn't support TestNG. it would be great if you can provide the usage reference.
Hi mukesh thank you for this video and i got this error Could not instantiate new WebDriver instance of type class org.openqa.selenium.firefox.FirefoxDriver (Unable to find a matching set of capabilities 22:37:30.078 [pool-2-thread-1] INFO n.t.c.r.PackageRequirementsTagProvider - Loading requirements from package requirements at: starter please say the solution.
@@Mukeshotwani yes mukesh i tried with chrome also but it's insitiate Firefox only it's not considering chrom browser then i did each and every steps as per your in your video but i tried to resolve so please could you resolve this issue? My fire fox is latest one.
@@rajeshbe2234 I was facing same issue. Removed serenity.conf file and added below into serenity.properties file and it's working serenity.project.name=Serenity and JUnit Quick Start Project serenity.test.root=testcases webdriver.driver=chrome drivers.windows.webdriver.chrome.driver = src/test/resources/drivers/windows/chromedriver.exe drivers.mac.webdriver.chrome.driver = src/test/resources/drivers/mac/chromedriver drivers.linux.webdriver.chrome.driver = src/test/resources/drivers/linux/chromedriver
Hi Mukesh, I tried to run the same test, i was still getting chrome driver Could not instantiate class org.openqa.selenium.chrome.ChromeDriver how do i fix it
I was facing same issue. Removed serenity.conf file and added below into serenity.properties file and it's working serenity.project.name=Serenity and JUnit Quick Start Project serenity.test.root=testcases webdriver.driver=chrome drivers.windows.webdriver.chrome.driver = src/test/resources/drivers/windows/chromedriver.exe drivers.mac.webdriver.chrome.driver = src/test/resources/drivers/mac/chromedriver drivers.linux.webdriver.chrome.driver = src/test/resources/drivers/linux/chromedriver
Hi mukesh I face this kind of issue Give the solution for this 12:18:28.691 [main] DEBUG - RELATED ISSUES: 12:18:28.692 [main] ERROR - Could not instantiate new WebDriver instance of type class org.openqa.selenium.firefox.FirefoxDriver (Cannot find firefox binary in PATH. Make sure firefox is installed. OS appears to be: WIN10
while I am executing its only coming error that is 12:12:34.383 [main] ERROR - WebDriver was unable to create a new instance of type class org.openqa.selenium.chrome.ChromeDriver
Hi Mukesh i am working at present in organisation i added chrome.exe file and run the test but i got this error Could not instantiate new WebDriver instance of type class org.openqa.selenium.chrome.ChromeDriver (The path to the driver executable must be set by the webdriver.chrome.driver system property; for more information, see github.com/SeleniumHQ/selenium/wiki/ChromeDriver. The latest version can be downloaded from chromedriver.storage.googleapis.com/index.html). See below for more details.
Thank you so much, Mukesh for all the tutorials.
It's really very helpful.
thanks a lot mukesh for starting video on serenity series .. it was my much awaited wish.. thanks a lot for making and understanding serenity video very easy ..really excited to see on the next serenity video series ..
Most welcome Jitendra, I have planned total 10 videos for serenity.
Performed all steps like explained and all worked fine. Then i went on to delete the contents of my config file having the path to my browser executables- surprisingly it worked. Can u explain why??
you are the best . Thanks so much
Glad it helped Thank you so much Pham for such a kind words.
Hi Mukesh,
Trying on Windows.
After importing the project, getting error in pom for maven-failsafe-plugin:2.22.1 - dependencies could not be resolved.
Nothing happened after updating maven project. Can you please help?
Thanks!!
Hi Soumya, please make sure you have Java 8 installed.
Yes I have java 8 installed
hey mukesh.. thank you so much for the videos ....
i know 720p is a good resolution already... but is there a possibility to upgrade it to 1080p :)
Sure Umang, I dont know why youtube convert into 720p. I export all video's in 1080p.
It's awsome! Do you have separete videos for serenity-cucumber -intellij Idea. Thanks
Hey Ibrahim, no mate as of now.
sir you have told that in this video will change some includes tag but you have not mentioned that
Suberb. I am new to serenity. So java latest version and eclipse needed to work with serenity am I right Thanks
I believe so. I was using Java 8 which is compatible.
Sir, i use windows 10 x64. When i want to run scripts on chrome, it said that "
01:46:01.281 [main] ERROR - Could not instantiate new WebDriver instance of type class org.openqa.selenium.chrome.ChromeDriver (session not created: This version of ChromeDriver only supports Chrome version 86"so i have to switch to firefox to continue. But, if i want to test on chrome, what should i do? Or i cannot test sing chome driver on windows x64?
Please help me
Hi Trinh, is it fixed?
@@Mukeshotwani i dont know how it work sir. It does not work when i ask you, then works the day after that. And now, it does not work. So i am using firefox instead and it's okay. Thank you sir
You are smarter than John
Hi Sir, please do more video s.....
8 more videos coming on serenity
@@Mukeshotwani Great Mukesh! Waiting for them !!! Thank you!
+1 sub bro, EXCELENT : )
Could you explain how to configure Appium to run tests with real devices (iOS and Android)?
+1 good idea bro
Hey Alex,
Here is the github link
github.com/serenity-bdd/serenity-core/tree/master/serenity-appium
Code will remain same only setup with devices will change. I will record video on this soon.
@@Mukeshotwani thx, I'll check it : )
sir is this video will be validate in the latest version of 2023
sir while I am executing I get only error that is
12:12:34.383 [main] ERROR - WebDriver was unable to create a new instance of type class org.openqa.selenium.chrome.ChromeDriver
Is this necessary to use JUNIT? Can we use TestNG? Thank you in advance
Yes you can use TestNG as well but yes you need to change runner class.
@@Mukeshotwani do you have any reference where we can see the usage of TestNG instead of Junit. I've seen some blogs who states that serenity doesn't support TestNG. it would be great if you can provide the usage reference.
Hi mukesh thank you for this video and i got this error Could not instantiate new WebDriver instance of type class org.openqa.selenium.firefox.FirefoxDriver (Unable to find a matching set of capabilities
22:37:30.078 [pool-2-thread-1] INFO n.t.c.r.PackageRequirementsTagProvider - Loading requirements from package requirements at: starter please say the solution.
Hi Rajesh, can you try the script with chrome as well?
For firefox make sure you have latest gecko driver in path.
@@Mukeshotwani yes mukesh i tried with chrome also but it's insitiate Firefox only it's not considering chrom browser then i did each and every steps as per your in your video but i tried to resolve so please could you resolve this issue? My fire fox is latest one.
@@rajeshbe2234
I was facing same issue. Removed serenity.conf file and added below into serenity.properties file and it's working
serenity.project.name=Serenity and JUnit Quick Start Project
serenity.test.root=testcases
webdriver.driver=chrome
drivers.windows.webdriver.chrome.driver = src/test/resources/drivers/windows/chromedriver.exe
drivers.mac.webdriver.chrome.driver = src/test/resources/drivers/mac/chromedriver
drivers.linux.webdriver.chrome.driver = src/test/resources/drivers/linux/chromedriver
Hi Mukesh, I tried to run the same test, i was still getting chrome driver Could not instantiate class org.openqa.selenium.chrome.ChromeDriver
how do i fix it
I was facing same issue. Removed serenity.conf file and added below into serenity.properties file and it's working
serenity.project.name=Serenity and JUnit Quick Start Project
serenity.test.root=testcases
webdriver.driver=chrome
drivers.windows.webdriver.chrome.driver = src/test/resources/drivers/windows/chromedriver.exe
drivers.mac.webdriver.chrome.driver = src/test/resources/drivers/mac/chromedriver
drivers.linux.webdriver.chrome.driver = src/test/resources/drivers/linux/chromedriver
@@vijaya3743 god bless you man!
@@vijaya3743 Thank you for your sharing that is very useful information
Hi mukesh I face this kind of issue
Give the solution for this
12:18:28.691 [main] DEBUG - RELATED ISSUES:
12:18:28.692 [main] ERROR - Could not instantiate new WebDriver instance of type class org.openqa.selenium.firefox.FirefoxDriver (Cannot find firefox binary in PATH. Make sure firefox is installed. OS appears to be: WIN10
Hi Satheesh, make sure FF is installed correctly.
Can I use this in android studio?
Yes
while I am executing its only coming error that is
12:12:34.383 [main] ERROR - WebDriver was unable to create a new instance of type class org.openqa.selenium.chrome.ChromeDriver
Hi Mukesh i am working at present in organisation i added chrome.exe file and run the test but i got this
error Could not instantiate new WebDriver instance of type class org.openqa.selenium.chrome.ChromeDriver (The path to the driver executable must be set by the webdriver.chrome.driver system property; for more information, see github.com/SeleniumHQ/selenium/wiki/ChromeDriver. The latest version can be downloaded from chromedriver.storage.googleapis.com/index.html). See below for more details.
Hello sir, Is this framework profitable for the BDD beginners?