Wie können wir Ihnen helfen?
-
Latest Updates
-
Tool Suite 8.0
-
-
- Set field
- Verify field
- Verify field against reference value
- Read out field
- Call method
- Verify message
- Drag & Drop
- Browser instruction
- Call SAP function
- Call Data Manager
- Call ranorex test
- Verify PDF
- Set variable
- Verify variable
- Calculation
- Assemble text
- Extract text
- Save value to file
- Load value from file
- Insert Wait Step
- Insert screenshot manually
- Resize
- Close browser tab
- ... >15 <
-
-
- User interface - General
- User interface - Menu bar
- User interface - Table search / opened test cases
- User interface - Query editor
- User interface - Results area
- User interface - Parameters / variable mapping
- User Interface - Attachments
- Quick settings - Show intermediate results
- Used Shortcuts
- ... >1 <
-
-
-
Tool Suite 7.0
-
-
- Set field
- Verify field
- Read out field
- Call method
- Verify message
- Drag & Drop
- Browser instruction
- Call SAP function
- Call ranorex test
- Set variable
- Verify variable
- Calculation
- Assemble text
- Extract text
- Save value to file
- Load value from file
- Insert Wait Step
- Insert screenshot manually
- Resize
- Close browser tab
- ... >12 <
-
-
- User interface - General
- User interface - Menu bar
- User interface - Table search / opened test cases
- User interface - Query editor
- User interface - Results area
- User interface - Parameters / variable mapping
- User Interface - Attachments
- Quick settings - Show intermediate results
- Used Shortcuts
- ... >1 <
-
-
-
Tool Suite 6.4
-
-
-
- User interface - General
- User interface - Menu bar
- User interface - Table search / opened test cases
- User interface - Query editor
- User interface - Results area
- User interface - Parameters / variable mapping
- User Interface - Attachments
- Quick settings - Show intermediate results
- Used Shortcuts
- ... >1 <
-
-
-
Premium Support
-
- Artikel kommen bald
-
- Artikel kommen bald
< Zurück
Drucken
Parameters – Macros
Veröffentlicht18. April 2023
Geändert14. May 2024
VonAlexandra Klettenhofer
Macros can be used to define frequently occurring, more complex expressions, for example in the workspace parameters. Macro placeholders can be specified within a parameter value.
Definition:
A macro is defined as a parameter and macro placeholders by “{0}”, “{1}”, etc.
Parameter | Value |
---|---|
Hello | Say ${0} to the {1}! |
Usage:
If an opening round bracket “(” is appended to a parameter placeholder, the expression is not interpreted as a parameter but as a macro.
--- !ClientQuery Id: Makro Statement: Select '${Hello}' as Parameter, '${Hello(servus,reader)}' as Macro
Result:
Parameter | Macro |
---|---|
Say {0} to the {1}! | Say servus to the reader! |
Escaping:
Characters (especially the comma) can be escaped within a macro by backslash.
--- !ClientQuery Id: Macro Statement: Select '${Hello(hi\,,reader)}' as Comma, '${Hello(\\hi\\,reader)}' as Backslash, '${Hello(\{hi$},reader)}' as CurlyBrackets, '${Hello((hi),(reader))}' as RoundBrackets
Result:
Comma | Backslash | CurlyBrackets | RoundBrackets |
---|---|---|---|
Say hi, to the reader! | Say \hi\ to the reader! | Say {hi} to the reader! | Say (hi) to the (reader)! |
Inhaltsverzeichnis