Skip to main content

Posts

API Test automation with REST Assured

Introduction REST assured is an open source Java library widely used among many of the companies. It provides a domain-specific language (DSL) for writing powerful, maintainable tests for RESTful API. Developing tool IntelliJ IDEA community version would be enough Framework / Tool / Language Maven: It is a build automation tool used primarily for Java project Java TestNG Create a maven project via IntelliJ IDEA Step 1. Open IntelliJ IDEA and create a new maven project File → New → Project Step 2 : Give relevant ArtifactId and GroupId and provide the path where the project to be saved. You don't need to add any required jar files manually. Maven will import all the relevant JAR files for you. All you have to do is specify the dependencies with the specific versions in the pom file. since we are going to use TestNG and REST Assured we will add them in the pom file. <dependencies> <dependency> <...
Recent posts

WebdriverIO Introduction in PHPStorm

Hi folks, Trying various frameworks is fun and interesting and will ultimately lead to improve yourself as a Test Automation Engineer by enabling you to have a better idea regarding the available options when it comes to frameworks. This will in fact help you to choose the ideal automation framework for your corporate project as a Test Automation Engineer. Few days back, I had the opportunity to automate a React app using WebdriverIO. Let's have a look at it !! Setting up WebdriverIO project on PHPStorm Pre-requisites - Create React app package has to be installed, it simply sets up the tools you need to start your React project on PhpStorm. npm install - g create - react - app - Node.js has to be installed, Refer the link 1. Create a new project -> React App 2. WebdriverIO client has to be installed npm i --save-dev @wdio /cli 3. Next, we have to generate a configuration file that stores all of our WebdriverIO settings. To do that just run the configuration ...