Make Selenium Easy – Page 17
Hello Folks, TestNG provides an attribute called “enabled” which can be used to ignore a test in a running suite. If we use this attribute at class level with @Test annotation, it will ignore all tests of that class. Now TestNG is providing a new annotation called “@Ignore”, which can be used to ignore : … Continue reading TestNG Tutorials 66 : Ignoring Tests in TestNG Using New Annotation @Ignore
Hello Folks, We have already learnt about : Sending GET request in Postman. Sending POST request in Postman. If you notice, you can see a “Headers” tab in both request and response section of Postman. When you click on that tab you can see many key-value pairs. We will see about headers in this post. … Continue reading Postman Tutorial Part 6 – Understand HTTP Headers in API
Hello Folks, As part of our API Testing series, we will see “Sending first POST request in Postman”. First of all we need some APIs to test. There are many public APIs available which you can use for testing purpose. I will suggest you to register at below site to use free APIs for testing: GoRest … Continue reading Postman Tutorial Part 5 – Sending POST Request in Postman
Hello Folks, DataProvider is an awesome functionality provided by TestNG to achieve Data Driven Testing. You must have already seen many posts on DataProvider on my blog. If not, I will advise you to go through them. If you have used DataProvider in your tests, you must have encounter “Data provider mismatch” exception. I see … Continue reading TestNG Tutorials 65 – DataProvider in TestNG – All Possible Causes of Occurring Data Provider Mismatch Exception
Hello Folks, Color code may represents an information about field. Consider below scenarios: All mandatory field of a web form will have a yellow bottom color. 2. If User does not enter proper value in a text box, color of text box will be converted in to red. You can verify these functionalities … Continue reading How to Validate Field Color in Selenium WebDriver – Validation for Mandatory FIeld or Valid values
Hello Folks, When we talk about design pattern in Selenium WebDriver, we generally discuss about Page Object Model (POM) and Behavioural Driven Development (BDD). But there are many more. Before we go and see other design patterns in Selenium, I would like to explain “What is actually mean by Design Pattern?”. Design Pattern: A design … Continue reading Advanced Concept of Selenium – Design Patterns in Selenium WebDriver – There is Not Only Page Object Model Design Pattern
Hello Folks, There are two types of dependencies in TestNG: 1. Hard Dependency : All the methods you depend on must have run and succeeded for you to run. If at least one failure occurred in your dependencies, you will not be invoked and marked as a SKIP in the report. 2. Soft Dependency : You will always be … Continue reading TestNG Tutorials 64: Dependency in TestNG – ignoreMissingDependencies – Another Way of Achieving Soft Dependencies
Hello Folks, As part of our API Testing series, we will see “Installation of Postman Tool” in this post. Postman tool was introduced as an extension/app of Chrome browser. Postman chrome app can run only on chrome browser which was a critical limitation. And also Postman Chrome app had to download the Postman Interceptor Chrome extension in order … Continue reading Postman Tutorial Part 2 – Installation of Postman Tool
Hello Folks, We have learnt in previous posts regarding establishing relationship between test methods. You can go through them below: Dependency in TestNG – Creating Dependency Among Test Methods – DependsOnMethod Dependency in TestNG – Creating Dependency Among Test Methods – DependsOnGroup In this post, we will learn how can we use regular expressions with … Continue reading TestNG Tutorials 63: Dependency in TestNG – Usage of Regular Expressions with DependsOnGroup
“CamelCase” is a naming convention in which words are joined together without any whitespace in between and each word starts with a capital letter which increase readability. It is mostly used to name variables and methods in programming languages. Example: MakeSeleniumEasy Problem Statement: Input: make selenium easy Output: MakeSeleniumEasy Convert first character of each word … Continue reading Frequently Asked Java Program 25: Java Program to Convert a String Sentence in Camel Case