This site requires JavaScript to be enabled
IE BUMPER

Product
Version
IncidentLookup using list
Language
How can we help?

Solution Suggestions

Please enter your question to get suggestions.
  Help
IE BUMPER
Categories
Boolean Operators
OR or vertical bar symbol (|)
Finds a match if either the terms exist in a document (a union using sets).
AND
Finds a match if both terms exist in a document (an intersection of sets).
NOT, minus (-), or exclamation point (!)
Excludes documents that contain the term after NOT (a difference of sets).
Wildcards
Asterisk (*)
The asterisk symbol performs a multi character wildcard search.
Percent sign (%)
The percent sign performs a single character wildcard search.
Phrases
Quotation marks (")
Use quotation marks to search for an exact phrase with multiple terms.
For examples and more information look at our Knowledge Base: Advanced Search On The Support Portal

Using buffers in escaped strings in TBox

This article describes the effect of escape characters in TBox.


Situation

The use of escape characters (") in TBox and the number of escape characters required is often unclear, especially in combination with buffers. This article explains the effect various numbers of escape characters have on the output string and why this is the case.

EXAMPLES

Let's have a look at the following examples:

The red boxes symbols escape sequences.

When this TestStep is executed, the following buffers are created:

EXPLANATION

A single set of quotes (e.g. "Tim") is interpreted as escape characters and will therefore be removed from the resulting string.

 

If quotes should be included in the result, two additional, consecutive quotes must be used within the escaped sequence (e.g. """Tim""" turns out as "Tim"). Two consecutive quotes inside an escape sequence signal Tosca that the escape sequence shouldn't be exited but a quote character should be included in the output text.

 

Accessing a buffered value inside the escape sequence is not possible because {B[...]} is not interpreted as a command but as a simple string. Therefore, the escape sequence must be exited before the buffer is accessed and a new escape sequence must be opened afterwards (e.g. """"{B[Name]}"""").

0 0

Hooi Fang Lim

Created: 2019-11-27 01:37:53

Hi,

I would like to access XL path with a buffer name.

 

e.g.

buffer name = {B[valA]}

how should I access the XL path with the buffer name above?

I tried with {XL[""""{B[valA]}""""]} but translated value shows "No suitable value found for command 'XL'"

How should I use the escape characters in this scenario?

 

TIA!

Regards,

Hooi Fang

0 0

Carlos Medina

Created: 2020-01-27 22:36:39

hi..

i have a problem to put a piece of code in JSON, for example at the moment that i try to put with a send key piece of code TOSCA is not recognized due to iam using { [ Special characters, i was try with this "{""asdsd""}" but is been recognize the special character as a part of the syntaxis and ir mark an error.

 

i want to write

{

"smsHeader" : {

"mobileNumber" : "+527777777777"

}

but is not possible due to the syntaxis... it is exist any other form to getting this

IE BUMPER

Tosca is the perfect solution

Optimize - Manage - Automate

Download Trial