Thanks. Good to get the demo from the creator himself. Are there any new video /blogs available for this where Restassured / API tutorials are there which can help in getting started fast from the first impression i can bdd well implemented, though it having code but it appears like no-code the way it implemented
Hi John What does the annotation @Manged do? I understand, as you mentioned in the clip, it manages the web driver so you don't have to worry about the pages where you move to. but there are cases when you need to check certain thing like windowID using method driver.getWindowHandle(), then how do I gain access to the driver? I did try to use a local web driver and get the main driver using this statement: WebDriver driver = getDriver() from the super class "ScenarioSteps" but when I tried to print out the window ID (System.out.println("current window ID = " + driver.getWindowHandle()) I got a null pointe exception... Would you please tell me how to get the main driver and assign it to my local driver variable? Thanks John!
Hi John- I am have created kind of this project with gradle instead of maven and I am trying to execute using gradle command (gradle aggregate) but my Runner file is not picked up ?
Do you have a complete course housed on usage and practice of actor.class I have difficulties following through on and implementing it on my own. Please help.
How to resolve this issue? [ERROR] No plugin found for prefix 'archetype' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (C:\Users\Aleksey\.m2 epository), central (repo.mav en.apache.org/maven2)] -> [Help 1]
Hey Folks, If you'd like more videos like this come join me on my new Channel - Serenity Dojo TV - where I will be posting new content 2x per week. Hope to see you there! John
Trying to getting started and it's exhaustive to run cross-browser tests using chrome driver, documentation isn't up to date. Please improve getting started page on Serenity web page.
It's very clear , thanks. I have a questions: I have difficulty inserting a name in the Category.enum as 'name-name' because the program logically takes the '-' as an operator. what solution I can use to overcome this problem?
When I issue mvn clean verify after the initial mvn archetype:generate -Dfilter=serenity, I get java.lang.NoClassDefFoundError: javax/inject/Provider. How do I overcome this error?
Hi John, Thanks for sharing the video, it's very useful and just want to tell video middle part i am seeing as blurred, just want to know is any one facing the same issue or any solution to the problem?
Thanks for the great tutorial , I downloaded the GitHub project but getting errors while running , is it up to date? I am referring to serenity cucumber jvm part.
I followed all the steps that you mentioned, firefox browser is opened. But, it throws, the following exception: [main] ERROR net.thucydides.core.webdriver.WebDriverFacade - FAILED TO CREATE NEW WEBDRIVER_DRIVER INSTANCE class org.openqa.selenium.firefox.FirefoxDriver: Could not instantiate class org.openqa.selenium.firefox.FirefoxDriver net.thucydides.core.webdriver.UnsupportedDriverException: Could not instantiate class org.openqa.selenium.firefox.FirefoxDriver I don't want to use system.setproperty since all the feature tests have to be integrated and deployed in various environments. Please tell me where it's gone wrong. Note: Firefox version: 51.0.1, OSX 10.11.6, serenity version: 1.1.31
Did you ever figure this out? I am getting the same error. Also, Serenity currently only uses Selenium v2.0. The newest versions of Firefox require Selenium 3 which is not utilized by Serenity. They recommend Firefox v46/47
I've got it! So, first of all, you need to install an older version of Firefox. I recommend v47 which can be downloaded here: ftp.mozilla.org/pub/firefox/releases/47.0.2/ (If on windows, use dir win32/en-US/Firefox Setup 47.0.2.exe) Once this is installed, it's likely that Serenity/Selenium will still use the latest version of Firefox when running the tests. If you don't want to uninstall the latest firefox version, you can specify which firefox binary to use with this line of code: System.setProperty("webdriver.firefox.bin", "C:\\users\\xxx\\AppData\\local\\Mozilla Firefox\\firefox.exe"); //the second argument should be the path to your older firefox.exe Now the tutorial examples are running fine. Something to note, you will have to disable Firefox auto-updating on the v47.0.2. This can be done under the advanced settings.
@RunWith(SerenityRunner.class) cannot resolve the type error even after using import import net.serenitybdd.junit.runners.SerenityRunner; its not fixing the issue please some one help me to resolve the above issue
net.thucydides.core.webdriver.DriverConfigurationError: Could not instantiate new WebDriver instance of type class org.openqa.selenium.firefox.FirefoxDriver (The path to the driver executable must be set by the webdriver.gecko.driver system property; for more information, see github.com/mozilla/geckodriver. The latest version can be downloaded from github.com/mozilla/geckodriver/releases). See below for more details. at net.serenitybdd.tutorials.steps.NavigatingUser.isOnHomePage(NavigatingUser.java:19) at net.serenitybdd.tutorials.features.navigation.WhenBrowsingCategories.shouldBeAbleToNavigateToTheBireyselCategory(WhenBrowsingCategories.java:26)
Thank John, I love Serenity BDD, You are my idol in Automation Testing sector.
Great! I am reading your book "BDD In Action" and this video the same. Thank you JFS
Thanks. Good to get the demo from the creator himself. Are there any new video /blogs available for this where
Restassured / API tutorials are there which can help in getting started fast
from the first impression i can bdd well implemented, though it having code but it appears like no-code the way it implemented
Everything was done exactly as from the video. Chrome hasn't been opened. "No tests found". Very strange!
Hi John
What does the annotation @Manged do? I understand, as you mentioned in the clip, it manages the web driver so you don't have to worry about the pages where you move to. but there are cases when you need to check certain thing like windowID using method driver.getWindowHandle(), then how do I gain access to the driver? I did try to use a local web driver and get the main driver using this statement: WebDriver driver = getDriver() from the super class "ScenarioSteps" but when I tried to print out the window ID (System.out.println("current window ID = " + driver.getWindowHandle()) I got a null pointe exception...
Would you please tell me how to get the main driver and assign it to my local driver variable?
Thanks John!
Hi John- I am have created kind of this project with gradle instead of maven and I am trying to execute using gradle command (gradle aggregate) but my Runner file is not picked up ?
Do you have a complete course housed on usage and practice of actor.class I have difficulties following through on and implementing it on my own. Please help.
Hi john. I am having issues with importing the net..thucyhides.core.annotations.steps. it is having an error.
dude I have your course in Plural(cucumber) but did not see Serenity....any links?
How to resolve this issue? [ERROR] No plugin found for prefix 'archetype' in the current project and in the
plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the
repositories [local (C:\Users\Aleksey\.m2
epository), central (repo.mav
en.apache.org/maven2)] -> [Help 1]
Hey Folks,
If you'd like more videos like this come join me on my new Channel - Serenity Dojo TV - where I will be posting new content 2x per week. Hope to see you there! John
I want to use EventFiringWebDriver from Selenium to log messages, while also extending pageObject. how do i do this?
Trying to getting started and it's exhaustive to run cross-browser tests using chrome driver, documentation isn't up to date. Please improve getting started page on Serenity web page.
Good introduction to Serenity BDD. It might be my weapon of choice :)
Hi John, Could you please share the git hub link for the above video / or serenity bdd. Regards,Shiva
It's very clear , thanks. I have a questions: I have difficulty inserting a name in the Category.enum as 'name-name' because the program logically takes the '-' as an operator. what solution I can use to overcome this problem?
John, How can i generate same project structure using Gradle commands?
When I issue mvn clean verify after the initial mvn archetype:generate -Dfilter=serenity, I get java.lang.NoClassDefFoundError: javax/inject/Provider. How do I overcome this error?
Really good explanations . Thanks for this video.
Hi John,
Thanks for sharing the video, it's very useful and just want to tell video middle part i am seeing as blurred, just want to know is any one facing the same issue or any solution to the problem?
Thanks for the great tutorial , I downloaded the GitHub project but getting errors while running , is it up to date? I am referring to serenity cucumber jvm part.
I followed all the steps that you mentioned, firefox browser is opened. But, it throws, the following exception:
[main] ERROR net.thucydides.core.webdriver.WebDriverFacade - FAILED TO CREATE NEW WEBDRIVER_DRIVER INSTANCE class org.openqa.selenium.firefox.FirefoxDriver: Could not instantiate class org.openqa.selenium.firefox.FirefoxDriver
net.thucydides.core.webdriver.UnsupportedDriverException: Could not instantiate class org.openqa.selenium.firefox.FirefoxDriver
I don't want to use system.setproperty since all the feature tests have to be integrated and deployed in various environments. Please tell me where it's gone wrong.
Note: Firefox version: 51.0.1, OSX 10.11.6, serenity version: 1.1.31
Did you ever figure this out? I am getting the same error.
Also, Serenity currently only uses Selenium v2.0. The newest versions of Firefox require Selenium 3 which is not utilized by Serenity. They recommend Firefox v46/47
I've got it!
So, first of all, you need to install an older version of Firefox. I recommend v47 which can be downloaded here: ftp.mozilla.org/pub/firefox/releases/47.0.2/
(If on windows, use dir win32/en-US/Firefox Setup 47.0.2.exe)
Once this is installed, it's likely that Serenity/Selenium will still use the latest version of Firefox when running the tests. If you don't want to uninstall the latest firefox version, you can specify which firefox binary to use with this line of code:
System.setProperty("webdriver.firefox.bin", "C:\\users\\xxx\\AppData\\local\\Mozilla Firefox\\firefox.exe"); //the second argument should be the path to your older firefox.exe
Now the tutorial examples are running fine.
Something to note, you will have to disable Firefox auto-updating on the v47.0.2. This can be done under the advanced settings.
@RunWith(SerenityRunner.class) cannot resolve the type error even after using import import net.serenitybdd.junit.runners.SerenityRunner; its not fixing the issue
please some one help me to resolve the above issue
That's a great tutorial. Thank you!
do you have any tutorial using NPM?
wow ... concise and easy to understand. Thanks!
Caution. The website ebay.com has changed inside and you have to use other selectors (xpath or css) than in this video.
Very good explanation! Great thanks !
Thanks for the video, this was incredibly useful!
How about Serenity and Testng remove Junit?
FUCKINNGGGG INTROOO MUSICCC; ALMOST KILL ME
Great tutorial. Thanks!
prefect thanks
net.thucydides.core.webdriver.DriverConfigurationError: Could not instantiate new WebDriver instance of type class org.openqa.selenium.firefox.FirefoxDriver (The path to the driver executable must be set by the webdriver.gecko.driver system property; for more information, see github.com/mozilla/geckodriver. The latest version can be downloaded from github.com/mozilla/geckodriver/releases). See below for more details.
at net.serenitybdd.tutorials.steps.NavigatingUser.isOnHomePage(NavigatingUser.java:19)
at net.serenitybdd.tutorials.features.navigation.WhenBrowsingCategories.shouldBeAbleToNavigateToTheBireyselCategory(WhenBrowsingCategories.java:26)
I got this error everytime, Could you help, please?
I'm using IntelliJ IDEA Ultimate 2019.3
best)
fckn intro music
Browsermob plug-in is not working with serenity bdd.. is there any alternative ?