Saturday, 6 February 2021

Automation testing pre setup in local machine for Web UI Automation? 7 Steps to set-up UI Test Automation in local machine

 



Step-01:
Chropath in chrome by visiting below :
https://chrome.google.com/webstore/detail/chropath

You can use selectors hub too. Those tools helps to identify the locators for web-element.

To know more about Xpath identification check below link:
Click the link here for details on XPATH


Step-02

Download eclipse as IDE as mentioned in below link:
https://automationreinvented.blogspot.com/2020/04/top-question-to-start-career-as-api.html

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-03
https://github.com/
Create account in git hub to upload automation project for source code repository.

To know all the commands on GIT please check below link:
Click link here for details and git commands


Step:-04
https://hub.docker.com/
Create account in dockerhub to do selenium grid + docker container setup.

How to do the Docker setup with Selenium Grid:
Click on link to get all the steps

 
Step:05

- 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

TestNG will be used to design the test script.

********************************************************

Framework Design Tips & Interview Question-Click Here

**************************************************  


Step-06
Add Maven to eclipse:

- To add maven to eclipse follow below steps:
Help-->Install New Software--> Add-->Name:Maven & Location:  http://download.eclipse.org/technology/m2e/releases -->Next-->Finish

Maven is required for dependency management.

Step-07

Add the below pom.xml which has all the dependencies required for Automation framework

Click here for the pom.xml file

This above pom file has all dependencies required for pre setup to perform WebUI automation: Selenium, TestNG, Extent Report, JSON etc.

 ***************************************************

TOP INTERVIEW PREPARATION TIPS:

**************************************************

SeleniumWebdriver Automation Testing Interview Questions:

API Testing Interview Question Set:
https://automationreinvented.blogspot.com/search/label/Rest-API

 
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

All Time Popular Posts

Most Featured Post

Introduction to Web Testing with Playwright

  Introduction to Web Testing with Playwright 📌  Telegram Group:  https://t.me/+FTf_NPb--GQ2ODhl 📌  YouTube channel:  https://lnkd.in/gGUG...