OpenKeyWord  Build Tag: jenkins-DoxyGen_EN-107, Build ID: 2015-03-08_20-51-06
 All Classes Namespaces Functions Variables Properties Pages
OKW.NOK_TRY Class Reference
Inheritance diagram for OKW.NOK_TRY:
Collaboration diagram for OKW.NOK_TRY:

Public Member Functions

 NOK_TRY (Core fp_OKW)
 
void BeginTest (string Testname)
 Begins a test. More...
 
void ClickOn (string fpsFunctionalname)
 Clicks on given object. More...
 
void ClickOn (string fpsFunctionalname, string ClickType)
 Clicks on given object. More...
 
void EndTest ()
 Terminates the test respectively the testcase. More...
 
void LogCaption (string fpsFunctionalname)
 No description for "LogCaption" available. More...
 
void LogExists (string fpsFunctionalname)
 Logs whether the given object is existing. More...
 
void LogHasFocus (string fpsFunctionalname)
 Logs the focus status of the given object. More...
 
void LogIsActive (string fpsFunctionalname)
 Logs the status of the given object. More...
 
void LogLabel (string fpsFunctionalname)
 No description for "LogLabel" available. More...
 
void LogSelected (string fpsFunctionalname)
 Logs the marked text of the given object. More...
 
void LogTablecellValue (string fpsFunctionalname, string fpsCol, string fpsRow)
 Logs the value of the selected tablecell. More...
 
void LogTooltip (string fpsFunctionalname)
 Logs the Tooltip of the given object. More...
 
void LogValue (string fpsFunctionalname)
 Logs the standard value of an object. More...
 
void MemorizeCaption (string fpsFunctionalname, string fpsMemKeyName)
 No description for "MemorizeCaptione" available. More...
 
void MemorizeExists (string fpsFunctionalname, string fpsMemKeyName)
 Memorizes the actual existing Status of the object. More...
 
void MemorizeHasFocus (string fpsFunctionalname, string fpsMemKeyName)
 No description for "MemorizeHasFocus" available. More...
 
void MemorizeIsActive (string fpsFunctionalname, string fpsMemKeyName)
 Memorizes the state of the given object. More...
 
void MemorizeLabel (string fpsFunctionalname, string fpsMemKeyName)
 No description for "MemorizeLabel" available. More...
 
void MemorizeSelectedValue (string fpsFunctionalname, string fpsMemKeyName)
 No description for "MemorizeSelectedValue" available. More...
 
void MemorizeTablecellValue (string fpsFunctionalname, string fpsCol, string fpsRow, string fpsMemKeyName)
 Memorizes the value of the given tablecell. More...
 
void MemorizeTooltip (string fpsFunctionalname, string fpsMemKeyName)
 Logs the tooltip-text of the given object. More...
 
void MemorizeValue (string fpsFunctionalname, string fpsMemKeyName)
 No description for "MemorizeLabel" available. More...
 
void Select (string fpsFunctionalname, string fpsValue)
 Select all rows in a list/chart, which contain the given data. More...
 
void Select (string fpsFunctionalname, string fpsValue, string fpsClickType)
 Select all rows in a list/chart, which contain the given data. More...
 
void SelectMenu (string fpsFunctionalname)
 Selects the given menu item. More...
 
void SelectMenu (string fpsFunctionalname, string fpsValue)
 Selects the given menu item. More...
 
void SelectTablecell (string fpsFunctionalname, string fpsCol, string fpsRow)
 Selects the given table cell. More...
 
void SelectTablecell (string fpsFunctionalname, string fpsCol, string fpsRow, string fpsClickType)
 Selects the given table cell. More...
 
void SelectWindow (string fpsFunctionalname)
 Setting the context for the given window and ensuring that the window is active and in the foreground. More...
 
void Sequence (string fpsFunctionalname, string fps_SequenceName, string SEQ_ID)
 Calls the sequence of the window. More...
 
void SetFocus (string fpsFunctionalname)
 Setting the focus to the given window object. More...
 
void SetLanguage (string Language)
 Internal method to set the language of the language depending outputs of the log documentation. More...
 
void SetValue (string fpsFunctionalname, string fpsValue)
 Setting the value of the given window object to the given value. More...
 
void StartApp (string fps_ApplikationName)
 Starts the given application. More...
 
void StopApp (string fps_ApplikationName)
 Ends a given application. More...
 
void TypeKey (string fpsFunctionalname, string fpsValue)
 Keyboard inputs of data in the active windows object. More...
 
void TypeKeyTablecell (string fpsFunctionalname, string fpsCol, string fpsRow, string fpsValue)
 Input of date to a given tablecell by the keyboard. More...
 
void TypeKeyWindow (string fpsFunctionalname, string fpsValue)
 Keyboard input to a particular window object. More...
 
void VerifyCaption (string fpsFunctionalname, string fpsExpectedValue)
 No description for "VerifyCaption" available. More...
 
void VerifyExists (string fpsFunctionalname, string fpsExpectedValue)
 Checks the existence of the given object.
Example #1: Check if the object MyObject exists:
More...
 
void VerifyHasFocus (string fpsFunctionalname, string fpsExpectedValue)
 Compares the focus status of the given object with the expected value. More...
 
void VerifyIsActive (string fpsFunctionalname, string fpsExpectedValue)
 Compares the focus status of the given object with the expected value. More...
 
void VerifyLabel (string fpsFunctionalname, string fpsExpectedValue)
 No description for "VerifyLabel" available. More...
 
void VerifySelectedValue (string fpsFunctionalname, string fpsExpectedValue)
 Compares the selected value of the given listobject with the expected value. More...
 
void VerifyTablecellValue (string fpsFunctionalname, string fpsCol, string fpsRow, string fpsExpectedValue)
 Compares the content of the given table cell with the expected value. More...
 
void VerifyTooltip (string fpsFunctionalname, string fpsExpectedValue)
 No description for "VerifyTooltip" available. More...
 
void VerifyValue (string fpsFunctionalname, string fpsExpectedValue)
 Checks the standard value of an object (in most cases this is the displayed text). More...
 

Private Attributes

OKWLanguage AL = OKWLanguage.Instance
 
OKWDocu MyOKWDocu = OKWDocu.Instance
 
Core _Kernel
 

Detailed Description

Author
Zoltán Hrabovszki
Date
2013.03.02

Member Function Documentation

void OKW.NOK_TRY.BeginTest ( string  Testname)

Begins a test.

Description of the allgorithm

Note
Additional remarks to the key-word

/param fpsTestname No explanation available

Author
Zoltan Hrabovszki
Date
2014-09-18/jnic

Implements OKW.IOKW_State.

88  {
89  string lvs_KWForCurrentLanguage = this.MyOKWDocu.GetKWForCurrentLanguage("BeginTest");
90 
91  // TODO: Prüfen ob ein catch-Block benötigt wird..
92  try
93  {
94  Logger.Instance.LogKeyWordStart(lvs_KWForCurrentLanguage, Testname);
95 
96  // Alles Initialisieren
97  OKW_Ini.Instance.Init();
98  CurrentObject.Instance.Init();
99 
100  Logger.Instance.LogPrint("NOK_TRY -> OK_TRY");
101  this._Kernel.SetCurrentState(new OK_TRY(this._Kernel));
102  }
103  finally
104  {
105  Logger.Instance.LogKeyWordEnd();
106  }
107 
108  return;
109  }
void OKW.NOK_TRY.ClickOn ( string  fpsFunctionalname)

Clicks on given object.

Example: Click on the object with the name "My Object":

click on: "MyObject" 

/param fpsFunctionalname Functional name of the object

Example: Click on "My Object":

click on: "MyObject" 

/param fpsFunctionalname Functional name of the object

Author
Zoltan Hrabovszki
Date
2014-09-18/jnic

Implements OKW.IOKW_State.

116  {
117  }
void OKW.NOK_TRY.ClickOn ( string  fpsFunctionalname,
string  ClickType 
)

Clicks on given object.

Example: Click on the object with the name "My Object":

click on: "MyObject" 

/param fpsFunctionalname Functional name of the object /param fpsClickType Doubleclick" to select via doubleclick, "Singleclick" to select via singleclick (default)

Author
Zoltan Hrabovszki
Date
2014-09-18/jnic

Implements OKW.IOKW_State.

124  {
125  }
void OKW.NOK_TRY.EndTest ( )

Terminates the test respectively the testcase.

Description of the mode of operation.

Note
Additional remark to the keyword
Author
Zoltan Hrabovszki
Date
2014-09-18/jnic

Implements OKW.IOKW_State.

132  {
133  string lvs_KWForCurrentLanguage = this.MyOKWDocu.GetKWForCurrentLanguage("EndTest");
134  Logger.Instance.LogKeyWordStart("NOK_TRY: " + lvs_KWForCurrentLanguage);
135 
136  Logger.Instance.LogKeyWordEnd();
137  }
void OKW.NOK_TRY.LogCaption ( string  fpsFunctionalname)

No description for "LogCaption" available.

/param fpsFunctionalname Functional name of the object

Author
Zoltan Hrabovszki
Date
2014-09-18/jnic
Todo:
jnic–>keine Beschreibung vorhanden

Implements OKW.IOKW_State.

144  {
145  string lvs_KWForCurrentLanguage = this.MyOKWDocu.GetKWForCurrentLanguage("LogCaption");
146  Logger.Instance.LogKeyWordStart("NOK_TRY: " + lvs_KWForCurrentLanguage, fpsFunctionalname);
147  Logger.Instance.LogKeyWordEnd();
148  }
void OKW.NOK_TRY.LogExists ( string  fpsFunctionalname)

Logs whether the given object is existing.

Example: Logs whether the object with the name "My Object" is existing:

log exists: "MyObject" 

/param fpsFunctionalname Functional name of the object

Author
Zoltan Hrabovszki
Date
2014-09-18/jnic

Implements OKW.IOKW_State.

155  {
156  string lvs_KWForCurrentLanguage = this.MyOKWDocu.GetKWForCurrentLanguage("LogExists");
157  Logger.Instance.LogKeyWordStart("NOK_TRY: " + lvs_KWForCurrentLanguage, fpsFunctionalname);
158  Logger.Instance.LogKeyWordEnd();
159  }
void OKW.NOK_TRY.LogHasFocus ( string  fpsFunctionalname)

Logs the focus status of the given object.

Example: Logs the focus status of "My Object":

LoghasFocus: "MyObject" 

/param fpsFunctionalname Functional name of the object

Author
Zoltan Hrabovszki
Date
2014-09-19/jnic

Implements OKW.IOKW_State.

166  {
167  string lvs_KWForCurrentLanguage = this.MyOKWDocu.GetKWForCurrentLanguage("LogHasFocus");
168  Logger.Instance.LogKeyWordStart("NOK_TRY: " + lvs_KWForCurrentLanguage, fpsFunctionalname);
169  Logger.Instance.LogKeyWordEnd();
170  }
void OKW.NOK_TRY.LogIsActive ( string  fpsFunctionalname)

Logs the status of the given object.

Example: Logs the active status of "My Object":

LogIsActive: "MyObject" 

/param fpsFunctionalname Functional name of the object

Author
Zoltan Hrabovszki
Date
2014-09-19/jnic

Implements OKW.IOKW_State.

177  {
178  string lvs_KWForCurrentLanguage = this.MyOKWDocu.GetKWForCurrentLanguage("LogIsActive");
179  Logger.Instance.LogKeyWordStart("NOK_TRY: " + lvs_KWForCurrentLanguage, fpsFunctionalname);
180  Logger.Instance.LogKeyWordEnd();
181  }
void OKW.NOK_TRY.LogLabel ( string  fpsFunctionalname)

No description for "LogLabel" available.

/param fpsFunctionalname Functional name of the object

Author
Zoltan Hrabovszki
Date
2014-09-19/jnic
Todo:
jnic–>keine Beschreibung vorhanden

Implements OKW.IOKW_State.

188  {
189  string lvs_KWForCurrentLanguage = this.MyOKWDocu.GetKWForCurrentLanguage("LogLabel");
190  Logger.Instance.LogKeyWordStart("NOK_TRY: " + lvs_KWForCurrentLanguage, fpsFunctionalname);
191  Logger.Instance.LogKeyWordEnd();
192  }
void OKW.NOK_TRY.LogSelected ( string  fpsFunctionalname)

Logs the marked text of the given object.

/param fpsFunctionalname Functional name of the object

Author
Zoltan Hrabovszki
Date
2014-09-19/jnic

Implements OKW.IOKW_State.

199  {
200  string lvs_KWForCurrentLanguage = this.MyOKWDocu.GetKWForCurrentLanguage("LogSelected");
201  Logger.Instance.LogKeyWordStart("NOK_TRY: " + lvs_KWForCurrentLanguage, fpsFunctionalname);
202  Logger.Instance.LogKeyWordEnd();
203  }
void OKW.NOK_TRY.LogTablecellValue ( string  fpsFunctionalname,
string  fpsCol,
string  fpsRow 
)

Logs the value of the selected tablecell.

/param fpsFunctionalname Functional name of the object /param fpsCol Column number of cell to be selected, starting with 1. /param fpsRow Row number of cell to be selected, starting with 1.

Author
Zoltan Hrabovszki
Date
2014-09-19/jnic
Todo:
jnic–>Beschreibung überprüfen

Implements OKW.IOKW_State.

210  {
211  string lvs_KWForCurrentLanguage = this.MyOKWDocu.GetKWForCurrentLanguage("LogTablecellValue");
212  Logger.Instance.LogKeyWordStart("NOK_TRY: " + lvs_KWForCurrentLanguage, fpsFunctionalname, fpsCol, fpsRow);
213  Logger.Instance.LogKeyWordEnd();
214  }
void OKW.NOK_TRY.LogTooltip ( string  fpsFunctionalname)

Logs the Tooltip of the given object.

Example: Logs the tooltip text of "My Object":

LogToolip: "MyObject" 

/param fpsFunctionalname Functional name of the object

Author
Zoltan Hrabovszki
Date
2014-09-19/jnic

Implements OKW.IOKW_State.

221  {
222  string lvs_KWForCurrentLanguage = this.MyOKWDocu.GetKWForCurrentLanguage("LogTooltip");
223  Logger.Instance.LogKeyWordStart("NOK_TRY: " + lvs_KWForCurrentLanguage, fpsFunctionalname);
224  Logger.Instance.LogKeyWordEnd();
225  }
void OKW.NOK_TRY.LogValue ( string  fpsFunctionalname)

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-file
Example: Check if the value (text) of object "MyObject" equals the expected value "Django":

Verify Value: "MyObject", "Django" 

/param fpsFunctionalname Functional name of the object

Author
Zoltan Hrabovszki
Date
2014-09-19/jnic

Implements OKW.IOKW_State.

232  {
233  string lvs_KWForCurrentLanguage = this.MyOKWDocu.GetKWForCurrentLanguage("LogValue");
234  Logger.Instance.LogKeyWordStart("NOK_TRY: " + lvs_KWForCurrentLanguage, fpsFunctionalname);
235  Logger.Instance.LogKeyWordEnd();
236  }
void OKW.NOK_TRY.MemorizeCaption ( string  fpsFunctionalname,
string  fpsMemKeyName 
)

No description for "MemorizeCaptione" available.

/param fpsFunctionalname Functional name of the object /param fpsMemKeyName Name of the key

Author
Zoltan Hrabovszki
Date
2014-09-19/jnic
Todo:
jnic–>keine Beschreibung vorhanden

Implements OKW.IOKW_State.

243  {
244  string lvs_KWForCurrentLanguage = this.MyOKWDocu.GetKWForCurrentLanguage("MemorizeCaption");
245  Logger.Instance.LogKeyWordStart("NOK_TRY: " + lvs_KWForCurrentLanguage, fpsFunctionalname, fpsMemKeyName);
246  Logger.Instance.LogKeyWordEnd();
247  }
void OKW.NOK_TRY.MemorizeExists ( string  fpsFunctionalname,
string  fpsMemKeyName 
)

Memorizes the actual existing Status of the object.

The value is stored under the key returned as parameter.
Example: Memorizes the existent state of the object "My Object" under the key "My Key":

Memorize Exists: "MyObject", "MyKey" 

/param fpsFunctionalname Functional name of the object /param fpsMemKeyName Name of the key

Author
Zoltan Hrabovszki
Date
2014-09-19/jnic

Implements OKW.IOKW_State.

254  {
255  string lvs_KWForCurrentLanguage = this.MyOKWDocu.GetKWForCurrentLanguage("MemorizeExists");
256  Logger.Instance.LogKeyWordStart("NOK_TRY: " + lvs_KWForCurrentLanguage, fpsFunctionalname, fpsMemKeyName);
257  Logger.Instance.LogKeyWordEnd();
258  }
void OKW.NOK_TRY.MemorizeHasFocus ( string  fpsFunctionalname,
string  fpsMemKeyName 
)

No description for "MemorizeHasFocus" available.

/param fpsFunctionalname Functional name of the object /param fpsMemKeyName Name of the key

Author
Zoltan Hrabovszki
Date
2014-09-19/jnic
Todo:
jnic–>keine Beschreibung vorhanden

Implements OKW.IOKW_State.

265  {
266  string lvs_KWForCurrentLanguage = this.MyOKWDocu.GetKWForCurrentLanguage("MemorizeHasFocus");
267  Logger.Instance.LogKeyWordStart("NOK_TRY: " + lvs_KWForCurrentLanguage, fpsFunctionalname, fpsMemKeyName);
268  Logger.Instance.LogKeyWordEnd();
269  }
void OKW.NOK_TRY.MemorizeIsActive ( string  fpsFunctionalname,
string  fpsMemKeyName 
)

Memorizes the state of the given object.

The value is stored under the key which is given as parameter.
Example Memorizes the object-state of MyObject under the key "MyKey":

Memorize Is Active: "MyObject", "MyKey" 

/param fpsFunctionalname Functional name of the object /param fpsMemKeyName Name of the key

Author
Zoltan Hrabovszki
Date
2014-09-19/jnic

Implements OKW.IOKW_State.

276  {
277  string lvs_KWForCurrentLanguage = this.MyOKWDocu.GetKWForCurrentLanguage("MemorizeIsActive");
278  Logger.Instance.LogKeyWordStart("NOK_TRY: " + lvs_KWForCurrentLanguage, fpsFunctionalname, fpsMemKeyName);
279  Logger.Instance.LogKeyWordEnd();
280  }
void OKW.NOK_TRY.MemorizeLabel ( string  fpsFunctionalname,
string  fpsMemKeyName 
)

No description for "MemorizeLabel" available.

/param fpsFunctionalname Functional name of the object /param fpsMemKeyName Name of the key

Author
Zoltan Hrabovszki
Date
2014-09-19/jnic
Todo:
jnic–>keine Beschreibung vorhanden

Implements OKW.IOKW_State.

287  {
288  string lvs_KWForCurrentLanguage = this.MyOKWDocu.GetKWForCurrentLanguage("MemorizeLabel");
289  Logger.Instance.LogKeyWordStart("NOK_TRY: " + lvs_KWForCurrentLanguage, fpsFunctionalname, fpsMemKeyName);
290  Logger.Instance.LogKeyWordEnd();
291  }
void OKW.NOK_TRY.MemorizeSelectedValue ( string  fpsFunctionalname,
string  fpsMemKeyName 
)

No description for "MemorizeSelectedValue" available.

/param fpsFunctionalname Functional name of the object /param fpsMemKeyName Name of the key

Author
Zoltan Hrabovszki
Date
2014-09-19/jnic
Todo:
jnic–>keine Beschreibung vorhanden

Implements OKW.IOKW_State.

298  {
299  string lvs_KWForCurrentLanguage = this.MyOKWDocu.GetKWForCurrentLanguage("MemorizeSelectedValue");
300  Logger.Instance.LogKeyWordStart("NOK_TRY: " + lvs_KWForCurrentLanguage, fpsFunctionalname, fpsMemKeyName);
301  Logger.Instance.LogKeyWordEnd();
302  }
void OKW.NOK_TRY.MemorizeTablecellValue ( string  fpsFunctionalname,
string  fpsCol,
string  fpsRow,
string  fpsMemKeyName 
)

Memorizes the value of the given tablecell.

/param fpsFunctionalname Functional name of the object /param fpsMemKeyName Name of the key /param fpsCol Column number of cell to be selected, starting with 1. /param fpsRow Row number of cell to be selected, starting with 1.

Author
Zoltan Hrabovszki
Date
2014-09-19/jnic

Implements OKW.IOKW_State.

309  {
310  string lvs_KWForCurrentLanguage = this.MyOKWDocu.GetKWForCurrentLanguage("MemorizeTablecellValue");
311  Logger.Instance.LogKeyWordStart("NOK_TRY: " + lvs_KWForCurrentLanguage, fpsFunctionalname, fpsCol, fpsRow, fpsMemKeyName);
312  Logger.Instance.LogKeyWordEnd();
313  }
void OKW.NOK_TRY.MemorizeTooltip ( string  fpsFunctionalname,
string  fpsMemKeyName 
)

Logs the tooltip-text of the given object.

Example logs the tooltip text of the given object "my object"

Logge Tooltip: "MeinObjekt" 

/param fpsFunctionalname Functional name of the object /param fpsMemKeyName Name of the key

Author
Zoltan Hrabovszki
Date
2014-09-19/jnic

Implements OKW.IOKW_State.

320  {
321  string lvs_KWForCurrentLanguage = this.MyOKWDocu.GetKWForCurrentLanguage("MemorizeTooltip");
322  Logger.Instance.LogKeyWordStart("NOK_TRY: " + lvs_KWForCurrentLanguage, fpsFunctionalname, fpsMemKeyName);
323  Logger.Instance.LogKeyWordEnd();
324  }
void OKW.NOK_TRY.MemorizeValue ( string  fpsFunctionalname,
string  fpsMemKeyName 
)

No description for "MemorizeLabel" available.

/param fpsFunctionalname Functional name of the object /param fpsMemKeyName Name of the key

Author
Zoltan Hrabovszki
Date
2014-09-19/jnic
Todo:
jnic–>keine Beschreibung vorhanden

Implements OKW.IOKW_State.

331  {
332  string lvs_KWForCurrentLanguage = this.MyOKWDocu.GetKWForCurrentLanguage("MemorizeValue");
333  Logger.Instance.LogKeyWordStart("NOK_TRY: " + lvs_KWForCurrentLanguage, fpsFunctionalname, fpsMemKeyName);
334  Logger.Instance.LogKeyWordEnd();
335  }
void OKW.NOK_TRY.Select ( string  fpsFunctionalname,
string  fpsValue 
)

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.
Example #1: Select all rows which contain the text "Value":

Select: "MyTable", "Value" 


Example #2: Select all rows which contain the text "Value1" in the first column, followed by the text "Value2" in any of the remaining columns:

Select: "MyTable", "Value1{HSEP}Value2" 


Example #3: Select all rows which contain the text "Value1", followed by any (or no) text in the first column, followed by an empty column, followed by the text "Value2" in the third column:

Select: "MyTable", "Value1{HSEP}{HSEP}Value2" 

/param fpsFunctionalname Functional name of the object /param fpsValue Resulting value

Author
Zoltan Hrabovszki
Date
2014-09-19

Implements OKW.IOKW_State.

342  {
343  }
void OKW.NOK_TRY.Select ( string  fpsFunctionalname,
string  fpsValue,
string  fpsClickType 
)

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.
Example #1: Select all rows which contain the text "Value":

Select: "MyTable", "Value" 


Example #2: Select all rows which contain the text "Value1" in the first column, followed by the text "Value2" in any of the remaining columns:

Select: "MyTable", "Value1{HSEP}Value2" 


Example #3: Select all rows which contain the text "Value1", followed by any (or no) text in the first column, followed by an empty column, followed by the text "Value2" in the third column:

Select: "MyTable", "Value1{HSEP}{HSEP}Value2" 

/param fpsFunctionalname Functional name of the object /param fpsValue Resulting value /param fpsClickType Doubleclick" to select via doubleclick, "Singleclick" to select via singleclick (default)

Author
Zoltan Hrabovszki
Date
2014-09-19/jnic

Implements OKW.IOKW_State.

350  {
351  }
void OKW.NOK_TRY.SelectMenu ( string  fpsFunctionalname)

Selects the given menu item.

Example Select menu item with name "MyMenu":

Select menu: "MyMenu" 

/param fpsFunctionalname Functional name of the object

Author
Zoltan Hrabovszki
Date
2014-09-19/jnic

Implements OKW.IOKW_State.

358  {
359  }
void OKW.NOK_TRY.SelectMenu ( string  fpsFunctionalname,
string  fpsValue 
)

Selects the given menu item.

Example Select menu item with name "MyMenu":

Select menu: "MyMenu" 

/param fpsFunctionalname Functional name of the object /param fpsValue Resulting value

Author
Zoltan Hrabovszki
Date
2014-09-19/jnic

Implements OKW.IOKW_State.

366  {
367  }
void OKW.NOK_TRY.SelectTablecell ( string  fpsFunctionalname,
string  fpsCol,
string  fpsRow 
)

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.
Example #1: Select cell at first column with text "Toni" and row with number 3:

Select Tablecell: "MyTable", "Toni", "#3" 

Example #2: Select cell at column with number 1 and row with name "Address":

Select Tablecell: "MyTable", "#1", "Address" 

Example #3: Select cell at column number 1 and row 1:

Select Tablecell: "MyTable", "#1", "#1" 

Example #4: Select cell at col number 1 and first row with text "42":

Select Tablecell: "MyTable", "#1", "42" 

/param fpsFunctionalname Functional name of the object /param fpsCol Column number of cell to be selected, starting with 1. /param fpsRow Row number of cell to be selected, starting with 1.

Author
Zoltan Hrabovszki
Date
2014-09-19/jnic

Implements OKW.IOKW_State.

374  {
375  }
void OKW.NOK_TRY.SelectTablecell ( string  fpsFunctionalname,
string  fpsCol,
string  fpsRow,
string  fpsClickType 
)

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.
Example #1: Select cell at first column with text "Toni" and row with number 3:

Select Tablecell: "MyTable", "Toni", "#3" 

Example #2: Select cell at column with number 1 and row with name "Address":

Select Tablecell: "MyTable", "#1", "Address" 

Example #3: Select cell at column number 1 and row 1:

Select Tablecell: "MyTable", "#1", "#1" 

Example #4: Select cell at col number 1 and first row with text "42":

Select Tablecell: "MyTable", "#1", "42" 

/param fpsFunctionalname Functional name of the object /param fpsClickType Doubleclick" to select via doubleclick, "Singleclick" to select via singleclick (default) /param fpsRow Row number of cell to be selected, starting with 1. /param fpsCol Column number of cell to be selected, starting with 1.

Author
Zoltan Hrabovszki
Date
2014-09-19/jnic

Implements OKW.IOKW_State.

382  {
383  }
void OKW.NOK_TRY.SelectWindow ( string  fpsFunctionalname)

Setting the context for the given window and ensuring that the window is active and in the foreground.

Example: Select window with name "MyWindow":

Select Window: "MyWindow" 

/param fpsFunctionalname Functional name of the object

Author
Zoltan Hrabovszki
Date
2014-09-19/jnic

Implements OKW.IOKW_State.

390  {
391  }
void OKW.NOK_TRY.Sequence ( string  fpsFunctionalname,
string  fps_SequenceName,
string  SEQ_ID 
)

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:_

Sequence: "Login", "Login" = "Administrator" 

/param fpsFunctionalname Functional name of the object /param fpsSequenceName No explanation available /param SEQ_ID No explanation available

Author
Zoltan Hrabovszki
Date
2014-09-21/jnic
Todo:
jnic–>Beschreibung erledigt 2014-10-26

Implements OKW.IOKW_State.

398  {
399  }
void OKW.NOK_TRY.SetFocus ( string  fpsFunctionalname)

Setting the focus to the given window object.

/param fpsFunctionalname Functional name of the object

Author
Zoltan Hrabovszki
Date
2014-09-21/jnic

Implements OKW.IOKW_State.

406  {
407  }
void OKW.NOK_TRY.SetLanguage ( string  Language)

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.

/param Language Select "en"

Author
Zoltan Hrabovszki
Date
2014-09-21/jnic
Todo:
jnic–>Beschreibung erledigt 2014-10-26

Implements OKW.IOKW_State.

410  {
411  this.AL.Language = Language;
412  }
void OKW.NOK_TRY.SetValue ( string  fpsFunctionalname,
string  fpsValue 
)

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:
Inputs of the object are written over with "fpsValue".

Example: Set the value of the objekt "MyWindow" to "Hello":

Set Value: "MyWindow", "Hello" 

/param fpsFunctionalname Functional name of the object /param fpsValue Resulting value

Author
Zoltan Hrabovszki
Date
2014-09-21/jnic
Todo:
–>jnic - Beschreibung bearbeitet 2014-10-26

Implements OKW.IOKW_State.

419  {
420  }
void OKW.NOK_TRY.StartApp ( string  fps_ApplikationName)

Starts the given application.

Example: Order to start the application "InternetExplorer":

Start Application: "InternetExplorer"
Remarks
Te method "StartApp()" must be implemented in the class "fpsApplikatioName". The technical identifier must not inevitably be identical to the name of the exe file: here we hav e a mapping between the technical identifier and the invoked "*.exe"
An example how a full Implementation can look at, is to be find in SeInternetExplorerApp.StartApp

/param fpsApplicationName No explanation available

Author
Zoltan Hrabovszki
Date
2014-09-21/jnic
Todo:
jnic–>Beschreibung angepasst 2014-10-26

Implements OKW.IOKW_State.

427  {
428  }
void OKW.NOK_TRY.StopApp ( string  fps_ApplikationName)

Ends a given application.

Example: Order to start the application "InternetExplorer":

End Application: "InternetExplorer"
Remarks
The method "StopApp()" must be implemented in the class "fpsApplikatioName" The framework is not able to know, how a specific application is to be closed. The must be fully implemented specific to the project.
An example, how the full implementation can look at is to be find at SeInternetExplorerApp.StopApp.

/param fpsApplicationName The technical name of the application

Author
Zoltan Hrabovszki
Date
2014-09-21/jnic todo jnic–>Beschreibung angepasst 2014-10-26

Implements OKW.IOKW_State.

435  {
436  }
void OKW.NOK_TRY.TypeKey ( string  fpsFunctionalname,
string  fpsValue 
)

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":

Type Key: "MyWindowObjekt", "InputValue" 

Example: "Input of constant value":

Type Key: "MainWindow", "{F2}" 

Example: "Input of more than one value":

Type Key: "MyWindowObjekt", "InputValue1{SEP}InputValue2" 

/param fpsFunctionalname Functional name of the object /param fpsValue Resulting value

Author
Zoltan Hrabovszki
Date
2014-09-21/jnic

Implements OKW.IOKW_State.

443  {
444  }
void OKW.NOK_TRY.TypeKeyTablecell ( string  fpsFunctionalname,
string  fpsCol,
string  fpsRow,
string  fpsValue 
)

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.
Example #1: Simple Input in cell at column 2 and row 5:

Type Key Tablecell: "MyTable", 2, 5, "InputValue" 

Example #2: Simple Input in cell at first column with text "Toni" and row with name "Tester":

Type Key Tablecell: "MyTable", "Toni", "Tester", "InputValue" 

Example #3: Simple Input in cell at first column with text "Toni" and row with number 3:

Type Key Tablecell: "MyTable", "Toni", 3, "InputValue" 

Example #4: Simple Input in cell at column with number 1 and row with name "Address":

Type Key Tablecell: "MyTable", 1, "Address", "InputValue" 

Example #5: Input of constant value named "F2" in cell at column number 1 and row 1:

Type Key Tablecell: "MyTable", 1, 1, "{F2}" 

Example #6: Input of more than one value in cell at first column with text "Ernie" and third row:

Type Key Tablecell: "MyTable", "Ernie", 3, "InputValue1{SEP}InputValue2" 

Example #7: Input of value "Hiho" into cell at column number 1 and first row with text "42":

Type Key Tablecell: "MyTable", "#1", "42", "HiHo" 

/param fpsFunctionalname Functional name of the object /param fpsValue Resulting value /param fpsRow Row number of cell to be selected, starting with 1. /param fpsCol Column number of cell to be selected, starting with 1.

Author
Zoltan Hrabovszki
Date
2014-09-21/jnic

Implements OKW.IOKW_State.

451  {
452  }
void OKW.NOK_TRY.TypeKeyWindow ( string  fpsFunctionalname,
string  fpsValue 
)

Keyboard input to a particular window object.

The data will be sent as keyboard inputs to the window object. This ensures the use of hotkeys an functional keys as input data. Multiple values can be given as input by help of the constant {SEP} (see examples). The values are divided with tabstops with the input.
Example #1: Simple Input:

Type Key Window: "MyWindowObjekt", "InputValue" 

Example #2: Input of constant value:

Type Key Window: "MainWindow", "{F2}" 

Example #3: Input of more than one value:

Type Key Window: "MyWindowObjekt", "InputValue1{SEP}InputValue2" 

/param fpsFunctionalname Functional name of the object /param fpsValue Resulting value

Author
Zoltan Hrabovszki
Date
2014-09-21/jnic

Implements OKW.IOKW_State.

459  {
460  }
void OKW.NOK_TRY.VerifyCaption ( string  fpsFunctionalname,
string  fpsExpectedValue 
)

No description for "VerifyCaption" available.

/param fpsFunctionalname Functional name of the object /param fpsExpectedValue Expected value

Author
Zoltan Hrabovszki
Date
2014-09-21/jnic
Todo:
jnic–>keine Beschreibung vorhanden

Implements OKW.IOKW_State.

467  {
468  string lvs_KWForCurrentLanguage = this.MyOKWDocu.GetKWForCurrentLanguage("VerifyCaption");
469  Logger.Instance.LogKeyWordStart("NOK_TRY: " + lvs_KWForCurrentLanguage, fpsFunctionalname, fpsExpectedValue);
470  Logger.Instance.LogKeyWordEnd();
471  }
void OKW.NOK_TRY.VerifyExists ( string  fpsFunctionalname,
string  fpsExpectedValue 
)

Checks the existence of the given object.
Example #1: Check if the object MyObject exists:

Verify Exists: "MyObject", "YES" 

Example #2: Check if the object MyObject does not exist:

Verify Exists: "MyObject", "NO" 

/param fpsFunctionalname Functional name of the object /param fpsExpectedValue Expected value

Author
Zoltan Hrabovszki
Date
2014-09-21/jnic

Implements OKW.IOKW_State.

478  {
479  string lvs_KWForCurrentLanguage = this.MyOKWDocu.GetKWForCurrentLanguage("VerifyExists");
480  Logger.Instance.LogKeyWordStart("NOK_TRY: " + lvs_KWForCurrentLanguage, fpsFunctionalname, fpsExpectedValue);
481  Logger.Instance.LogKeyWordEnd();
482  }
void OKW.NOK_TRY.VerifyHasFocus ( string  fpsFunctionalname,
string  fpsExpectedValue 
)

Compares the focus status of the given object with the expected value.

Example #1: Verify if the object MyObject has the focus:

Verify Has Focus: "MyObject", "YES" 

Example #2: Verify if the object MyObject has NOT the focus:

Verify Has Focus: "MyObject", "NO" 

/param fpsFunctionalname Functional name of the object /param fpsExpectedValue Expected value. Following values are Allowed here: "YES, "NO", and "IGNORE".

Author
Zoltan Hrabovszki
Date
2014-09-21/jnic

Implements OKW.IOKW_State.

489  {
490  string lvs_KWForCurrentLanguage = this.MyOKWDocu.GetKWForCurrentLanguage("VerifyHasFocus");
491  Logger.Instance.LogKeyWordStart("NOK_TRY: " + lvs_KWForCurrentLanguage, fpsFunctionalname, fpsExpectedValue);
492  Logger.Instance.LogKeyWordEnd();
493  }
void OKW.NOK_TRY.VerifyIsActive ( string  fpsFunctionalname,
string  fpsExpectedValue 
)

Compares the focus status of the given object with the expected value.

Example: Verify if the object MyObject is in the state "active":

Verify Is Active: "MyObject", "YES" 

/param fpsFunctionalname Functional name of the object /param fpsExpectedValue Expected value. Following values are Allowed here: "YES, "NO", and "IGNORE".

Author
Zoltan Hrabovszki
Date
2014-09-21/jnic

Implements OKW.IOKW_State.

500  {
501  string lvs_KWForCurrentLanguage = this.MyOKWDocu.GetKWForCurrentLanguage("VerifyIsActive");
502  Logger.Instance.LogKeyWordStart("NOK_TRY: " + lvs_KWForCurrentLanguage, fpsFunctionalname, fpsExpectedValue);
503  Logger.Instance.LogKeyWordEnd();
504  }
void OKW.NOK_TRY.VerifyLabel ( string  fpsFunctionalname,
string  fpsExpectedValue 
)

No description for "VerifyLabel" available.

/param fpsFunctionalname Functional name of the object /param fpsExpectedValue Expected value. Following values are Allowed here: "YES, "NO", and "IGNORE".

Author
Zoltan Hrabovszki
Date
2014-09-21/jnic
Todo:
TODO: jnic–>keine Beschreibung vorhanden

Implements OKW.IOKW_State.

511  {
512  string lvs_KWForCurrentLanguage = this.MyOKWDocu.GetKWForCurrentLanguage("VerifyLabel");
513  Logger.Instance.LogKeyWordStart("NOK_TRY: " + lvs_KWForCurrentLanguage, fpsFunctionalname, fpsExpectedValue);
514  Logger.Instance.LogKeyWordEnd();
515  }
void OKW.NOK_TRY.VerifySelectedValue ( string  fpsFunctionalname,
string  fpsExpectedValue 
)

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}.
Example #1: Check if the list entry "Henry" is selected in the list "MyList":

Verify Selected Value: "MyList", "Henry" 

Example #2: Check if the entry "Names{SEP}Henry" is selected in the treeview "MyTreeview":

Verify Selected Value: "MyTreeview", "Names{SEP}Henry" 

/param fpsFunctionalname Functional name of the object /param fpsExpectedValue Expected value

Author
Zoltan Hrabovszki
Date
2014-09-21/jnic

Implements OKW.IOKW_State.

522  {
523  string lvs_KWForCurrentLanguage = this.MyOKWDocu.GetKWForCurrentLanguage("VerifySelectedValue");
524  Logger.Instance.LogKeyWordStart("NOK_TRY: " + lvs_KWForCurrentLanguage, fpsFunctionalname, fpsExpectedValue);
525  Logger.Instance.LogKeyWordEnd();
526  }
void OKW.NOK_TRY.VerifyTablecellValue ( string  fpsFunctionalname,
string  fpsCol,
string  fpsRow,
string  fpsExpectedValue 
)

Compares the content of the given table cell with the expected value.

/param fpsFunctionalname Functional name of the object /param fpsExpectedValue Expected value /param fpsRow Row number of cell to be selected, starting with 1. /param fpsCol Column number of cell to be selected, starting with 1.

Author
Zoltan Hrabovszki
Date
2014-09-21/jnic

Implements OKW.IOKW_State.

533  {
534  string lvs_KWForCurrentLanguage = this.MyOKWDocu.GetKWForCurrentLanguage("VerifyTablecellValue");
535  Logger.Instance.LogKeyWordStart("NOK_TRY: " + lvs_KWForCurrentLanguage, fpsFunctionalname, fpsCol, fpsRow, fpsExpectedValue);
536  Logger.Instance.LogKeyWordEnd();
537  }
void OKW.NOK_TRY.VerifyTooltip ( string  fpsFunctionalname,
string  fpsExpectedValue 
)

No description for "VerifyTooltip" available.

/param fpsFunctionalname Functional name of the object /param fpsExpectedValue Expected value

Author
Zoltan Hrabovszki
Date
2014-09-21/jnic
Todo:
TODO: jnic–>keine Beschreibung vorhanden

Implements OKW.IOKW_State.

544  {
545  string lvs_KWForCurrentLanguage = this.MyOKWDocu.GetKWForCurrentLanguage("VerifyTooltip");
546  Logger.Instance.LogKeyWordStart("NOK_TRY: " + lvs_KWForCurrentLanguage, fpsFunctionalname, fpsExpectedValue);
547  Logger.Instance.LogKeyWordEnd();
548  }
void OKW.NOK_TRY.VerifyValue ( string  fpsFunctionalname,
string  fpsExpectedValue 
)

Checks the standard value of an object (in most cases this is the displayed text).

Example: Check if the value (text) of object "MyObject" equals the expected value "Django":

Verify Value: "MyObject", "Django" 

/param fpsFunctionalname Functional name of the object /param fpsExpectedValue Expected value

Author
Zoltan Hrabovszki
Date
2014-09-21/ jnic

Implements OKW.IOKW_State.

555  {
556  string lvs_KWForCurrentLanguage = this.MyOKWDocu.GetKWForCurrentLanguage("VerifyValue");
557  Logger.Instance.LogKeyWordStart("NOK_TRY: " + lvs_KWForCurrentLanguage, fpsFunctionalname, fpsExpectedValue);
558  Logger.Instance.LogKeyWordEnd();
559  }

The documentation for this class was generated from the following file: