Getting StartedΒΆ

Previously, Poshi tests could only be executed by downloading and creating the test files within the Liferay source code. The Poshi Standalone gradle project enables you to use Poshi in any directory of your choosing without having to fetch the entire Liferay Portal github repository.


Setup the Poshi Standalone gradle project.

Creating a Path File

Create the path file for locators.

Creating a Macro File

Script interactions on the macro file.

Creating a Testcase File

Script user behaviors on the testcase file.

Syntax Validation

Checking syntax before running tests.

Running a Test

Run Poshi tests

Understanding Test Results and Debugging Poshi

Debugging failures in test runs