Getting Started Main Features Examples

【Flowchart Mode】How to manually select paging

2018-10-15 19:26:32
162 views

Abstract:This tutorial mainly introduces how to implement page turning in flowchart mode.

In the tutorials “What is a Behavior Component“, “Introduction to the function points of the “Loop” component“, and “Application scenario of the loop component“, we introduce the “Loop” component in the Flowchart Mode.

This article focuses on the special application scenarios of the “Loop” components, which is the page turning function.

Drag the “Loop” component and the “Click Element” component from below, and the connection relationship is as shown below.

Then set these two components separately, the specific settings are as follows.

1. Loop

Loop Condition is set to “Single Element“.

The “XPath of the Element” parameter can be generated by clicking the button on the right side of the setting box, then clicking the paging button on the page, or manually filling in the XPath of the paging button.

The “Cycles” parameter can be filled according to the specific number of pages and collection requirements.

 

2. Click Element

The “XPath of the element” parameter is set to “Use the XPath of the element in the current loop“.

The “Whether to open a new tab” parameter is set according to specific needs.