Search Results

Capability
Feature
Deployment Approach
How JavaScript Modules are Formatted for AMD
How JavaScript Modules are Formatted for AMD Liferay AMD Loader is based on the AMD specification. All modules inside an npm OSGi bundle must be in AMD format. This is done for CommonJS modules by...
تاريخ النشر: 26‏/04‏/24 8:57 م
How AMD Loader Configuration is Exported
How AMD Loader Configuration is Exported If you don't understand how Liferay AMD Loader works under the hood, please read [Liferay AMD Module Loader](./understanding-bundler-loaders.md) first. ...
تاريخ النشر: 26‏/04‏/24 8:57 م
Creating a Macro File
Creating a Macro File Test Scenario Write your first macro file using the test scenario below: You would like to test that your name does not appear on any learn.liferay.com article. The steps you...
تاريخ النشر: 26‏/04‏/24 8:57 م
Poshi Advantages
Poshi Advantages Simplified Syntax To make it easier for less technical testers to read and write test automation, Poshi uses a simplified Groovy-like script syntax. It is less wordy than most...
تاريخ النشر: 26‏/04‏/24 8:57 م
Setup
Setup Prerequisites Java JDK 8 Google Chrome Gradle or Gradle Wrapper 6.6.1 or higher. Setting up the Poshi Standalone Gradle Project Create a new directory, example poshi-standalone. ...
تاريخ النشر: 26‏/04‏/24 8:57 م
Poshi Basics
Poshi Basics New features, improvements, and system upgrades can sometimes introduce unexpected behaviors and bugs. Running suites of automated tests is an advantageous method of identifying issues...
تاريخ النشر: 26‏/04‏/24 8:57 م
Understanding the npmbundlerrc Structure
Understanding the npmbundlerrc Structure The liferay-npm-bundler is configured via a .npmbundlerrc file placed in the widget project's root folder. You can create a complete configuration manually...
تاريخ النشر: 26‏/04‏/24 8:57 م
OSGi Bundles and npm Package Structure
OSGi Bundles and npm Package Structure To deploy JavaScript modules, you must create an OSGi bundle with the npm dependencies extracted from the project's node_modules folder and modify them to...
تاريخ النشر: 26‏/04‏/24 8:57 م
Understanding the Liferay npm Bundler Loader
Understanding the Liferay npm Bundler Loader liferay-npm-bundler's mechanism is inspired by webpack. Like webpack, the liferay-npm-bundler processes files using a set of rules that include loaders...
تاريخ النشر: 26‏/04‏/24 8:57 م
Liferay npm Bundler
Liferay npm Bundler The liferay-npm-bundler is a bundler (like Webpack or Browserify) that targets Liferay Portal as a platform and assumes you're using your npm packages from widgets (as opposed...
تاريخ النشر: 26‏/04‏/24 8:57 م
Poshi Test Automation
Poshi Test Automation Poshi is a test automation framework that is simple, easy to understand, and does not require prior development experience to get started. Poshi tests can be written to...
تاريخ النشر: 26‏/04‏/24 8:57 م
Creating A Path File
Creating A Path File Test Scenario Write your first path file using the test scenario below: You would like to test that your name does not appear on any learn.liferay.com article. The steps you...
تاريخ النشر: 26‏/04‏/24 8:57 م
Creating the Testcase File
Creating the Testcase File Test Scenario Write your first testcase file using the test scenario below: You would like to test that your name does not appear on any learn.liferay.com article. The...
تاريخ النشر: 26‏/04‏/24 8:57 م
Running a Test
Running a Test Open the poshi-ext.properties file on your poshi-standalone directory and add the following line, replacing the TestCaseFileName#TestCaseName with the one you created in Creating A...
تاريخ النشر: 26‏/04‏/24 8:57 م
Getting Started
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...
تاريخ النشر: 26‏/04‏/24 8:57 م
Understanding Test Results and Debugging Tests
Understanding Test Results and Debugging Tests Poshi tests are run on the terminal or command line. When a test run is completed there are multiple ways to view the test results and diagnose test...
تاريخ النشر: 26‏/04‏/24 8:57 م
Syntax Validation
Syntax Validation The Poshi Standalone grade projects includes a validation task that can be used to check your code for syntax errors before running your test. To use this, simply run ./gradlew...
تاريخ النشر: 26‏/04‏/24 8:57 م
Functions
Functions In Poshi, Functions handle extra WebDriver commands that an element might require to interact with a page object or element. Functions combine the basic methods defined in the...
تاريخ النشر: 26‏/04‏/24 8:57 م
Configuration
Configuration In order to give test writers easy access to commonly used functions, paths, or macros, Poshi resources were created to store existing Poshi files as dependencies. These resources can...
تاريخ النشر: 26‏/04‏/24 8:57 م
Poshi Layers
Poshi Layers :::: 2 :gutter: 3 3 3 3 ::: Functions :link: ./poshi-layers/functions.md Building reliable and reusable functions ::: ::: Paths :link: ./poshi-layers/paths.md Defining Page Objects...
تاريخ النشر: 26‏/04‏/24 8:57 م

Capabilities

Product

Contact Us

Connect

Powered by Liferay
© 2024 Liferay Inc. All Rights Reserved • Privacy Policy