public class Core extends Object implements IOKW_State
| Constructor and Description |
|---|
Core()
\~german
OKW-Konstuktor: Setzt den Default-Zustand auf OKW.OK.
|
| Modifier and Type | Method and Description |
|---|---|
void |
BeginTest(String Testname)
\copydoc IOKW_State::BeginTest(String)
|
void |
ClickOn(String FN)
\copydoc IOKW_State::ClickOn(String)
|
void |
CopyFile(String fpsSourcePathAndFileName,
String fpsDestinationPathAndFileName)
\copydoc IOKW_State::CopyFile(String,String)
|
void |
DoubleClickOn(String FN)
\copydoc IOKW_State::DoubleClickOn(String)
|
void |
EndTest()
\copydoc IOKW_State::EndTest()
|
void |
FileDelete(String fpsPathAndFileName)
\copydoc IOKW_State::FileDelete(String)
|
static void |
Init() |
void |
LogCaption(String FN)
\copydoc IOKW_State::LogCaption(String)
|
void |
LogExists(String FN)
\copydoc IOKW_State::LogExists(String)
|
void |
LogHasFocus(String FN)
\copydoc IOKW_State::LogHasFocus(String)
|
void |
LogIsActive(String FN)
\copydoc IOKW_State::LogIsActive(String)
|
void |
LogLabel(String FN)
\copydoc IOKW_State::LogLabel(String)
|
void |
LogSelected(String FN)
\copydoc IOKW_State::LogSelected(String)
|
void |
LogTablecellValue(String FN,
String COL,
String ROW)
\copydoc IOKW_State::LogTablecellValue(String,String,String)
|
void |
LogTooltip(String FN)
\copydoc IOKW_State::LogTooltip(String)
|
void |
LogValue(String FN)
\copydoc IOKW_State::LogValue(String)
|
void |
MemorizeCaption(String FN,
String Val)
\copydoc IOKW_State::MemorizeCaption(String,String)
|
void |
MemorizeExists(String FN,
String Val)
\copydoc IOKW_State::MemorizeExists(String,String)
|
void |
MemorizeHasFocus(String FN,
String Val)
\copydoc IOKW_State::MemorizeHasFocus(String,String)
|
void |
MemorizeIsActive(String FN,
String Val)
\copydoc IOKW_State::MemorizeIsActive(String,String)
|
void |
MemorizeLabel(String FN,
String Val)
\copydoc IOKW_State::MemorizeLabel(String,String)
|
void |
MemorizeSelectedValue(String FN,
String Val)
\copydoc IOKW_State::MemorizeSelectedValue(String,String)
|
void |
MemorizeTablecellValue(String FN,
String COL,
String ROW,
String fpsKeyName)
\copydoc IOKW_State::MemorizeTablecellValue(String,String,String,String)
|
void |
MemorizeTooltip(String FN,
String Val)
\copydoc IOKW_State::MemorizeTooltip(String,String)
|
void |
MemorizeValue(String FN,
String Val)
\copydoc IOKW_State::MemorizeValue(String,String)
|
void |
Select(String FN,
String Val)
\copydoc IOKW_State::Select(String,String)
|
void |
SelectMenu(String FN)
\copydoc IOKW_State::SelectMenu(String)
|
void |
SelectMenu(String FN,
String Val)
\copydoc IOKW_State::SelectMenu(String,String)
|
void |
SelectTablecell(String FN,
String COL,
String ROW)
\copydoc IOKW_State::SelectTablecell(String,String,String)
|
void |
SelectWindow(String FN)
\copydoc IOKW_State::SelectWindow(String)
|
void |
Sequence(String FN,
String fpsSequenName,
String SEQID)
\copydoc IOKW_State::Sequence(String,String,String)
|
void |
SetCurrentState(IOKW_State fp_CurrentState)
\~german
Setter zum Setzen des aktuellen Zustandes.
|
void |
SetFocus(String FN)
\copydoc IOKW_State::SetFocus(String)
|
void |
SetLanguage(String Language)
\~german
Setzt die Sprache auf den gegebenen wert Language.
|
void |
SetValue(String FN,
String Val)
\copydoc IOKW_State::SetValue(String,String)
|
void |
StartApp(String fpsApplicationName)
\copydoc IOKW_State::StartApp(String)
|
void |
StopApp(String fpsApplicationName)
\copydoc IOKW_State::StopApp(String)
|
void |
TypeKey(String FN,
String Val)
\copydoc IOKW_State::TypeKey(String,String)
|
void |
TypeKeyTablecell(String FN,
String COL,
String ROW,
String Val)
\copydoc IOKW_State::TypeKeyTablecell(String,String,String,String)
|
void |
TypeKeyWindow(String FN,
String Val)
\copydoc IOKW_State::TypeKeyWindow(String,String)
|
void |
VerifyCaption(String FN,
String ExpVal)
\copydoc IOKW_State::VerifyCaption(String,String)
|
void |
VerifyCaptionREGX(String FN,
String ExpVal)
\copydoc IOKW_State::VerifyCaptionREGX(String,String)
|
void |
VerifyCaptionWCM(String FN,
String ExpVal)
\copydoc IOKW_State::VerifyCaptionWCM(String,String)
|
void |
VerifyDirectoryExists(String fpsPathAndFileName,
String ExpVal)
\copydoc IOKW_State::VerifyDirectoryExists(String,String)
|
void |
VerifyExists(String FN,
String ExpVal)
\copydoc IOKW_State::VerifyExists(String,String)
|
void |
VerifyFileExists(String fpsPathAndFileName,
String ExpVal)
\copydoc IOKW_State::VerifyFileExists(String,String)
|
void |
VerifyHasFocus(String FN,
String ExpVal)
\copydoc IOKW_State::VerifyHasFocus(String,String)
|
void |
VerifyIsActive(String FN,
String ExpVal)
\copydoc IOKW_State::VerifyIsActive(String,String)
|
void |
VerifyLabel(String FN,
String ExpVal)
\copydoc IOKW_State::VerifyLabel(String,String)
|
void |
VerifyLabelREGX(String FN,
String ExpVal)
\copydoc IOKW_State::VerifyLabelREGX(String,String)
|
void |
VerifyLabelWCM(String FN,
String ExpVal)
\copydoc IOKW_State::VerifyLabelWCM(String,String)
|
void |
VerifySelectedValue(String FN,
String ExpVal)
\copydoc IOKW_State::VerifySelectedValue(String,String)
|
void |
VerifySelectedValueREGX(String FN,
String ExpVal)
\copydoc IOKW_State::VerifySelectedValue(String,String)
|
void |
VerifySelectedValueWCM(String FN,
String ExpVal)
\copydoc IOKW_State::VerifySelectedValueWCN(String,String)
|
void |
VerifyTablecellValue(String FN,
String COL,
String ROW,
String ExpVal)
\copydoc IOKW_State::VerifyTablecellValue(String,String,String,String)
|
void |
VerifyTablecellValueREGX(String FN,
String COL,
String ROW,
String ExpVal)
\copydoc IOKW_State::VerifyTablecellValueREGX(String,String,String,String)
|
void |
VerifyTablecellValueWCM(String FN,
String COL,
String ROW,
String ExpVal)
\copydoc IOKW_State::VerifyTablecellValueWCM(String,String,String,String)
|
void |
VerifyTooltip(String FN,
String ExpVal)
\copydoc IOKW_State::VerifyTooltip(String,String)
|
void |
VerifyTooltipREGX(String FN,
String ExpVal)
\copydoc IOKW_State::VerifyTooltipREGX(String,String)
|
void |
VerifyTooltipWCM(String FN,
String ExpVal)
\copydoc IOKW_State::VerifyTooltipWCM(String,String)
|
void |
VerifyValue(String FN,
String ExpVal)
\copydoc IOKW_State::VerifyValue(String,String)
|
void |
VerifyValueREGX(String FN,
String ExpVal)
\copydoc IOKW_State::VerifyValueREGX(String,String)
|
void |
VerifyValueWCM(String FN,
String ExpVal)
\copydoc IOKW_State::VerifyValueWCM(String,String)
|
public Core()
public static void Init()
public void BeginTest(String Testname) throws Exception
BeginTest in interface IOKW_StateTestname - Name oder Bezeichnung des Testfalls.
\~english
Begins a test.
Description of the allgorithm
\note Keyword initalisExceptionpublic void ClickOn(String FN) throws Exception
ClickOn in interface IOKW_StateFN - Funktionaler Name des Objekts
\~english
Clicks on given object.
_Example: Click on the object with the name "My Object":_Exceptionpublic void DoubleClickOn(String FN) throws Exception
DoubleClickOn in interface IOKW_StateFN - Funktionaler Name des Objekts
\~english
Clicks on given object.
_Example: Click on the object with the name "My Object":_Exceptionpublic void EndTest()
throws Exception
EndTest in interface IOKW_StateExceptionpublic void LogExists(String FN) throws Exception
LogExists in interface IOKW_StateFN - Funktionaler Name des Objekts
\~english
Logs whether the given object is existing.
_Example: Logs whether the object with the name "My Object" is existing:_Exceptionpublic void LogHasFocus(String FN) throws Exception
LogHasFocus in interface IOKW_StateFN - Funktionaler Name des Objekts
\~english
Logs the focus status of the given object.
_Example: Logs the focus status of "My Object":_Exceptionpublic void LogIsActive(String FN) throws Exception
LogIsActive in interface IOKW_StateFN - Funktionaler Name des Objekts
\~english
Logs the status of the given object.
_Example: Logs the active status of "My Object":_Exceptionpublic void LogSelected(String FN) throws Exception
LogSelected in interface IOKW_StateFN - Funktionaler Name des Objekts
\~english
Logs the marked text of the given object.Exceptionpublic void LogTablecellValue(String FN, String COL, String ROW) throws Exception
LogTablecellValue in interface IOKW_StateFN - Funktionaler Name des ObjektsCOL - Spaltennummer der zu wählenden Zelle, beginnend mit 1.ROW - Zeilennummer der zu wählenden Zelle, beginnend mit 1.
\~english
\brief
Logs the value of the selected tablecell.Exceptionpublic void LogTooltip(String FN) throws Exception
LogTooltip in interface IOKW_StateFN - Funktionaler Name des Objekts
\~english
Logs the Tooltip of the given object.
_Example: Logs the tooltip text of "My Object":_Exceptionpublic void LogCaption(String FN) throws Exception
LogCaption in interface IOKW_StateFN - Funktionaler Name des Objekts
\~english
No description for "LogCaption" availableExceptionpublic void LogLabel(String FN) throws Exception
LogLabel in interface IOKW_StateFN - Funktionaler Name des Objekts
\~english
No description for "LogLabel" availableExceptionpublic void LogValue(String FN) throws Exception
LogValue in interface IOKW_StateFN - Funktionaler Name des Objekts
\~english
Logs the standard value of an object.
The standard value of the object (in most cases the visible text) is detected
and returned in the actual log-fileExceptionpublic void MemorizeExists(String FN, String Val) throws Exception
MemorizeExists in interface IOKW_StateFN - Funktionaler Name des ObjektsVal - Name des Schlüssels
\~english
\brief
Memorizes the actual existing Status of the object.
The value is stored under the key returned as parameter.Exceptionpublic void MemorizeHasFocus(String FN, String Val) throws Exception
MemorizeHasFocus in interface IOKW_StateFN - Funktionaler Name des ObjektsVal - Name des Schlüssels
\~english
No description for "MemorizeHasFocus" availableExceptionpublic void MemorizeIsActive(String FN, String Val) throws Exception
MemorizeIsActive in interface IOKW_StateFN - Funktionaler Name des ObjektsVal - Name des Schlüssels
\~english
Memorizes the state of the given object.
The value is stored under the key which is given as parameter.Exceptionpublic void MemorizeSelectedValue(String FN, String Val) throws Exception
MemorizeSelectedValue in interface IOKW_StateFN - Funktionaler Name des ObjektsVal - Name des Schlüssels
\~english
No description for "MemorizeSelectedValue" availableExceptionpublic void MemorizeTablecellValue(String FN, String COL, String ROW, String fpsKeyName) throws Exception
MemorizeTablecellValue in interface IOKW_StateFN - Funktionaler Name des ObjektsCOL - Spaltennummer der zu wählenden Zelle, beginnend mit 1.ROW - Zeilennummer der zu wählenden Zelle, beginnend mit 1.
\~english
Memorizes the value of the given tablecell.fpsKeyName - Name des SchlüsselsExceptionpublic void MemorizeTooltip(String FN, String Val) throws Exception
MemorizeTooltip in interface IOKW_StateFN - Funktionaler Name des ObjektsVal - Name des Schlüssels
\~english
Logs the tooltip-text of the given object.
_Example logs the tooltip text of the given object "my object"_Exceptionpublic void MemorizeLabel(String FN, String Val) throws Exception
MemorizeLabel in interface IOKW_StateFN - Funktionaler Name des ObjektsVal - Name des Schlüssels
\~english
No description for "MemorizeLabel" availableExceptionpublic void MemorizeCaption(String FN, String Val) throws Exception
MemorizeCaption in interface IOKW_StateFN - Funktionaler Name des ObjektsVal - Name des Schlüssels
\~english
No description for "MemorizeCaptione" availableExceptionpublic void MemorizeValue(String FN, String Val) throws Exception
MemorizeValue in interface IOKW_StateFN - Funktionaler Name des ObjektsVal - Name des Schlüssels
\~english
Memorizes the standard value of an object.
The standard value of the object -mostly this is the displayed text- is picked out
and stored under the internal given key. The value can read out with the keyword XXXXX after it.Exceptionpublic void Select(String FN, String Val) throws Exception
Select in interface IOKW_StateFN - Funktionaler Name des ObjektsVal - Sich ergebender Wert
\~english
Select all rows in a list/chart, which contain the given data.
Chart columns are merged row by row to process lists and charts identical.
The first row which contains the given data will be selected. The row is selected by a single click.
The delivery of an additional parameter "Doubleclick" leads to the use of a doubleclick.
The {HSEP}-constant can be used, if defined values in multiple columns are required.Exceptionpublic void SelectMenu(String FN) throws Exception
SelectMenu in interface IOKW_StateFN - Funktionaler Name des Objekts
\~english
Selects the given menu item.
_Example Select menu item with name "MyMenu":_ Exceptionpublic void SelectMenu(String FN, String Val) throws Exception
SelectMenu in interface IOKW_StateFN - Funktionaler Name des ObjektsVal - Sich ergebender Wert
\~english
Selects the given menu item.
_Example Select menu item with name "MyMenu":_ Exceptionpublic void SelectTablecell(String FN, String COL, String ROW) throws Exception
SelectTablecell in interface IOKW_StateFN - Funktionaler Name des ObjektsCOL - Spaltennummer der zu wählenden Zelle, beginnend mit 1.ROW - Zeilennummer der zu wählenden Zelle, beginnend mit 1.
\~english
Selects the given table cell.
The column and row positions are always entered as strings.
If such a parameter is starting with a hash (#) the String is interpreted as an index number, e.g. "#1").
If a hash sign should be interpreted as text it must signed with a backslash,
e.g. "\#1 text with leading number").
The header row is addressed with the index "0". The first data row starts with the index 1.
For tables with multiline headers the offset to the first data row can be set
The column index starts with the number 1.Exceptionpublic void SelectWindow(String FN) throws Exception
SelectWindow in interface IOKW_StateFN - Funktionaler Name des Objekts
\~english
Setting the context for the given window and ensuring that the window
is active and in the foreground.
_Example: Select window with name "MyWindow":_ Exceptionpublic void Sequence(String FN, String fpsSequenName, String SEQID) throws Exception
Sequence in interface IOKW_StateFN - Funktionaler Name des Fensterobjekts, in der die Sequenz definiert ist.fpsSequenName - Name der Sequenz, die aufgerufen werden soll.SEQID - Sequenz ID des Datensatzes, die als Eingabe verwendet werden soll.
\~english
Calls the sequence of the window.
Sequences are defined per window and have a unique sequence name within the window.
Entered records are referenced with the sequence ID.
_Example: Calling the sequence _Login_ of the window _Login_ with the record _Administrator_:_ Exceptionpublic void SetCurrentState(IOKW_State fp_CurrentState)
public void SetFocus(String FN) throws Exception
SetFocus in interface IOKW_StateFN - Funktionaler Name des Objekts
\~english
Setting the focus to the given window object.Exceptionpublic void SetLanguage(String Language)
SetLanguage in interface IOKW_StateLanguage - Sprache die ausgewählt werden soll, z.B. mit "de"
\~english
Internal method to set the language of the language depending outputs of the log documentation.
The choosable languages are defined in OKWLanguage::cvLsLanguagesImplemented
and are prooved with this list.public void SetValue(String FN, String Val) throws Exception
SetValue in interface IOKW_StateFN - Funktionaler Name des ObjektsVal - Sich ergebender Wert
\~english
Setting the value of the given window object to the given value.
The input is not working with the simulation of single keyboard inputs,
but with High-Level Setter-Methods of the objects:Exceptionpublic void StartApp(String fpsApplicationName) throws Exception
StartApp in interface IOKW_StatefpsApplicationName - Der fachliche Name der Anwendung.
\~english
Starts the given application.
_Example: Order to start the application "InternetExplorer":_ Exceptionpublic void StopApp(String fpsApplicationName) throws Exception
StopApp in interface IOKW_StatefpsApplicationName - Derf achliche Name der Anwendung
\~english
\brief
Ends a given application.
_Example: Order to start the application "InternetExplorer":_ Exceptionpublic void TypeKey(String FN, String Val) throws Exception
TypeKey in interface IOKW_StateFN - Funktionaler Name des ObjektsVal - Sich ergebender Wert
\~english
Keyboard inputs of data in the active windows object.
The data are sent as keyboard inputs to the child object of the active window.
This enables the use of hot keys and function keys as input data.
If with help of the valueseparator (SEP) multiple values are passed in the parameter,
then all values are sent as keyboard input to the window object, separated by a line break.
__Example: "Simple Input":__Exceptionpublic void TypeKeyTablecell(String FN, String COL, String ROW, String Val) throws Exception
TypeKeyTablecell in interface IOKW_StateFN - Funktionaler Name des ObjektsCOL - Spaltennummer der zu wählenden Zelle, beginnend mit 1.
\~english
Input of date to a given tablecell by the keyboard.
The data are sent as keyboard inputs to the given tablecell.
This ensures the use of hotkeys and functional tabs as input data.
The parameters of the row and column positions are always set as strings.
If such a parameter is starting with a hash (#) the String is interpreted as an index number, e.g. "#1").
If a hash sign should be interpreted as text it must signed with a backslash,
e.g. "\#1 text with leading number").
The header row is adressed with the index "0". The first data row starts with the index 1.
For tables with multiline headers the offset to the first data row can be set
The column index starts with the number 1.ROW - Zeilennummer der zu wählenden Zelle, beginnend mit 1.Val - Sich ergebender WertExceptionpublic void TypeKeyWindow(String FN, String Val) throws Exception
TypeKeyWindow in interface IOKW_StateFN - Funktionaler Name des ObjektsVal - Sich ergebender Wert
\~englishExceptionpublic void VerifyExists(String FN, String ExpVal) throws Exception
VerifyExists in interface IOKW_StateFN - Funktionaler Name des ObjektsExpVal - Erwarteter Wert
\~english
Checks the existence of the given object.
_Example #1: Check if the object MyObject exists:_ Exceptionpublic void VerifyHasFocus(String FN, String ExpVal) throws Exception
VerifyHasFocus in interface IOKW_StateFN - Funktionaler Name des ObjektsExpVal - Erwarteter Wert. Erlaubte Werte sind: "JA", "NEIN" und "IGNORIEREN".
\~english
Compares the focus status of the given object with the expected value.
_Example #1: Verify if the object MyObject has the focus:_ Exceptionpublic void VerifyIsActive(String FN, String ExpVal) throws Exception
VerifyIsActive in interface IOKW_StateFN - Funktionaler Name des ObjektsExpVal - Erwarteter Wert. Erlaubte Werte sind: "JA", "NEIN" und "IGNORIEREN".
\~english
Compares the focus status of the given object with the expected value.
_Example: Verify if the object MyObject is in the state "active":_ Exceptionpublic void VerifySelectedValue(String FN, String ExpVal) throws Exception
VerifySelectedValue in interface IOKW_StateFN - Funktionaler Name des ObjektsExpVal - Erwarteter Wert
\~english
Compares the selected value of the given listobject with the expected value.
A list can be a simple list, a table or a tree-view.
Expected Values in tree-views are indicated with the whole hierarchy (see example).
With this the hierarchical elements are divided with the separator {SEP}.Exceptionpublic void VerifySelectedValueWCM(String FN, String ExpVal) throws Exception
VerifySelectedValueWCM in interface IOKW_StateExceptionpublic void VerifySelectedValueREGX(String FN, String ExpVal) throws Exception
VerifySelectedValueREGX in interface IOKW_StateExceptionpublic void VerifyTablecellValue(String FN, String COL, String ROW, String ExpVal) throws Exception
VerifyTablecellValue in interface IOKW_StateFN - Funktionaler Name des ObjektsCOL - Spaltennummer der zu wählenden Zelle, beginnend mit 1.ROW - Zeilennummer der zu wählenden Zelle, beginnend mit 1.ExpVal - Erwarteter Wert
\~english
Compares the content of the given table cell with the expected value.Exceptionpublic void VerifyTablecellValueWCM(String FN, String COL, String ROW, String ExpVal) throws Exception
VerifyTablecellValueWCM in interface IOKW_StateExceptionpublic void VerifyTablecellValueREGX(String FN, String COL, String ROW, String ExpVal) throws Exception
VerifyTablecellValueREGX in interface IOKW_StateExceptionpublic void VerifyTooltip(String FN, String ExpVal) throws Exception
VerifyTooltip in interface IOKW_StateFN - Funktionaler Name des ObjektsExpVal - Erwarteter Wert
\~english
Checks the tooltip-text of an object.
The expected value is exactly, i.e. without wildcards, specified.Exceptionpublic void VerifyTooltipREGX(String FN, String ExpVal) throws Exception
VerifyTooltipREGX in interface IOKW_StateFN - Funktionaler Name des ObjektsExpVal - Erwarteter Wert, gegegebn als Regulärerausdruck.
\~english
Checks the tooltip-text of an object. The expected tooltip text is givan as Regularexpression.
_Example: Check if the tooltip text of object "MyObject" equals the expected tooltip text "\\.jango":_Exceptionpublic void VerifyTooltipWCM(String FN, String ExpVal) throws Exception
VerifyTooltipWCM in interface IOKW_StateFN - Funktionaler Name des ObjektsExpVal - Erwarteter Wert als Wildcardmatch.
\~english
Checks the tooltip text of an object. The expected Value is givan as WildCardMatch
The following wildcards can be used:
* "?" - exactly one character is masked
* "*" - (0-n) any number of characters to be masked
* "#" - exactly one number [0..9] is masked
_Example: Check if the tooltip text of object "MyObject" equals the expected value "?jango":_Exceptionpublic void VerifyCaption(String FN, String ExpVal) throws Exception
VerifyCaption in interface IOKW_StateFN - Funktionaler Name des ObjektsExpVal - Erwarteter Wert
\~english
No description for "VerifyCaption" availableExceptionpublic void VerifyCaptionWCM(String FN, String ExpVal) throws Exception
VerifyCaptionWCM in interface IOKW_StateFN - Funktionaler Name des ObjektsExpVal - Erwarteter Wert
\~english
No description for "VerifyCaption" availableExceptionpublic void VerifyCaptionREGX(String FN, String ExpVal) throws Exception
VerifyCaptionREGX in interface IOKW_StateFN - Funktionaler Name des ObjektsExpVal - Erwarteter Wert
\~english
No description for "VerifyCaption" availableExceptionpublic void VerifyLabel(String FN, String ExpVal) throws Exception
VerifyLabel in interface IOKW_StateFN - Funktionaler Name des ObjektsExpVal - Erwarteter Wert
\~english
Verifies the Label of a GUI-object.Exceptionpublic void VerifyLabelWCM(String FN, String ExpVal) throws Exception
VerifyLabelWCM in interface IOKW_StateFN - Funktionaler Name des ObjektsExpVal - Erwarteter Wert
\~english
Verifies the Label of a GUI-object.Exceptionpublic void VerifyLabelREGX(String FN, String ExpVal) throws Exception
VerifyLabelREGX in interface IOKW_StateFN - Funktionaler Name des ObjektsExpVal - Erwarteter Wert
\~english
Verifies the Label of a GUI-object.Exceptionpublic void VerifyValue(String FN, String ExpVal) throws Exception
VerifyValue in interface IOKW_StateFN - Funktionaler Name des ObjektsExpVal - Erwarteter Wert
\~english
Checks the standard value of an object (in most cases this is the displayed text).
The expected value is exactly, i.e. without wildcards, specified.
_Example: Check if the value (text) of object "MyObject" equals the expected value "Django":_Exceptionpublic void VerifyValueREGX(String FN, String ExpVal) throws Exception
VerifyValueREGX in interface IOKW_StateFN - Funktionaler Name des ObjektsExpVal - Erwarteter Wert
\~english
Checks the standard value of an object (in most cases this is the displayed text). The expected Value is givan as Regularexpression
_Example: Check if the value (text) of object "MyObject" equals the expected value "Django":_Exceptionpublic void VerifyValueWCM(String FN, String ExpVal) throws Exception
VerifyValueWCM in interface IOKW_StateFN - Funktionaler Name des ObjektsExpVal - Erwarteter Wert / Sollwert.
\~english
Checks the standard value of an object (in most cases this is the displayed text). The expected Value is givan as Regularexpression
The following wildcards can be used:
* "?" - exactly one character is masked
* "*" - (0-n) any number of characters to be masked
* "#" - exactly one number [0..9] is masked
_Example: Check if the value (text) of object "MyObject" equals the expected value "Django":_Exceptionpublic void FileDelete(String fpsPathAndFileName) throws Exception
FileDelete in interface IOKW_StatefpsPathAndFileName - Vollständiger Pfad und Dateiname.
\~english
Deletes the given file.
If the file does not exist, then this keyword ends without error message and an exception will not rais.
- OKW-Parser is included.
- widcards are in the filename allowed.Exceptionpublic void VerifyFileExists(String fpsPathAndFileName, String ExpVal) throws Exception
VerifyFileExists in interface IOKW_StatefpsPathAndFileName - Pfad und Name der Datei, die Geprüft werden sollExpVal - Erwarteter Wert. Möglich Werte sind: "JA"/"NEIN"/"${IGNORIERE}"
/exception OKWFileDoesNotExistsException
Wenn die gegeben Datei ein Verzeichniss ist, also eben keine Datei, dann wird ein OKWFileDoesNotExistsException ausgelöst.
\~englishExceptionpublic void VerifyDirectoryExists(String fpsPathAndFileName, String ExpVal) throws Exception
VerifyDirectoryExists in interface IOKW_StateExpVal - Erwarteter Wert. Möglich Werte sind: "JA"/"NEIN"/"${IGNORIERE}"
\~englishExceptionCopyright © 2017 OpenKeyWord. All rights reserved.