Selenium Framework Development Part6|Log4j|DataDriven| testng.xml|Groups|CrossBrowser|ParallelTest

Поделиться
HTML-код
  • Опубликовано: 8 сен 2024
  • In this video, we will discuss about following sub-topics:
    Session 6:
    Log4j Implementation
    Data Driven Testing - Supply the data from excel sheet
    Run all the test cases through testng.xml
    Grouping of test cases - Smoke, Sanity ,Regression
    Cross Browser and Parallel Execution
    SUBSCRIBE: / @automationtestinginsider
    About this channel:
    This channel is dedicated to Software Testing, Automation Testing, Devops, Agile and TestNG, Maven, Jenkins, Git, Github, RPA, Agile, Devops, Database, Domain and many more.
    Selenium WebDriver Step By Step:
    • Selenium WebDriver | S...
    Java Step By Step:
    • Java for Selenium | Pa...
    TestNG Tutorials:
    • Selenium WebDriver | P...
    ScreenShots,Logs,Reports,Properties File
    • Selenium WebDriver | P...
    Maven Tutorials:
    • Selenium WebDriver | P...
    Page Object Model:
    • Selenium WebDriver | P...
    Excel and DataDriven Framework
    • Selenium WebDriver | P...
    Git and GitHub:
    • Selenium WebDriver | P...
    Jenkins Videos:
    • Selenium WebDriver | P...
    Selenium Framework Development Videos:
    • Selenium Framework Dev...
    Core Java Interview Questions and Answers
    • Important Java Questio...
    Selenium WebDriver Interview Questions and Answers
    • Interview Questions on...
    Please Subscribe this channel and press bell icon to get some interesting topics on Java and Selenium and other tools.
    / @automationtestinginsider
    Please check out my blog here:
    www.automation...
    Follow Facebook Page
    / hverma22
    Follow me on instagram
    / hitendrahita

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

  • @Shradha6979
    @Shradha6979 4 года назад +5

    This is only channel, here u got full automation content course with full concept.. No any other channel have upload full content, they upload only clip...

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

      Correct bro👍

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

    i have recommended this channel to all my classmates 60+.You are really Good teacher Thanks Sir

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

      Are you missing any import statement.. try to import this
      java.util.concurrent.TimeUnit

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

      @@AutomationTestingInsider Okay Sir

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

      After adding the timeunit
      [RemoteTestNG] detected TestNG version 7.4.0
      log4j: reset attribute= "false".
      log4j: Threshold ="null".
      log4j: Level value for root is [debug].
      log4j: root level set to DEBUG
      log4j: Class name: [org.apache.log4j.ConsoleAppender]
      log4j: Setting property [target] to [System.out].
      log4j: Parsing layout of class: "org.apache.log4j.PatternLayout"
      log4j: Setting property [conversionPattern] to [%d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n].
      log4j: Adding appender named [console] to category [root].
      log4j: Class name: [org.apache.log4j.RollingFileAppender]
      log4j: Setting property [file] to [Logs/log4j.log].
      log4j: Parsing layout of class: "org.apache.log4j.PatternLayout"
      log4j: Setting property [conversionPattern] to [%d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n].
      log4j: setFile called: Logs/log4j.log, true
      log4j: setFile ended
      log4j: Adding appender named [fileAppender] to category [root].
      Super Constructor invoked
      driver :java.lang.ThreadLocal@2a7ed1f
      Default test
      Tests run: 1, Failures: 0, Skips: 1
      Configuration Failures: 1, Skips: 1
      ===============================================
      ===============================================
      Default suite
      Total tests run: 1, Passes: 0, Failures: 0, Skips: 1
      Configuration Failures: 1, Skips: 1
      ===============================================

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

      In log4j.xml add this:

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

      If it doesnt work then pls check your code line by line it looks configuration issue only .. you can refer the same project from below github link:
      github.com/hverma22/MyProject

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

    Thanks a lot It is very helpful as i have the interview tommorow

  • @abinashibehera8739
    @abinashibehera8739 2 года назад +2

    Please share git link for this framework.

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

    Can you explain log4j in detail . You have copy pasted from the previous project

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

      Pls refer below video to understand log4j in detail:
      ruclips.net/video/_ko-6fOUQXY/видео.html

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

    Hello, such a beautiful explanation and the effort you are putting for every video is fantastic. The best blog for SW testing that I have never seen before. I would recommend both freshes and laters to go through your blog to get complete knowledge and thank you very much for making these videos and sharing your knowledge with us. This blog is really helpful. 👏👏👏

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

    I veryb sure this channel will go for a top soon .but please remember me I am ur First SubScrber for ur channel and i have refered it to many

  • @prakashkumar7409
    @prakashkumar7409 27 дней назад

    Hi sir can we get this code? Where to download this

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

    Sir, log4j has some changes in the update. In my system it is showing error everytime. Xml file, Logger turned to LoggerManager, DOMconfigurator is not working. Please help.

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

    Thanks sir...

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

    thanks sir
    please create videos on cucumber with BDD

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

    Hi Guru love the way you explain.. Can you please explain how the headless browser works and handled set broswer capabilities for which alerts appear like update browser while executing automation scripts in this framework.

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

      Hi Darshan.. thank you for your nice comments.. I have already created videos on headless browsers.. btw I will try to implement the same in our ongoing framework as well.. thanks ..!!!

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

    I have shared the trace please see it

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

    Hi Hitendra, its a very useful video for framework creation from scratch... its like a bible for beginners. Hi can you please share the action class and Base class.

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

      Hi Darshan.. in the next video i will share the complete project in github. You can get it from there.

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

      @@AutomationTestingInsider but I am trying to create a framework which is needed vmuch..

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

      Give me ur email id

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

      @@AutomationTestingInsider darshan.bs02@gmail.com

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

      @@AutomationTestingInsider Hi Hitendra, Can you please share the files to darshan.bs02@gmail.com, waiting for your mail. thanks in advance.

  • @sunilkumar-pu9yz
    @sunilkumar-pu9yz 4 года назад

    Hi need a help regarding testing of Windows application which we lunch with ie browser

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

    [RemoteTestNG] detected TestNG version 7.4.0
    Super Constructor invoked
    driver :null
    FAILED CONFIGURATION: @BeforeMethod setup
    java.lang.Error: Unresolved compilation problems:
    The method implicitWait(WebDriver, int) of type Action must override a superclass method
    TimeUnit cannot be resolved to a variable
    SKIPPED CONFIGURATION: @AfterMethod tearDown
    SKIPPED CONFIGURATION: @AfterMethod tearDown
    SKIPPED CONFIGURATION: @BeforeMethod setup
    SKIPPED: verifyLogo
    java.lang.Error: Unresolved compilation problems:
    The method implicitWait(WebDriver, int) of type Action must override a superclass method
    TimeUnit cannot be resolved to a variable
    SKIPPED: verifyTitle
    java.lang.Error: Unresolved compilation problems:
    The method implicitWait(WebDriver, int) of type Action must override a superclass method
    TimeUnit cannot be resolved to a variable
    Default test
    Tests run: 2, Failures: 0, Skips: 2
    Configuration Failures: 1, Skips: 3
    ===============================================
    ===============================================
    Default suite
    Total tests run: 2, Passes: 0, Failures: 0, Skips: 2
    Configuration Failures: 1, Skips: 3
    ===============================================

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

    can u pls show parallel testing in single browser(chrome) as well?

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

    Sir can you make Same tutorial with python Please

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

    Can u share this test case excel sheet, which u used in this plzz...

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

      Sure Shradhanand.. pls give me your email id.. btw I will share the project on github in the next video.. i remember you.. I need to work on remaining ques/ans for selenium as well. I will complete that once this framework is over... Thanks..!!!

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

      @@AutomationTestingInsider Thanks for ur response and thanks for remember....
      cshradha6979@gmail.com
      And if possible do one favour if any manual testing videos or notes available plzz share also...

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

      @@AutomationTestingInsider please share me also bro raajavanukuri@gmail.com

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

      Shared

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

      Shared