2- How To Create First Script in Serenity Framework

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

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

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

    Thank you so much, Mukesh for all the tutorials.
    It's really very helpful.

  • @JitendraKumar-lr3vq
    @JitendraKumar-lr3vq 4 года назад +3

    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 ..

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

      Most welcome Jitendra, I have planned total 10 videos for serenity.

  • @akshaykumarsaxena003
    @akshaykumarsaxena003 3 года назад

    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??

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

    you are the best . Thanks so much

    • @Mukeshotwani
      @Mukeshotwani  3 года назад

      Glad it helped Thank you so much Pham for such a kind words.

  • @automationneemo
    @automationneemo 4 года назад +2

    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!!

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

      Hi Soumya, please make sure you have Java 8 installed.

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

      Yes I have java 8 installed

  • @umangsharma7447
    @umangsharma7447 4 года назад +2

    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 :)

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

      Sure Umang, I dont know why youtube convert into 720p. I export all video's in 1080p.

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

    It's awsome! Do you have separete videos for serenity-cucumber -intellij Idea. Thanks

  • @satyabratsahoo641
    @satyabratsahoo641 Год назад

    sir you have told that in this video will change some includes tag but you have not mentioned that

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

    Suberb. I am new to serenity. So java latest version and eclipse needed to work with serenity am I right Thanks

    • @Mukeshotwani
      @Mukeshotwani  3 года назад

      I believe so. I was using Java 8 which is compatible.

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

    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
      @Mukeshotwani  4 года назад +1

      Hi Trinh, is it fixed?

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

      @@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

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

    You are smarter than John

  • @raghuram-fd1mu
    @raghuram-fd1mu 4 года назад +2

    Hi Sir, please do more video s.....

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

      8 more videos coming on serenity

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

      @@Mukeshotwani Great Mukesh! Waiting for them !!! Thank you!

  • @alexsr9697
    @alexsr9697 4 года назад +3

    +1 sub bro, EXCELENT : )
    Could you explain how to configure Appium to run tests with real devices (iOS and Android)?

    • @alejandrosquella3
      @alejandrosquella3 4 года назад +3

      +1 good idea bro

    • @Mukeshotwani
      @Mukeshotwani  4 года назад +2

      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.

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

      @@Mukeshotwani thx, I'll check it : )

  • @satyabratsahoo641
    @satyabratsahoo641 Год назад

    sir is this video will be validate in the latest version of 2023

  • @satyabratsahoo641
    @satyabratsahoo641 Год назад

    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

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

    Is this necessary to use JUNIT? Can we use TestNG? Thank you in advance

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

      Yes you can use TestNG as well but yes you need to change runner class.

    • @rohangupta5565
      @rohangupta5565 3 года назад

      @@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.

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

    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
      @Mukeshotwani  4 года назад

      Hi Rajesh, can you try the script with chrome as well?
      For firefox make sure you have latest gecko driver in path.

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

      @@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.

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

      @@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

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

    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

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

      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

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

      @@vijaya3743 god bless you man!

    • @dineshp9692
      @dineshp9692 3 года назад

      @@vijaya3743 Thank you for your sharing that is very useful information

  • @satheeshkannan.k9699
    @satheeshkannan.k9699 4 года назад

    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

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

      Hi Satheesh, make sure FF is installed correctly.

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

    Can I use this in android studio?

  • @satyabratsahoo641
    @satyabratsahoo641 Год назад

    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

  • @dineshp9692
    @dineshp9692 3 года назад

    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.

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

    Hello sir, Is this framework profitable for the BDD beginners?