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
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...
Correct bro👍
i have recommended this channel to all my classmates 60+.You are really Good teacher Thanks Sir
Are you missing any import statement.. try to import this
java.util.concurrent.TimeUnit
@@AutomationTestingInsider Okay Sir
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
===============================================
In log4j.xml add this:
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
Thanks a lot It is very helpful as i have the interview tommorow
All the very best Raja..!!!
Please share git link for this framework.
Please find the link below:
github.com/hverma22/MyProject
Can you explain log4j in detail . You have copy pasted from the previous project
Pls refer below video to understand log4j in detail:
ruclips.net/video/_ko-6fOUQXY/видео.html
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. 👏👏👏
Thank you Suresh for a Wonderful comment.. !!!
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
Hi sir can we get this code? Where to download this
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.
Thanks sir...
thanks sir
please create videos on cucumber with BDD
Yeah sure.. I am planning Cucumber BDD as the next series.
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.
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 ..!!!
I have shared the trace please see it
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.
Hi Darshan.. in the next video i will share the complete project in github. You can get it from there.
@@AutomationTestingInsider but I am trying to create a framework which is needed vmuch..
Give me ur email id
@@AutomationTestingInsider darshan.bs02@gmail.com
@@AutomationTestingInsider Hi Hitendra, Can you please share the files to darshan.bs02@gmail.com, waiting for your mail. thanks in advance.
Hi need a help regarding testing of Windows application which we lunch with ie browser
[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
===============================================
can u pls show parallel testing in single browser(chrome) as well?
Sir can you make Same tutorial with python Please
Sure I will plan for it. Thanks for your comment.
Can u share this test case excel sheet, which u used in this plzz...
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..!!!
@@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...
@@AutomationTestingInsider please share me also bro raajavanukuri@gmail.com
Shared
Shared