TestPlan as
Document

as

by Group Public on Thursday July 10 2008 @ 14:15:42 (1/1 Points)

Language ↪Reference ✑ Reply ✓ Stick It ✗ Ditch It ⚐ Tag It

as may be used in any case where an Extended RValue is allowed. That is, in any case where you pass a value to a function, or use a value in a list.

Syntax

It has either the simple syntax of ... as functionCall param0 ... or may also be used with the extended syntax using a with.

A simple example using strFormat

set %Value% 343.28394
set %Price% as strFormat .2f %Value%
Notice %Price%

An example using with and formatDate

set %ITDate% as formatDate with
  %Locale% it_FR 
  %Date% %Var:DateTime%
  %Format% EEE, MMM d
end
Notice %ITDate%
© 2008-2010 edA-qa mort-ora-y
Using Persephone and TestPlan
Tag: