Testing Siebel Business Applications > Keywords Reference > Keywords Description >
InputValue
You use the InputValue keyword to enter a value into a field. The keyword supports unique values by adding the dollar ($) symbol to the end of the text. For example, if the input is john$, then a random unique value appends like "john548". The InputValue keyword supports the following special characters and operators:
- * (asterisk). For example: like AAX*.
- = (equals). For example: date=Today+1.
- + (plus). For example: Today+1.
- - (minus). For example: Today-1.
- LIKE, like. For example: date format like, LIKE AAX*.
- OR. For example: @var1 OR @var2.
- Numerals zero to nine (0 - 9).
Signature
The InputValue keyword supports the following signature: InputValue(AppletRN|FieldRN|[Active_Record/Tileindex/RowNum],Value OR Variable)
Note the following about the HierarchicalList keyword signature:
- RowNumber is optional. If RowNum is not specified, then RowNum defaults to the first row.
- Active_Record obtains the row number of the active record during execution.
- If the action is to be performed on tile applets, then the tile index or row number must start from one.
- !+! is the delimiter used for concatenating dynamic variable in the middle of input data. For more information, see the examples in the following table.
Desktop Examples
The following table describes how to use the InputValue keyword to enter values into fields in desktop applications.
|
|
|
|
SIS Account list Applet|Name |
john$ |
|
Creates a unique value when $ is appended to the end of the value. |
SIS Account list Applet|Name |
Test!+!@storedVar!+!Kwd |
|
Appends the dynamic variable value(storedVar) in between static text by using the delimiter !+!. |
SIS Account list Applet|Name|Active_Record |
john$ |
|
Enters the value in to the field for the highlighted row in the list applet. |
Opportunity Form Applet - Child|CloseDate |
today+10 |
|
Enters the today+10 value into the CloseDate Field. |
SIS Account List Applet|Main Phone Number |
LIKE 650 |
|
Enters the phone number LIKE 650*. |
NULL|Save Query As Applet._SweQueryName |
Test1234 |
|
Enters the value in to the pop-up input field. |
SIS Account list Applet|Name |
NULL |
|
Enters the empty value into the input field (Name). |
Mobile Examples
The following table describes how to use the InputValue keyword to enter values into fields in mobile applications (on mobile devices).
|
|
|
|
SHCE Account Entry Applet - Mobile|Name |
john$ |
|
Creates a unique value when $ is appended to the end of the value. |
SHCE Sales Account List Applet - Mobile|Location|2 |
Paris |
|
Enters the value into the second row of the list applet. For example, Paris. |
|