STEP By Step Guide to Setup API Automation Framework with Gradle-TestNG:
Step-01:
Download eclipse as IDE as mentioned in below link:
Eclipse Download
Download JDK and check inside java folder you should have both jre and jdk folder with same version. To check installation is correct or not type java -version and javac in your cmd.
Step:02
- Add TestNG to eclipse:
- To add TestNG to eclipse follow below steps:
Help-->Install New Software-->Add-->Name:TestNG &
Location:http://dl.bintray.com/testng-team/testng-eclipse-release/
-->Next-->Finish
Step:03
Add Gradle to Eclipse:
Help-->Eclipse Marketplace-->Search <gradle>--> Buildship: Eclipse Plug-ins for Gradle
Step:04
Create Gradle project in Eclipse:
File
-- > New-- > Project -- > Gradle Project-- > next-- > Next--
> Project Name-- >Finish
Step:05
Add all the dependencies using Gradle required for API Automation using Rest
Assured.
Gradle dependencies for
Rest Assured Framework Setup can be found below, Just copy the content in below link and add it in the build.gradle:
https://automationreinvented.blogspot.com/2020/10/configure-gradle-dependencies-in.html
Step:06
Once all the above dependencies added then Right click on the project Select Gradle -- > Refresh Gradle Project
Top API Interview Question 1-10
- Interview questions for SDET/Automation Testing:
- Top 21 GIT interview questions
- Top 30 Selenium Webdriver Interview Q&A
- Top 20 API Testing Interview Q&ASelenium Interview Question SET-4
- Selenium Interview Question SET-1
- Selenium Interview Question SET-2
- Selenium Interview Questions SET-3
- Selenium Interview Question SET-4
Kubernetes Interview Question Set
https://automationreinvented.blogspot.com/search/label/Kubernetes
Docker Interview Question Set
https://automationreinvented.blogspot.com/2020/02/top-18-docker-commands-for-aytomation.html
Linux Interview question Set
https://automationreinvented.blogspot.com/search/label/Linux
Automation Testing/SDET Framework Design
https://automationreinvented.blogspot.com/search/label/FrameworkDesign
Java Related Interview Question Set
https://automationreinvented.blogspot.com/search/label/Java
GIT Interview Question Set:
https://automationreinvented.blogspot.com/search/label/GIT
Coding Interview Question Set:
https://automationreinvented.blogspot.com/search/label/Coding%20Questions
No comments:
Post a Comment