Codekru
Codekru
  • Видео 15
  • Просмотров 1 249
same test case multiple times
Blog post - www.codekru.com/testng/how-to-execute-the-same-test-method-multiple-times-in-testng
Ever wondered how to run the same test case multiple times in TestNG? Whether it's for data-driven testing or validating consistent behavior, this video has got you covered!
In this video, you'll learn:
✔️ How to execute a single test case multiple times (invocationCount attribute)
✔️ How to leverage threadPoolSize to execute them in parallel
💬 Have questions or feedback?
Drop them in the comments! We’d love to hear your thoughts.
👉 Don’t forget to:
Like the video if you found it helpful
Subscribe to the channel for more coding tutorials and tips
Hit the notification bell icon to stay updated on new uplo...
Просмотров: 0

Видео

How to ignore Test Cases in TestNG
Просмотров 14День назад
Blog post - www.codekru.com/testng/how-to-ignore-test-cases-in-testng Learn how to ignore test cases in TestNG with this complete guide! Whether you're handling incomplete features, debugging, or managing large test suites, TestNG offers simple ways to exclude tests using annotations and attributes. In this video, you'll learn: ✔️ How to ignore a single test method ✔️ How to ignore all cases wi...
All About Assertions in TestNG || Hard and Soft Assertions
Просмотров 22Месяц назад
Blog Post - www.codekru.com/testng/assertions-in-testng In this video, we’re breaking down everything you need to know about assertions in a simple, easy-to-follow way! We’ll walk you through the basics, like when and why to use assertions, obviously with code examples. By the end, you'll know exactly how to make your tests more robust and reliable. 📚 Here’s what we’ll cover: What assertions ar...
Class Level Annotations in TestNG || How @Test annotation can be used at class level
Просмотров 11Месяц назад
Blog Post - www.codekru.com/testng/class-level-annotations-in-testng This video will show how @Test annotation can be leveraged at the class level. 📚 You’ll learn: How @Test annotation can be used at the class level When to use @Test at class level How only public methods become the test methods when @Test is used at the class level and How method-level annotations take precedence over class-le...
TestNG annotations and the flow of execution || @Test, @Before and @After annotations
Просмотров 23Месяц назад
Blog Post - www.codekru.com/testng/testng-annotations This video will explore TestNG annotations, focusing on key ones like @Test, @Before, and @After. 📚 You’ll learn: What annotations are and how they work The different types of annotations TestNG offers Why we use @Before and @After annotations The execution order of @Before and @After annotations The difference between @BeforeTest and @Befor...
How to Include and Exclude Test Cases in TestNG
Просмотров 21Месяц назад
Blog Posts - www.codekru.com/testng/include-and-exclude-in-testng www.codekru.com/testng/what-is-testng-xml-file-and-how-to-run-cases-using-it In this video, we’ll walk you through including and excluding specific test cases using the testng.xml file. Whether you're looking to fine-tune your test automation suite or optimize test runs, this tutorial has got you covered. 📚 Topics Covered: Packag...
What is testng.xml file || How to run test cases using testng.xml
Просмотров 202 месяца назад
Blog post - www.codekru.com/testng/what-is-testng-xml-file-and-how-to-run-cases-using-it Struggling to organize and execute your test cases in TestNG? This video will simplify it all! Learn exactly what the testng.xml file is and how to use it to control, configure, and run your tests. 🔍 What you'll learn: What is testng.xml and why it’s important How to create and configure testng.xml How to r...
What is TestNG and How to Run Your First Test Case
Просмотров 372 месяца назад
Blog Post - www.codekru.com/testng/what-is-testng-and-how-to-create-a-testng-xml-file Learn TestNG from scratch with this step-by-step guide! In this video, we’ll explain what TestNG is and why it's essential for software testers and developers. We'll also show you how to set up TestNG and run your first test case. This tutorial is perfect for beginners looking to improve their automation testi...
Create Testng.xml file at Runtime || Using Java and TestNG
Просмотров 482 месяца назад
Link to our blog post: www.codekru.com/testng/how-to-make-testng-xml-at-runtime-or-programmatically Are you looking to dynamically create testng.xml files at runtime? In this video, we dive deep into how to automate the creation of testng.xml files using Java, making your test execution more flexible and scalable. 🚀 Why Watch This Video? By the end of this tutorial, you'll be able to generate t...
How to skip executing unit test cases in Maven || Java & Maven || Unit Tests
Просмотров 147 месяцев назад
This video will show how we can skip executing the unit test cases while building a Maven project. Link to our blog: www.codekru.com/maven/how-to-skip-unit-test-cases-in-a-maven-project #codekru #maven #maventutorial #java #javadevelopment #javaprogramming #testing #unittests Follow us on Linkedin - www.linkedin.com/company/codekru/ Facebook page - Codekru Reddit - www.reddit.com/r...
How to execute the unit test cases in Maven || Java & Maven || Unit Tests
Просмотров 117 месяцев назад
This video will discuss executing unit test cases while building a project in Maven. Executing unit test cases is a crucial part of a Maven project. It helps to detect code issues during the project build process. The build won't be created until all test cases are marked as passed. Link to the blog - www.codekru.com/maven/how-to-execute-unit-test-cases-using-maven #codekru #java #maven #testin...
How to create and run a maven project using command line || Java & Maven
Просмотров 357 месяцев назад
This video will demonstrate creating and running a Maven Project using the command line only. Link to our blog - www.codekru.com/maven/how-to-create-and-run-a-maven-project-using-command-line Article on Maven goals, plugins, and phases - www.codekru.com/maven/maven-build-lifecycle-phases-goals-and-plugins #codekru #java #maventutorial #maven #javadevelopment #commandline #softwaredevelopment #t...
How to make SSH connection with a remote server using Java || Java Jsch
Просмотров 4088 месяцев назад
In this tutorial, we will demonstrate how to establish an SSH connection with a remote server using Java. We will be utilizing the Java Jsch library to create the connection. You can also find the code on our blog - www.codekru.com/java/ssh-connection-using-java-example #codekru #JavaSSH #SSHConnection #RemoteServer #javaprogramming #java #ServerManagement #JavaDevelopment #SSHJava #Jsch Don't ...
How to capture the network call responses using Selenium Java || Chrome Dev Tools || Codekru
Просмотров 2448 месяцев назад
In this video, we will demonstrate how to capture network call responses using Selenium 4 and Java. We will capture the following aspects of the response - Response codes - Response headers - Response body Link to our blog - www.codekru.com/selenium/how-to-get-network-call-responses-in-selenium Link to the ChromeDevTools - chromedevtools.github.io/devtools-protocol/tot/Network/ #selenium #java ...
How to install TestNG plugin in Eclipse | Add TestNG plugin in Eclipse
Просмотров 3432 года назад
In this video, we will learn how to install the TestNG plugin in Eclipse IDE. We have also written a post on how to install the TestNG plugin. Link to the post 👉 www.codekru.com/testng/how-to-install-testng-plugin-in-eclipse-ide There are multiple ways to install the TestNG plugin in Eclipse. In the video, we have used the eclipse marketplace to install TestNG. TestNG articles link 👉 www.codekr...

Комментарии

  • @vedantzanjad
    @vedantzanjad Месяц назад

    What is the key ? Which path we need to be put there

    • @codekru
      @codekru Месяц назад

      The key here is the private key file used for authentication in the SSH connection. In the video, you'll notice a "codekru_youtube.pem" file located at the root of the project. I’ve referenced this key in the code with: ""System.getProperty("user.dir") + File.separator + codekru_youtube.pem"" , which is basically key's path (root of the project). Now, the key's location can be anything as long as you put the same path in the code.

    • @vedantzanjad
      @vedantzanjad Месяц назад

      @@codekru i think this key file contains Like beginning private key Dhdudndnd Ending of private key Right?

    • @codekru
      @codekru Месяц назад

      ​@@vedantzanjad Yeah, right!!!

    • @vedantzanjad
      @vedantzanjad Месяц назад

      @@codekru still i am getting auth failed over there

    • @codekru
      @codekru Месяц назад

      ​@@vedantzanjad, If you are getting this exception com.jcraft.jsch.JSchException: Auth fail at com.jcraft.jsch.Session.connect(Session.java:519) at com.jcraft.jsch.Session.connect(Session.java:183) then, it is mostly due to wrong key or username So, basically the user itself is not authenticated