public class NOK extends Object implements IOKW_State
| Constructor and Description |
|---|
NOK(Core fp_OKW)
\~german
Diese Klasser repräsentiert den Zustand "Not OK".
|
| Modifier and Type | Method and Description |
|---|---|
void |
BeginTest(String fpsTestname)
\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 |
DirectoryCreate(String PATH)
\copydoc IOKW_State::DirectoryCreate(String)
|
void |
DirectoryDelete(String PATH)
\copydoc IOKW_State::DirectoryDelete(String)
|
void |
DoubleClickOn(String FN)
\copydoc IOKW_State::DoubleClickOn(String)
|
void |
EndTest()
\copydoc IOKW_State::EndTest()
|
void |
FileCreate(String PATH)
\copydoc IOKW_State::FileCreate(String)
|
void |
FileDelete(String fpsPathAndFileName)
\copydoc IOKW_State::FileDelete(String)
|
void |
FilesDelete(String fpsDirPath,
String fpsFileMatch)
\copydoc IOKW_State::FilesDelete(String, String)
|
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 |
LogPlaceholder(String FN)
\copydoc IOKW_State::LogPlaceholder(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 fpsMemKeyName)
\copydoc IOKW_State::MemorizeCaption(String,String)
|
void |
MemorizeExists(String FN,
String fpsMemKeyName)
\copydoc IOKW_State::MemorizeExists(String,String)
|
void |
MemorizeHasFocus(String FN,
String fpsMemKeyName)
\copydoc IOKW_State::MemorizeHasFocus(String,String)
|
void |
MemorizeIsActive(String FN,
String fpsMemKeyName)
\copydoc IOKW_State::MemorizeIsActive(String,String)
|
void |
MemorizeLabel(String FN,
String fpsMemKeyName)
\copydoc IOKW_State::MemorizeLabel(String,String)
|
void |
MemorizePlaceholder(String FN,
String fpsMemKeyName)
\copydoc IOKW_State::MemorizePlaceholder(String,String)
|
void |
MemorizeSelectedValue(String FN,
String fpsMemKeyName)
\copydoc IOKW_State::MemorizeSelectedValue(String,String)
|
void |
MemorizeTablecellValue(String FN,
String COL,
String ROW,
String fpsMemKeyName)
\copydoc IOKW_State::MemorizeTablecellValue(String,String,String,String)
|
void |
MemorizeTooltip(String FN,
String fpsMemKeyName)
\copydoc IOKW_State::MemorizeTooltip(String,String)
|
void |
MemorizeValue(String FN,
String fpsMemKeyName)
\copydoc IOKW_State::MemorizeLabel(String,String)
|
void |
Select(String FN,
String fpsValue)
\copydoc IOKW_State::Select(String,String)
|
void |
SelectChild(String FN)
\copydoc IOKW_State::SelectChild(String)
|
void |
SelectContext(String FN)
\copydoc IOKW_State::SelectContext(String)
|
void |
SelectMenu(String FN)
\copydoc IOKW_State::SelectMenu(String)
|
void |
SelectMenu(String FN,
String fpsValue)
\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 SeqName,
String SEQ_ID)
\copydoc IOKW_State::Sequence(String,String,String)
|
void |
SetFocus(String FN)
\copydoc IOKW_State::SetFocus(String)
|
void |
setLanguage(String Language)
\~german
\~english
\~
|
void |
SetValue(String FN,
String Val)
\copydoc IOKW_State::SetValue(String,String)
|
void |
SetVar(String VN,
String Val)
\copydoc IOKW_State::SetVar(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 fpsValue)
\copydoc IOKW_State::TypeKey(String,String)
|
void |
TypeKeyTablecell(String FN,
String COL,
String ROW,
String fpsValue)
\copydoc IOKW_State::TypeKeyTablecell(String,String,String,String)
|
void |
TypeKeyWindow(String FN,
String fpsValue)
\copydoc IOKW_State::TypeKeyWindow(String,String)
|
void |
VerifyBadge(String BN,
String ExpVal)
\copydoc IOKW_State::VerifyBadge(String,String)
|
void |
VerifyBadgeREGX(String FN,
String ExpVal)
\copydoc IOKW_State::VerifyBadgeREGX(String,String)
|
void |
VerifyBadgeWCM(String FN,
String ExpVal)
\copydoc IOKW_State::VerifyBadgeWCM(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 fpsPath,
String ExpVal)
\copydoc IOKW_State::VerifyDirectoryExists(String,String)
|
void |
VerifyErrorMSG_REGX(String FN,
String ExpVal)
\copydoc IOKW_State::VerifyErrorMSG_REGX(String,String)
|
void |
VerifyErrorMSG_WCM(String FN,
String ExpVal)
\copydoc IOKW_State::VerifyErrorMSG_WCM(String,String)
|
void |
VerifyErrorMSG(String FN,
String ExpVal)
\copydoc IOKW_State::VerifyErrorMSG(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 |
VerifyIsDirectory(String fpsPathAndFileName,
String ExpVal)
\copydoc IOKW_State::VerifyIsDirectory(String,String)
|
void |
VerifyIsFile(String fpsPathAndFileName,
String ExpVal)
\copydoc IOKW_State::VerifyIsFile(String,String)
|
void |
VerifyLabel(String FN,
String ExpVal)
\copydoc IOKW_State::VerifyValue(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 |
VerifyMaxLength(String FN,
String ExpVal)
\copydoc IOKW_State::VerifyMaxLength(String,String)
|
void |
VerifyMinLength(String FN,
String ExpVal)
\copydoc IOKW_State::VerifyMinLength(String,String)
|
void |
VerifyPlaceholder(String FN,
String ExpVal)
\copydoc IOKW_State::VerifyPlaceholder(String,String)
|
void |
VerifyPlaceholderREGX(String FN,
String ExpVal)
\copydoc IOKW_State::VerifyPlaceholderREGX(String,String)
|
void |
VerifyPlaceholderWCM(String FN,
String ExpVal)
\copydoc IOKW_State::VerifyPlaceholderWCM(String,String)
|
void |
VerifySelectedValue(String FN,
String ExpVal)
\copydoc IOKW_State::VerifySelectedValue(String,String)
|
void |
VerifySelectedValueREGX(String FN,
String ExpVal)
\copydoc IOKW_State::VerifySelectedValueREGX(String,String)
|
void |
VerifySelectedValueWCM(String FN,
String ExpVal)
\copydoc IOKW_State::VerifySelectedValueWCM(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 NOK(Core fp_OKW)
public void BeginTest(String fpsTestname)
BeginTest in interface IOKW_StatefpsTestname - Name oder Bezeichnung des Testfalls
\~english
Indicates the begin of a test case.
This keyword is mandatory:
OKW test cases must begin with EN.BeginTest(String) and
end with EN.EndTest() between these keywords the test case is described.
\note EN.BeginTest(String) initializes OKW:
-# Set OKW to the state okw.core.OK
-# The name of the test case is written to ${TCN}public void EndTest()
throws Exception
EndTest in interface IOKW_StateExceptionpublic void ClickOn(String FN)
ClickOn in interface IOKW_StateFN - Funktionaler Name des Objekts
\~english
Clicks on given object.
_Example: Click on the object with the name "My Object":_public void DoubleClickOn(String FN)
DoubleClickOn in interface IOKW_StateFN - Funktionaler Name des Objekts
\~english
Clicks on given object.
_Example: Click on the object with the name "My Object":_public void LogCaption(String FN)
LogCaption in interface IOKW_StateFN - Funktionaler Name des Objekts
\~english
No description for "LogCaption" availablepublic void LogExists(String FN)
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:_public void LogHasFocus(String FN)
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":_public void LogIsActive(String FN)
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":_public void LogLabel(String FN)
LogLabel in interface IOKW_StateFN - Funktionaler Name des Objekts
\~english
Displays the value of the label in the log file.public void LogPlaceholder(String FN)
LogPlaceholder in interface IOKW_StateFN - Funktionaler Name des Objekts
\~english
Displays the value of the placeholder in the log file.public void LogSelected(String FN)
LogSelected in interface IOKW_StateFN - Funktionaler Name des Objekts
\~english
Logs the marked text of the given object.public void LogTablecellValue(String FN, String COL, String ROW)
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.public void LogTooltip(String FN)
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":_public void LogValue(String FN)
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-filepublic void MemorizeCaption(String FN, String fpsMemKeyName)
MemorizeCaption in interface IOKW_StateFN - Funktionaler Name des ObjektsfpsMemKeyName - Name des Schlüssels
\~english
No description for "MemorizeCaptione" availablepublic void MemorizeExists(String FN, String fpsMemKeyName)
MemorizeExists in interface IOKW_StateFN - Funktionaler Name des ObjektsfpsMemKeyName - Name des Schlüssels
\~english
\brief
Memorizes the actual existing Status of the object.
The value is stored under the key returned as parameter.public void MemorizeHasFocus(String FN, String fpsMemKeyName)
MemorizeHasFocus in interface IOKW_StateFN - Funktionaler Name des ObjektsfpsMemKeyName - Name des Schlüssels
\~english
No description for "MemorizeHasFocus" availablepublic void MemorizeIsActive(String FN, String fpsMemKeyName)
MemorizeIsActive in interface IOKW_StateFN - Funktionaler Name des ObjektsfpsMemKeyName - Name des Schlüssels
\~english
Memorizes the state of the given object.
The value is stored under the key which is given as parameter.public void MemorizeLabel(String FN, String fpsMemKeyName)
MemorizeLabel in interface IOKW_StateFN - Funktionaler Name des ObjektsfpsMemKeyName - Name des Schlüssels
\~english
Speaks the current value of the label and stores it under fpsMemKeyName.public void MemorizePlaceholder(String FN, String fpsMemKeyName)
MemorizePlaceholder in interface IOKW_StateFN - Funktionaler Name des ObjektsfpsMemKeyName - Name des Schlüssels
\~english
Saves the current value of the label, and saves it under fpsMemKeyName.public void MemorizeSelectedValue(String FN, String fpsMemKeyName)
MemorizeSelectedValue in interface IOKW_StateFN - Funktionaler Name des ObjektsfpsMemKeyName - Name des Schlüssels
\~english
No description for "MemorizeSelectedValue" availablepublic void MemorizeTablecellValue(String FN, String COL, String ROW, String fpsMemKeyName)
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.fpsMemKeyName - Name des Schlüsselspublic void MemorizeTooltip(String FN, String fpsMemKeyName)
MemorizeTooltip in interface IOKW_StateFN - Funktionaler Name des ObjektsfpsMemKeyName - Name des Schlüssels
\~english
Logs the tooltip-text of the given object.
_Example logs the tooltip text of the given object "my object"_public void MemorizeValue(String FN, String fpsMemKeyName)
MemorizeValue in interface IOKW_StateFN - Funktionaler Name des ObjektsfpsMemKeyName - 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.public void Select(String FN, String fpsValue)
Select in interface IOKW_StateFN - Funktionaler Name des ObjektsfpsValue - 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.public void SelectMenu(String FN)
SelectMenu in interface IOKW_StateFN - Funktionaler Name des Objekts
\~english
Selects the given menu item.
_Example Select menu item with name "MyMenu":_ public void SelectMenu(String FN, String fpsValue)
SelectMenu in interface IOKW_StateFN - Funktionaler Name des ObjektsfpsValue - Sich ergebender Wert
\~english
Selects the given menu item.
_Example Select menu item with name "MyMenu":_ public void SelectTablecell(String FN, String COL, String ROW)
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.public void SelectWindow(String FN)
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":_ public void SelectContext(String FN)
SelectContext in interface IOKW_StateFN - Funktionaler Name des Parentobjektes
\~english
Sets the context to FN.
SelectContext() is to be used like SelectWindow(String).
The difference to SelectWindow(String) is that SelectContext(String)
does not trigger any interactions, such as existence check or bringing windows to the foreground.
Technically, only the frame with the given name is selected.
_Example:_
\code{java}
EN.SelectContext( "Login" )
EN.SetValue("User", "MyUser")
EN.SetValue("Password", "MyPassword")
EN.ClickOn("OK")
\endcodepublic void SelectChild(String FN)
SelectChild in interface IOKW_StateFN - Funktionaler Name des KindObjektes
\~english
Sets the value of SELECTEDCHILD to the value of FN.
In the following OpeKeywords this value can be retrieved or referenced with "SELECTEDCHILD".
_Example:_ Selection of the child object with the name "MyChildObject".public void Sequence(String FN, String SeqName, String SEQ_ID)
Sequence in interface IOKW_StateFN - Funktionaler Name des Fensterobjekts, in der die Sequenz definiert ist.SeqName - Name der Sequenz, die aufgerufen werden soll.SEQ_ID - 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_:_ public void SetFocus(String FN)
SetFocus in interface IOKW_StateFN - Funktionaler Name des Objekts
\~english
Setting the focus to the given window object.public 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)
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:public void SetVar(String VN, String Val)
SetVar in interface IOKW_StateVN - Name der Var, die du definieren möchtestVal - Wert, der dem Var-Namen zuzuordnen ist.
\~english
Sets the value of the given variable VN to the given value Val.
__Example:__ Set the value of the variable "myVar" to the value "myValue": public void StartApp(String fpsApplicationName)
StartApp in interface IOKW_StatefpsApplicationName - Der fachliche Name der Anwendung.
\~english
Starts the given application.
_Example: Order to start the application "InternetExplorer":_ public void StopApp(String fpsApplicationName)
StopApp in interface IOKW_StatefpsApplicationName - Derf achliche Name der Anwendung
\~english
\brief
Ends a given application.
_Example: Order to start the application "InternetExplorer":_ public void TypeKey(String FN, String fpsValue)
TypeKey in interface IOKW_StateFN - Funktionaler Name des ObjektsfpsValue - 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":__public void TypeKeyTablecell(String FN, String COL, String ROW, String fpsValue)
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.fpsValue - Sich ergebender Wertpublic void TypeKeyWindow(String FN, String fpsValue)
TypeKeyWindow in interface IOKW_StateFN - Funktionaler Name des ObjektsfpsValue - Einzugebender gebender Wert
\~englishpublic void VerifyBadge(String BN, String ExpVal)
VerifyBadge in interface IOKW_StateExpVal - Erwarteter Wert
\~english
Verifies the Badge of a GUI-object.public void VerifyBadgeWCM(String FN, String ExpVal)
VerifyBadgeWCM in interface IOKW_StateExpVal - Erwarteter Wert
\~english
Verifies the Badge of a GUI-object.
with Wildcard-Matchpublic void VerifyBadgeREGX(String FN, String ExpVal)
VerifyBadgeREGX in interface IOKW_StateExpVal - Erwarteter Wert
\~english
Verifies the Badge of a GUI-object.
with regular expressionpublic void VerifyCaption(String FN, String ExpVal)
VerifyCaption in interface IOKW_StateFN - Funktionaler Name des ObjektsExpVal - Erwarteter Wert
\~english
No description for "VerifyCaption" availablepublic void VerifyCaptionWCM(String FN, String ExpVal)
VerifyCaptionWCM in interface IOKW_StateFN - Funktionaler Name des ObjektsExpVal - Erwarteter Wert
\~english
No description for "VerifyCaption" availablepublic void VerifyCaptionREGX(String FN, String ExpVal)
VerifyCaptionREGX in interface IOKW_StateFN - Funktionaler Name des ObjektsExpVal - Erwarteter Wert
\~english
Verifies the heading of an object, regular expressions are allowed as expected values.
_Example:_ Check if the value (text) of the object "MyObject" starts with the expected value "Django":
\verbatim EN.VerifyCaptionREGX( "myObject", "^Django.*" ) \endverbatimpublic void VerifyExists(String FN, String ExpVal)
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:_ public void VerifyHasFocus(String FN, String ExpVal)
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:_ public void VerifyIsActive(String FN, String ExpVal)
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":_ public void VerifyLabel(String FN, String ExpVal)
VerifyLabel in interface IOKW_StateFN - Funktionaler Name des ObjektsExpVal - Erwarteter Wert
\~english
Verifies the label of a GUI-object.public void VerifyLabelWCM(String FN, String ExpVal)
VerifyLabelWCM in interface IOKW_StateFN - Funktionaler Name des ObjektsExpVal - Erwarteter Wert
\~english
Verifies the Label of a GUI-object.public void VerifyLabelREGX(String FN, String ExpVal)
VerifyLabelREGX in interface IOKW_StateFN - Funktionaler Name des ObjektsExpVal - Erwarteter Wert
\~english
Verifies the Label of a GUI-object.public void VerifyPlaceholder(String FN, String ExpVal)
VerifyPlaceholder in interface IOKW_StateFN - Funktionaler Name des GUI-ObjektesExpVal - Erwarteter Wert
\~english
Verifies the placeholder of a GUI-object.
Example: Check whether the placeholder (text) of the object "MyObject" matches the expected value "Django":
\verbatim EN.VerifyPlaceholderWCM: "MyObjekt", "Django" \endverbatimpublic void VerifyPlaceholderWCM(String FN, String ExpVal)
VerifyPlaceholderWCM in interface IOKW_StateFN - Funktionaler Name des ObjektsExpVal - Erwarteter Wert
\~english
Verifies the placeholder of the GUI object.
Wildcards are allowed in the expected value.
The following wildcards are supported:
* "?" - exactly one arbitrary character is masked
* "*" - (0-n) any characters are masked
* "#" - exactly one digit [0..9] can be masked
_Example: Check whether the placeholder (text) of the object "MyObject" corresponds to the expected value "*jango:_
\verbatim VerifyPlaceholderWCM: "MyObjekt", "*jango" \endverbatimpublic void VerifyMaxLength(String FN, String ExpVal)
VerifyMaxLength in interface IOKW_StateFN - Funktionaler Name des ObjektsExpVal - Erwarteter Wert, als String Zahl
\~english
Verifies the placeholder of a GUI-object.
_Example:_ Check if max. 10 characters in the object with FN = "Name" can be inserted:
\verbatim EN.VerifyMaxLength( "Name", "10" ) \endverbatimpublic void VerifyPlaceholderREGX(String FN, String ExpVal)
VerifyPlaceholderREGX in interface IOKW_StateFN - Funktionaler Name des ObjektsExpVal - Erwarteter Wert
\~english
Verifies the placeholder of the GUI object.
Regular expressions as expected values are allowed.
_Example: Check whether the placeholder (text) of the object "MyObject" corresponds to the expected value "\\.jango":_
\verbatim VerifyPlaceholderREGX: "MyObjekt", "$Django" \endverbatimpublic void VerifySelectedValue(String FN, String ExpVal)
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}.public void VerifySelectedValueWCM(String FN, String ExpVal)
VerifySelectedValueWCM in interface IOKW_Statepublic void VerifySelectedValueREGX(String FN, String ExpVal)
VerifySelectedValueREGX in interface IOKW_Statepublic void VerifyTablecellValue(String FN, String COL, String ROW, String ExpVal)
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.public void VerifyTablecellValueWCM(String FN, String COL, String ROW, String ExpVal)
VerifyTablecellValueWCM 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.public void VerifyTablecellValueREGX(String FN, String COL, String ROW, String ExpVal)
VerifyTablecellValueREGX 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.public void VerifyTooltip(String FN, String ExpVal)
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.public void VerifyTooltipWCM(String FN, String ExpVal)
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":_public void VerifyTooltipREGX(String FN, String ExpVal)
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":_public void VerifyValue(String FN, String ExpVal)
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":_public void VerifyValueWCM(String FN, String ExpVal)
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":_public void VerifyValueREGX(String FN, String ExpVal)
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":_public void FileCreate(String PATH)
FileCreate in interface IOKW_StatePATH - Datei, welches angelegt werden soll.
\~english
Creates the given directory.
After executing the keyword, the given file is exist.
-# If the file exists, then does not happen further.
-# If the file does not exist, it will be created with all parent directories.public void FileDelete(String fpsPathAndFileName)
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.public void FilesDelete(String fpsDirPath, String fpsFileMatch)
FilesDelete in interface IOKW_Statepublic void DirectoryDelete(String PATH)
DirectoryDelete in interface IOKW_StatePATH - 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.
\note
This keyword ensures that _after_ execution, the specified file or files do not (no longer) exist.
If the given file _not_ exists, _the keyword is terminated without an error message_ and an exception is raised.
\par Siehe auch
- EN::DirectoryDelete(string)
- Core::DirectoryDelete(string)
- OK::DirectoryDelete(string)
- NOK::DirectoryDelete(string)
- IOKW_State::DirectoryDelete(string)public void DirectoryCreate(String PATH)
DirectoryCreate in interface IOKW_StatePATH - Verzeichniss welches angelegt werden soll
\~english
Creates the given directory.
After executing the keyword, the given directory is available.
-# if the directory exists, then does not happen further.
-# If the directory does not exist, it will be created with all parent directories.public void VerifyFileExists(String fpsPathAndFileName, String ExpVal)
VerifyFileExists in interface IOKW_StatefpsPathAndFileName - Pfad und Name der Datei, die Geprüft werden sollExpVal - Erwarteter Wert. Möglich Werte sind: "JA"/"NEIN"/"${IGNORIERE}"public void VerifyIsFile(String fpsPathAndFileName, String ExpVal)
VerifyIsFile in interface IOKW_StatefpsPathAndFileName - Pfad und Name der Datei, die geprüft werden soll.ExpVal - Erwarteter Wert. Möglich Werte sind: "JA"/"NEIN"/"${IGNORIERE}"public void VerifyIsDirectory(String fpsPathAndFileName, String ExpVal)
public void VerifyDirectoryExists(String fpsPath, String ExpVal)
VerifyDirectoryExists in interface IOKW_StateExpVal - Erwarteter Wert. Möglich Werte sind: "JA"/"NEIN"/"${IGNORIERE}"
\~englishpublic void CopyFile(String fpsSourcePathAndFileName, String fpsDestinationPathAndFileName)
CopyFile in interface IOKW_Statepublic void VerifyMinLength(String FN, String ExpVal)
VerifyMinLength in interface IOKW_StateFN - Funktionaler Name des ObjektsExpVal - Erwarteter Wert, als String Zahl
\~english
Verifies the placeholder of a GUI-object.
_Example:_ Check if min. 3 characters in the object with FN = "Name" have be inserted:
\verbatim EN.VerifyMinLength( "Name", "3" ) \endverbatimpublic void VerifyErrorMSG(String FN, String ExpVal)
VerifyErrorMSG in interface IOKW_StateFN - Funktionaler Name des ObjektsExpVal - Erwarteter Wert
\~english
Checks error messages in forms validated with Angular.public void VerifyErrorMSG_WCM(String FN, String ExpVal)
VerifyErrorMSG_WCM in interface IOKW_StateFN - Funktionaler Name des ObjektsExpVal - Erwarteter Wert
\~english
Checks error messages in forms validated with Angular.
The value is specified as a wildcard match.
The following placeholders are possible:
"?" - exactly one character is masked
"*" - (0-n) any character is masked
"#" - exactly one digit [0..9] can be masked
Example: Check whether the value (text) of the object "MyObject" corresponds to the expected value.
Value "\\\.jango" corresponds to:_ public void VerifyErrorMSG_REGX(String FN, String ExpVal)
VerifyErrorMSG_REGX in interface IOKW_StateFN - Funktionaler Name des ObjektsExpVal - Erwarteter Wert
\~english
Regular expressions as setpoints are allowed.
Checks error messages in forms validated with Angular.
Example: Check whether the value (text) of the object "MyObject" corresponds to the expected value.
Value "\\.jango" corresponds to:_ Copyright © 2021 OpenKeyWord. All rights reserved.