Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Selenium Automation Organize Project

I would like to automate few applications. This application consist of web, mobile (Android + IOS) and API. How to organize this project for this situation. Im automation in selenium using Java. In C#, once can create a project consists of multiple sub projects. How to do it in Java?

Please advise.

A billion thanks for your help.

like image 858
nicholas Avatar asked Jan 11 '21 21:01

nicholas


People also ask

Why PageFactory is used in Selenium?

Introduction to PageFactory Class in Selenium The major benefit of the @FindBy annotation is that it lets you initialize page elements without using the FindElement (or FindElements) in Selenium. PageFactory class in Selenium also provides the initElements method for initializing the web elements.


Video Answer


1 Answers

It depends on which build automation tool you choose to work with.

When you work with C# you probably use MSBuild

In Java Stack the most popular build automation tools are maven and gradle and both support multi-module projects, It is up to you to choose which one suits your project requirements.

See

Gradle vs. Maven

Multi-Module Project with Maven

Introduction to Gradle

Maven Scopes and Gradle Configurations Explained

like image 168
eHayik Avatar answered Oct 02 '22 08:10

eHayik