Serenity BDD - Tutorial 1

Поделиться
HTML-код
  • Опубликовано: 27 ноя 2024

Комментарии • 41

  • @Baymax-Sky
    @Baymax-Sky 8 лет назад +2

    Thank John, I love Serenity BDD, You are my idol in Automation Testing sector.

  • @tuannguyen-on1up
    @tuannguyen-on1up 5 лет назад +1

    Great! I am reading your book "BDD In Action" and this video the same. Thank you JFS

  • @Udzial
    @Udzial 2 года назад +1

    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

  • @ДмитроНечаєв-п2в
    @ДмитроНечаєв-п2в 4 года назад +1

    Everything was done exactly as from the video. Chrome hasn't been opened. "No tests found". Very strange!

  • @callthebluff5996
    @callthebluff5996 8 лет назад +2

    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!

  • @raguld125
    @raguld125 4 года назад +1

    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 ?

  • @VGuardianOfTheGalaxy
    @VGuardianOfTheGalaxy 4 года назад +1

    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.

  • @christan3394
    @christan3394 6 лет назад +2

    Hi john. I am having issues with importing the net..thucyhides.core.annotations.steps. it is having an error.

  • @myWayIn619
    @myWayIn619 4 года назад +1

    dude I have your course in Plural(cucumber) but did not see Serenity....any links?

  • @alekseypip
    @alekseypip 6 лет назад +1

    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]

  • @JohnFergusonSmart
    @JohnFergusonSmart 2 года назад +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

  • @Mona001-01g
    @Mona001-01g 3 года назад +1

    I want to use EventFiringWebDriver from Selenium to log messages, while also extending pageObject. how do i do this?

  • @vitalii3236
    @vitalii3236 6 лет назад +2

    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.

  • @riveck
    @riveck 8 лет назад +3

    Good introduction to Serenity BDD. It might be my weapon of choice :)

  • @ShivaSitu
    @ShivaSitu 5 лет назад +1

    Hi John, Could you please share the git hub link for the above video / or serenity bdd. Regards,Shiva

  • @aloapg
    @aloapg 7 лет назад +1

    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?

  • @sagorrobin
    @sagorrobin 7 лет назад +1

    John, How can i generate same project structure using Gradle commands?

  • @mjbduffy
    @mjbduffy 6 лет назад +1

    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?

  • @abhijeetpatil5277
    @abhijeetpatil5277 4 года назад +1

    Really good explanations . Thanks for this video.

  • @sarikachugh6610
    @sarikachugh6610 7 лет назад +1

    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?

  • @ikec7941
    @ikec7941 8 лет назад +1

    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.

  • @ASH5CTIOUS
    @ASH5CTIOUS 7 лет назад +1

    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

    • @poorbob6194
      @poorbob6194 7 лет назад

      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

    • @poorbob6194
      @poorbob6194 7 лет назад +1

      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.

  • @ShivaSitu
    @ShivaSitu 5 лет назад +1

    @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

  • @Roman-kpax
    @Roman-kpax 4 года назад +1

    That's a great tutorial. Thank you!

  • @eapentjohn
    @eapentjohn 6 лет назад +1

    do you have any tutorial using NPM?

  • @alexandrumahu1008
    @alexandrumahu1008 6 лет назад +1

    wow ... concise and easy to understand. Thanks!

  • @vladzhichkin3776
    @vladzhichkin3776 5 лет назад +1

    Caution. The website ebay.com has changed inside and you have to use other selectors (xpath or css) than in this video.

  • @andriyyarish8628
    @andriyyarish8628 8 лет назад +1

    Very good explanation! Great thanks !

  • @weetabixhands
    @weetabixhands 5 лет назад +1

    Thanks for the video, this was incredibly useful!

  • @jeevan4337
    @jeevan4337 6 лет назад +1

    How about Serenity and Testng remove Junit?

  • @juanpabloriverariffo5599
    @juanpabloriverariffo5599 3 года назад +1

    FUCKINNGGGG INTROOO MUSICCC; ALMOST KILL ME

  • @ionutmann
    @ionutmann 7 лет назад +1

    Great tutorial. Thanks!

  • @NOURTCS
    @NOURTCS 3 года назад +1

    prefect thanks

  • @serverigaram
    @serverigaram 4 года назад +1

    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)

    • @serverigaram
      @serverigaram 4 года назад

      I got this error everytime, Could you help, please?

    • @serverigaram
      @serverigaram 4 года назад

      I'm using IntelliJ IDEA Ultimate 2019.3

  • @flash7529
    @flash7529 7 лет назад +1

    best)

  • @juanpabloriverariffo5599
    @juanpabloriverariffo5599 3 года назад +2

    fckn intro music

  • @sheshu207
    @sheshu207 2 года назад +1

    Browsermob plug-in is not working with serenity bdd.. is there any alternative ?