Make Selenium Easy – Page 21
Hello Folks, In last post, we have seen Why do we need to use DataProvider in TestNG. Now we will see a serie of posts on DataProvider. What is DataProvider? DataProvider is an annotation to mark a method as data provider which provides data as an array of array of Objects which can be used … Continue reading TestNG Tutorials 50: DataProvider in TestNG – Understand Basics of DataProvider & How It Works
Hello Folks, TestNG provides a beautiful functionality to parameterized our configuration and test methods so that we can execute the same test script with different set of data. To make a method (Configuration and Test) parameterized , we use “Parameters” annotation. If we make a method parameterized, we must need to pass parameters values from … Continue reading TestNG Tutorials 49: Need of DataProvider Method in TestNG
Hello Folks, As part of our API Testing series, we will see “Difference between REST and RESTFul API” in this post. This is frequently asked interview question in interviews and I see people are confused with terms. We will learn about them in a very easy way. You must go through with basics of REST … Continue reading API Testing Tutorial Part 9 – Difference Between REST and RESTFul API
Hello Folks, As part of our API Testing series, we will see below topics in this post: What is REST? Six principles of REST. What is REST? REST stands for REpresentational State Transfer. It is an architectural style that defines a set of constraints to be used for creating web services or API. Web services which are … Continue reading API Testing Tutorial Part 8 – Introduction to REST & REST API
Hello Folks, As part of our API Testing series, we will see some important HTTP status codes in this post. This topic is very important for API testing. It is a frequently asked interview question as well. “Status” is what for everyone cares as it says what is output either negative or positive or partially. … Continue reading API Testing Tutorial Part 7 – HTTP Status Code Must To Be Remembered
Hello Folks, Most of us know that, we can pass parameter as a String to methods in TestNG class. Is it really like that? No. Its not. We can pass parameters in whatever data types we required. TestNG will convert them automatically to required data type. We will see an example below: Output: Note: 1. … Continue reading TestNG Tutorials 48: How to Pass Parameters of Different Datatypes in TestNG
Hello Folks, You might see below dialog box when you download any file in Chrome browser and it finds that it is harmful for your computer: This is a window/browser popup which can not be inspected. You can suppress this warning message using ChromeOptions. You need to set “safebrowsing.enabled” as true. Java Code: Note: Above … Continue reading Handling “This type of file can harm your computer.” Windows Dialog Box In Chrome Browser
Hello Folks, Every browse has its default download directory. Whenever you download a file, it gets downloaded in default download directory. Generally default download directory is as below: C:\Users\\Downloads You can always change it through browser setting. When selenium script downloads any file, it will also be downloaded in same default download directory. Note: If … Continue reading How To Change Default Download Directory For Firefox Browser in Selenium WebDriver
Hello Folks, Every browse has its default download directory. Whenever you download a file, it gets downloaded in default download directory. Generally default download directory is as below: C:\Users\\Downloads You can always change it through browser setting. When selenium script downloads any file, it will also be downloaded in same default download directory. Note: If … Continue reading How To Change Default Download Directory For Chrome Browser in Selenium WebDriver
Hello Folks, In previous post, we have seen that how can we categorised HTTP methods in Safe and Unsafe methods. In this post, we will see how can we categorised HTTP methods in Idempotent and Non-idempotent methods. Let’s understand the term “Idempotent” first: My name is Amod. If you ask me my name, I will … Continue reading API Testing Tutorial Part 6 – Idempotent Methods in HTTP Methods