This project is for multi browser (chrome, firefox, edge, safari)
-
This project will provide tests specific to performing various browser UI actions and verifications.
-
The project will provide use of the same steps for Web.
Any QA or Developer can contribute to this project for valid acceptable scenarios as below:
-
Add a new test or feature file of clubbing various tests.
-
There is an error with an existing test and needs to be updated.
-
There is missing documentation.
-
Any other case that should be brought up to QA leads.
Review the https://www.jetbrains.com/idea/download/#section=windows, which addresses questions such as:
-
How do I import the code into IntelliJ?
-
How do I check out and change GIT branches?
-
What are environment variables and how to configure them for running tests?
-
You can download code at https://github.com/lqthang2204/FrameworkAuto
-
Clone this project to a working folder on your local machine. Follow https://github.com/lqthang2204/FrameworkAuto for cloning a repository.
-
VM options : -Dtimeout=120000 -DpageLoadTimeout=120000 -DstartMaximized=true and add more -Drun_unsafe_okhttp_client=true when network got issue Certificate
-
Environment Variables: WEB_BROWSER=FIREFOX
How to run To run Selenide+Cucumber tests, just type from command line: mvn clean verify -Dcucumber.filter.tags=@example or Run all ferature mvn clean verify
For searching a specific feature, you can navigate along the path,
src => test => resources => features => FeatureName.feature
In the below image,
-
Click on src
-
Click on test
-
Click on resources
-
Click on features
-
Select the desired feature you are looking for. A single feature file holds multiple tests for all platforms (Web) as per the requirement. Here Login.feature file is selected in point 4.
-
You can also use Ctrl+Shift+f
on Windows and Cmd+Shift+f
on Mac to search for a feature name, test name or a certain test tag.
Config to run