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

Public Member Functions

void AfterTest ()
 
void BeforeTest ()
 
void OK_TC_ClickOn_Exception ()
 
void OK_TC_LogExists_Exception ()
 
void OK_TC_LogHasFocus_Exception ()
 
void OK_TC_LogIsActive_Exception ()
 
void OK_TC_LogSelected_Exception ()
 
void OK_TC_LogTablecellValue_Exception ()
 
void OK_TC_LogTooltip_Exception ()
 
void OK_TC_LogCaption_Exception ()
 
void OK_TC_LogLabel_Exception ()
 
void OK_TC_LogValue_Exception ()
 
void OK_TC_MemorizeExists_Exception ()
 
void OK_TC_MemorizeHasFocus_Exception ()
 
void OK_TC_MemorizeIsActive_Exception ()
 
void OK_TC_MemorizeSelectedValue_Exception ()
 
void OK_TC_MemorizeTablecellValue_Exception ()
 
void OK_TC_MemorizeTooltip_Exception ()
 
void OK_TC_MemorizeCaption_Exception ()
 
void OK_TC_MemorizeLabel_Exception ()
 
void OK_TC_MemorizeValue_Exception ()
 
void OK_TC_SelectMenu_Exception ()
 
void OK_TC_SelectMenu_Value_Exception ()
 
void OK_TC_SelectTablecell_ClickType_Exveption ()
 
void OK_TC_SelectTablecell_Exception ()
 
void OK_TC_Select_ClickType_Exception ()
 
void OK_TC_Select_Exception ()
 
void OK_TC_SetFocus_Exception ()
 
void OK_TC_SetValue_Exception ()
 
void OK_TC_TypeKeyTablecell_Exception ()
 
void OK_TC_TypeKey_Exception ()
 
void OK_TC_VerifyExists_Exception ()
 
void OK_TC_VerifyHasFocus_Exception ()
 
void OK_TC_VerifyIsActive_Exception ()
 
void OK_TC_VerifySelectedValue_Exception ()
 
void OK_TC_VerifyTablecellValue_Exception ()
 
void OK_TC_VerifyTooltip_Exception ()
 
void OK_TC_VerifyCaption_Exception ()
 
void OK_TC_VerifyLabel_Exception ()
 
void OK_TC_VerifyValue_Exception ()
 
void TC_ClickOn_Clicktype_Exception ()
 
void TC_SelectWindow_Exception ()
 
void TC_Sequence ()
 
void TC_StartApp ()
 
void TC_StopApp ()
 

Static Public Member Functions

static void MyClassInitialize ()
 

Private Attributes

Core myKernel = new Core()
 

Detailed Description

  • SV - Single Value "Value1${SEP}Value2"
  • MV - Multiple Values "Value1${SEP}Value2"

Member Function Documentation

void OKW.Core_Test.Core_Test.Core_OKWFrameObjectMethodNotFoundException_Test_.OK_TC_ClickOn_Exception ( )
Author
Zoltan Hrabovszki
Date
2014.03.24
96  {
97  // Testscript in Schlüsselwort-Notation
98  this.myKernel.SelectWindow("Rechner");
99 
100  // Soll/Ist-Vergleich: Ist das Richtige Fenster gesetzt?
101  // Check the Name, Called Method and Value of Actuel object
102  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
103  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
104  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
105 
106  try
107  {
108  this.myKernel.ClickOn("NoMethodObj");
109  Assert.Fail();
110  }
111  catch (OKWFrameObjectMethodNotFoundException e)
112  {
113  Logger.Instance.LogPrint("OKWFrameObjectMethodNotFoundException: " + e.Message);
114  Assert.AreEqual("Called OKW-Methode 'ClickOn' does not exists.", e.Message);
115  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
116  }
117  catch (Exception e)
118  {
119  System.Console.WriteLine("Exception: " + e.GetType().FullName);
120  System.Console.WriteLine("Nachricht: " + e.Message);
121  Assert.Fail("Falsche Exception: " + e.Message);
122  }
123  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectMethodNotFoundException_Test_.OK_TC_LogCaption_Exception ( )
Author
Zoltan Hrabovszki
Date
2013.12.26
368  {
369  // Testscript in Schlüsselwort-Notation
370  this.myKernel.SelectWindow("Rechner");
371 
372  // Soll/Ist-Vergleich: Ist das Richtige Fenster gesetzt?
373  // Check the Name, Called Method and Value of Actuel object
374  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
375  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
376  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
377 
378  try
379  {
380  this.myKernel.LogCaption("NoMethodObj");
381  Assert.Fail();
382  }
383  catch (OKWFrameObjectMethodNotFoundException e)
384  {
385  Logger.Instance.LogPrint("OKWFrameObjectMethodNotFoundException: " + e.Message);
386  Assert.AreEqual("Called OKW-Methode 'LogCaption' does not exists.", e.Message);
387  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
388  }
389  catch (Exception e)
390  {
391  System.Console.WriteLine("Exception: " + e.Message);
392  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
393  }
394  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectMethodNotFoundException_Test_.OK_TC_LogExists_Exception ( )
Author
Zoltan Hrabovszki
Date
2013.12.26
136  {
137  // Testscript in Schlüsselwort-Notation
138  this.myKernel.SelectWindow("Rechner");
139 
140  // Soll/Ist-Vergleich: Ist das Richtige Fenster gesetzt?
141  // Check the Name, Called Method and Value of Actuel object
142  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
143  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
144  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
145 
146  try
147  {
148  this.myKernel.LogExists("NoMethodObj");
149  Assert.Fail();
150  }
151  catch (OKWFrameObjectMethodNotFoundException e)
152  {
153  Logger.Instance.LogPrint("OKWFrameObjectMethodNotFoundException: " + e.Message);
154  Assert.AreEqual("Called OKW-Methode 'LogExists' does not exists.", e.Message);
155  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
156  }
157  catch (Exception e)
158  {
159  System.Console.WriteLine("Exception: " + e.Message);
160  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
161  }
162  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectMethodNotFoundException_Test_.OK_TC_LogHasFocus_Exception ( )
Author
Zoltan Hrabovszki
Date
2013.12.26
175  {
176  // Testscript in Schlüsselwort-Notation
177  this.myKernel.SelectWindow("Rechner");
178 
179  // Soll/Ist-Vergleich: Ist das Richtige Fenster gesetzt?
180  // Check the Name, Called Method and Value of Actuel object
181  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
182  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
183  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
184 
185  try
186  {
187  this.myKernel.LogHasFocus("NoMethodObj");
188  Assert.Fail();
189  }
190  catch (OKWFrameObjectMethodNotFoundException e)
191  {
192  Logger.Instance.LogPrint("OKWFrameObjectMethodNotFoundException: " + e.Message);
193  Assert.AreEqual("Called OKW-Methode 'LogHasFocus' does not exists.", e.Message);
194  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
195  }
196  catch (Exception e)
197  {
198  System.Console.WriteLine("Exception: " + e.Message);
199  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
200  }
201  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectMethodNotFoundException_Test_.OK_TC_LogIsActive_Exception ( )
Author
Zoltan Hrabovszki
Date
2013.12.26
213  {
214  // Testscript in Schlüsselwort-Notation
215  this.myKernel.SelectWindow("Rechner");
216 
217  // Soll/Ist-Vergleich: Ist das Richtige Fenster gesetzt?
218  // Check the Name, Called Method and Value of Actuel object
219  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
220  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
221  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
222 
223  try
224  {
225  this.myKernel.LogIsActive("NoMethodObj");
226  Assert.Fail();
227  }
228  catch (OKWFrameObjectMethodNotFoundException e)
229  {
230  Logger.Instance.LogPrint("OKWFrameObjectMethodNotFoundException: " + e.Message);
231  Assert.AreEqual("Called OKW-Methode 'LogIsActive' does not exists.", e.Message);
232  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
233  }
234  catch (Exception e)
235  {
236  System.Console.WriteLine("Exception: " + e.Message);
237  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
238  }
239  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectMethodNotFoundException_Test_.OK_TC_LogLabel_Exception ( )
Author
Zoltan Hrabovszki
Date
2013.12.26
407  {
408  // Testscript in Schlüsselwort-Notation
409  this.myKernel.SelectWindow("Rechner");
410 
411  // Soll/Ist-Vergleich: Ist das Richtige Fenster gesetzt?
412  // Check the Name, Called Method and Value of Actuel object
413  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
414  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
415  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
416 
417  try
418  {
419  this.myKernel.LogLabel("NoMethodObj");
420  Assert.Fail();
421  }
422  catch (OKWFrameObjectMethodNotFoundException e)
423  {
424  Logger.Instance.LogPrint("OKWFrameObjectMethodNotFoundException: " + e.Message);
425  Assert.AreEqual("Called OKW-Methode 'LogLabel' does not exists.", e.Message);
426  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
427  }
428  catch (Exception e)
429  {
430  System.Console.WriteLine("Exception: " + e.Message);
431  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
432  }
433  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectMethodNotFoundException_Test_.OK_TC_LogSelected_Exception ( )
Author
Zoltan Hrabovszki
Date
2013.12.26
252  {
253  this.myKernel.SelectWindow("Rechner");
254 
255  // Soll/Ist-Vergleich: Ist das Richtige Fenster gesetzt?
256  // Check the Name, Called Method and Value of Actuel object
257  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
258  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
259  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
260 
261  try
262  {
263  this.myKernel.LogSelected("NoMethodObj");
264  Assert.Fail();
265  }
266  catch (OKWFrameObjectMethodNotFoundException e)
267  {
268  Logger.Instance.LogPrint("OKWFrameObjectMethodNotFoundException: " + e.Message);
269  Assert.AreEqual("Called OKW-Methode 'LogSelected' does not exists.", e.Message);
270  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
271  }
272  catch (Exception e)
273  {
274  System.Console.WriteLine("Exception: " + e.Message);
275  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
276  }
277  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectMethodNotFoundException_Test_.OK_TC_LogTablecellValue_Exception ( )
Author
Zoltan Hrabovszki
Date
2013.12.26
290  {
291  // Testscript in Schlüsselwort-Notation
292  this.myKernel.SelectWindow("Rechner");
293 
294  // Soll/Ist-Vergleich: Ist das Richtige Fenster gesetzt?
295  // Check the Name, Called Method and Value of Actuel object
296  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
297  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
298  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
299 
300  try
301  {
302  this.myKernel.LogTablecellValue("NoMethodObj", "Col", "Row");
303  Assert.Fail();
304  }
305  catch (OKWFrameObjectMethodNotFoundException e)
306  {
307  Logger.Instance.LogPrint("OKWFrameObjectMethodNotFoundException: " + e.Message);
308  Assert.AreEqual("Called OKW-Methode 'LogTablecellValue' does not exists.", e.Message);
309  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
310  }
311  catch (Exception e)
312  {
313  System.Console.WriteLine("Exception: " + e.Message);
314  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
315  }
316  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectMethodNotFoundException_Test_.OK_TC_LogTooltip_Exception ( )
Author
Zoltan Hrabovszki
Date
2013.12.26
329  {
330  // Testscript in Schlüsselwort-Notation
331  this.myKernel.SelectWindow("Rechner");
332 
333  // Soll/Ist-Vergleich: Ist das Richtige Fenster gesetzt?
334  // Check the Name, Called Method and Value of Actuel object
335  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
336  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
337  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
338 
339  try
340  {
341  this.myKernel.LogTooltip("NoMethodObj");
342  Assert.Fail();
343  }
344  catch (OKWFrameObjectMethodNotFoundException e)
345  {
346  Logger.Instance.LogPrint("OKWFrameObjectMethodNotFoundException: " + e.Message);
347  Assert.AreEqual("Called OKW-Methode 'LogTooltip' does not exists.", e.Message);
348  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
349  }
350  catch (Exception e)
351  {
352  System.Console.WriteLine("Exception: " + e.Message);
353  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
354  }
355  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectMethodNotFoundException_Test_.OK_TC_LogValue_Exception ( )
Author
Zoltan Hrabovszki
Date
2013.12.26
446  {
447  // Testscript in Schlüsselwort-Notation
448  this.myKernel.SelectWindow("Rechner");
449 
450  // Soll/Ist-Vergleich: Ist das Richtige Fenster gesetzt?
451  // Check the Name, Called Method and Value of Actuel object
452  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
453  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
454  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
455 
456  try
457  {
458  this.myKernel.LogValue("NoMethodObj");
459  Assert.Fail();
460  }
461  catch (OKWFrameObjectMethodNotFoundException e)
462  {
463  Logger.Instance.LogPrint("OKWFrameObjectMethodNotFoundException: " + e.Message);
464  Assert.AreEqual("Called OKW-Methode 'LogValue' does not exists.", e.Message);
465  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
466  }
467  catch (Exception e)
468  {
469  System.Console.WriteLine("Exception: " + e.Message);
470  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
471  }
472  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectMethodNotFoundException_Test_.OK_TC_MemorizeCaption_Exception ( )
Author
Zoltan Hrabovszki
Date
2013.12.26
719  {
720  // Testscript in Schlüsselwort-Notation
721  this.myKernel.SelectWindow("Rechner");
722 
723  // Soll/Ist-Vergleich: Ist das Richtige Fenster gesetzt?
724  // Check the Name, Called Method and Value of Actuel object
725  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
726  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
727  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
728 
729  try
730  {
731  this.myKernel.MemorizeCaption("NoMethodObj", "OK_TC_MemorizeCaption");
732  Assert.Fail();
733  }
734  catch (OKWFrameObjectMethodNotFoundException e)
735  {
736  Logger.Instance.LogPrint("OKWFrameObjectMethodNotFoundException: " + e.Message);
737  Assert.AreEqual("Called OKW-Methode 'MemorizeCaption' does not exists.", e.Message);
738  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
739  }
740  catch (Exception e)
741  {
742  System.Console.WriteLine("Exception: " + e.Message);
743  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
744  }
745  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectMethodNotFoundException_Test_.OK_TC_MemorizeExists_Exception ( )
Author
Zoltan Hrabovszki
Date
2013.12.26
485  {
486  // Testscript in Schlüsselwort-Notation
487  this.myKernel.SelectWindow("Rechner");
488 
489  // Soll/Ist-Vergleich: Ist das Richtige Fenster gesetzt?
490  // Check the Name, Called Method and Value of Actuel object
491  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
492  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
493  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
494 
495  try
496  {
497  this.myKernel.MemorizeExists("NoMethodObj", "Key_TC_MemorizeExists");
498  Assert.Fail();
499  }
500  catch (OKWFrameObjectMethodNotFoundException e)
501  {
502  Logger.Instance.LogPrint("OKWFrameObjectMethodNotFoundException: " + e.Message);
503  Assert.AreEqual("Called OKW-Methode 'MemorizeExists' does not exists.", e.Message);
504  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
505  }
506  catch (Exception e)
507  {
508  System.Console.WriteLine("Exception: " + e.Message);
509  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
510  }
511  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectMethodNotFoundException_Test_.OK_TC_MemorizeHasFocus_Exception ( )
Author
Zoltan Hrabovszki
Date
2013.12.26
524  {
525  // Testscript in Schlüsselwort-Notation
526  this.myKernel.SelectWindow("Rechner");
527 
528  // Soll/Ist-Vergleich: Ist das Richtige Fenster gesetzt?
529  // Check the Name, Called Method and Value of Actuel object
530  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
531  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
532  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
533 
534  try
535  {
536  this.myKernel.MemorizeHasFocus("NoMethodObj", "Key_TC_Memorize_Focus");
537  Assert.Fail();
538  }
539  catch (OKWFrameObjectMethodNotFoundException e)
540  {
541  Logger.Instance.LogPrint("OKWFrameObjectMethodNotFoundException: " + e.Message);
542  Assert.AreEqual("Called OKW-Methode 'MemorizeHasFocus' does not exists.", e.Message);
543  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
544  }
545  catch (Exception e)
546  {
547  System.Console.WriteLine("Exception: " + e.Message);
548  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
549  }
550  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectMethodNotFoundException_Test_.OK_TC_MemorizeIsActive_Exception ( )
Author
Zoltan Hrabovszki
Date
2014.01.04
563  {
564  // Testscript in Schlüsselwort-Notation
565  this.myKernel.SelectWindow("Rechner");
566 
567  // Soll/Ist-Vergleich: Ist das Richtige Fenster gesetzt?
568  // Check the Name, Called Method and Value of Actuel object
569  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
570  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
571  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
572 
573  try
574  {
575  this.myKernel.MemorizeIsActive("NoMethodObj", "OK_TC_MemorizeIsActive");
576  Assert.Fail();
577  }
578  catch (OKWFrameObjectMethodNotFoundException e)
579  {
580  Logger.Instance.LogPrint("OKWFrameObjectMethodNotFoundException: " + e.Message);
581  Assert.AreEqual("Called OKW-Methode 'MemorizeIsActive' does not exists.", e.Message);
582  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
583  }
584  catch (Exception e)
585  {
586  System.Console.WriteLine("Exception: " + e.Message);
587  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
588  }
589  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectMethodNotFoundException_Test_.OK_TC_MemorizeLabel_Exception ( )
Author
Zoltan Hrabovszki
Date
2013.12.26
758  {
759  // Testscript in Schlüsselwort-Notation
760  this.myKernel.SelectWindow("Rechner");
761 
762  // Soll/Ist-Vergleich: Ist das Richtige Fenster gesetzt?
763  // Check the Name, Called Method and Value of Actuel object
764  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
765  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
766  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
767 
768  try
769  {
770  this.myKernel.MemorizeLabel("NoMethodObj", "OK_TC_MemorizeLabel");
771  Assert.Fail();
772  }
773  catch (OKWFrameObjectMethodNotFoundException e)
774  {
775  Logger.Instance.LogPrint("OKWFrameObjectMethodNotFoundException: " + e.Message);
776  Assert.AreEqual("Called OKW-Methode 'MemorizeLabel' does not exists.", e.Message);
777  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
778  }
779  catch (Exception e)
780  {
781  System.Console.WriteLine("Exception: " + e.Message);
782  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
783  }
784  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectMethodNotFoundException_Test_.OK_TC_MemorizeSelectedValue_Exception ( )
Author
Zoltan Hrabovszki
Date
2013.12.26
602  {
603  // Testscript in Schlüsselwort-Notation
604  this.myKernel.SelectWindow("Rechner");
605 
606  // Soll/Ist-Vergleich: Ist das Richtige Fenster gesetzt?
607  // Check the Name, Called Method and Value of Actuel object
608  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
609  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
610  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
611 
612  try
613  {
614  this.myKernel.MemorizeSelectedValue("NoMethodObj", "OK_TC_MemorizeIsActive");
615  Assert.Fail();
616  }
617  catch (OKWFrameObjectMethodNotFoundException e)
618  {
619  Logger.Instance.LogPrint("OKWFrameObjectMethodNotFoundException: " + e.Message);
620  Assert.AreEqual("Called OKW-Methode 'MemorizeSelectedValue' does not exists.", e.Message);
621  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
622  }
623  catch (Exception e)
624  {
625  System.Console.WriteLine("Exception: " + e.Message);
626  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
627  }
628  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectMethodNotFoundException_Test_.OK_TC_MemorizeTablecellValue_Exception ( )
Author
Zoltan Hrabovszki
Date
2013.12.26
641  {
642  // Testscript in Schlüsselwort-Notation
643  this.myKernel.SelectWindow("Rechner");
644 
645  // Soll/Ist-Vergleich: Ist das Richtige Fenster gesetzt?
646  // Check the Name, Called Method and Value of Actuel object
647  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
648  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
649  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
650 
651  try
652  {
653  this.myKernel.MemorizeTablecellValue("NoMethodObj", "Col", "Row", "MemorizeTablecellValue");
654  Assert.Fail();
655  }
656  catch (OKWFrameObjectMethodNotFoundException e)
657  {
658  Logger.Instance.LogPrint("OKWFrameObjectMethodNotFoundException: " + e.Message);
659  Assert.AreEqual("Called OKW-Methode 'MemorizeTablecellValue' does not exists.", e.Message);
660  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
661  }
662  catch (Exception e)
663  {
664  System.Console.WriteLine("Exception: " + e.Message);
665  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
666  }
667  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectMethodNotFoundException_Test_.OK_TC_MemorizeTooltip_Exception ( )
Author
Zoltan Hrabovszki
Date
2013.12.26
680  {
681  // Testscript in Schlüsselwort-Notation
682  this.myKernel.SelectWindow("Rechner");
683 
684  // Soll/Ist-Vergleich: Ist das Richtige Fenster gesetzt?
685  // Check the Name, Called Method and Value of Actuel object
686  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
687  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
688  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
689 
690  try
691  {
692  this.myKernel.MemorizeTooltip("NoMethodObj", "OK_TC_MemorizeIsActive");
693  Assert.Fail();
694  }
695  catch (OKWFrameObjectMethodNotFoundException e)
696  {
697  Logger.Instance.LogPrint("OKWFrameObjectMethodNotFoundException: " + e.Message);
698  Assert.AreEqual("Called OKW-Methode 'MemorizeTooltip' does not exists.", e.Message);
699  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
700  }
701  catch (Exception e)
702  {
703  System.Console.WriteLine("Exception: " + e.Message);
704  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
705  }
706  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectMethodNotFoundException_Test_.OK_TC_MemorizeValue_Exception ( )
Author
Zoltan Hrabovszki
Date
2013.12.26
797  {
798  // Testscript in Schlüsselwort-Notation
799  this.myKernel.SelectWindow("Rechner");
800 
801  // Soll/Ist-Vergleich: Ist das Richtige Fenster gesetzt?
802  // Check the Name, Called Method and Value of Actuel object
803  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
804  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
805  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
806 
807  try
808  {
809  this.myKernel.MemorizeValue("NoMethodObj", "OK_TC_MemorizeIsActive");
810  Assert.Fail();
811  }
812  catch (OKWFrameObjectMethodNotFoundException e)
813  {
814  Logger.Instance.LogPrint("OKWFrameObjectMethodNotFoundException: " + e.Message);
815  Assert.AreEqual("Called OKW-Methode 'MemorizeValue' does not exists.", e.Message);
816  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
817  }
818  catch (Exception e)
819  {
820  System.Console.WriteLine("Exception: " + e.Message);
821  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
822  }
823  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectMethodNotFoundException_Test_.OK_TC_Select_ClickType_Exception ( )
Author
Zoltan Hrabovszki
Date
2013.12.26
988  {
989  this.myKernel.SelectWindow("Rechner");
990 
991  // Check the Name, Called Method and Value of Actuel object
992  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
993  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
994 
995  Assert.AreEqual(1, OKW_TestClipboard.Instance.Value.Count);
996  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
997 
998  try
999  {
1000  this.myKernel.Select("NoMethodObj", "Hanna", "DoubleKlick");
1001  Assert.Fail("Erwarteter Exception ist ausgelöst worden");
1002  }
1003  catch (OKWFrameObjectMethodNotFoundException e)
1004  {
1005  Logger.Instance.LogPrint("OKWFrameObjectMethodNotFoundException: " + e.Message);
1006  Assert.AreEqual("Called OKW-Methode 'Select_Clicktype' does not exists.", e.Message);
1007  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
1008  }
1009  catch (Exception e)
1010  {
1011  System.Console.WriteLine("Exception: " + e.Message);
1012  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
1013  }
1014  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectMethodNotFoundException_Test_.OK_TC_Select_Exception ( )
Author
Zoltan Hrabovszki
Date
2013.12.26
1027  {
1028  this.myKernel.SelectWindow("Rechner");
1029 
1030  // Check the Name, Called Method and Value of Actuel object
1031  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
1032  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
1033  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
1034 
1035  try
1036  {
1037  this.myKernel.Select("NoMethodObj", "Hanna");
1038  Assert.Fail();
1039  }
1040  catch (OKWFrameObjectMethodNotFoundException e)
1041  {
1042  Logger.Instance.LogPrint("OKWFrameObjectMethodNotFoundException: " + e.Message);
1043  Assert.AreEqual("Called OKW-Methode 'Select' does not exists.", e.Message);
1044  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
1045  }
1046  catch (Exception e)
1047  {
1048  System.Console.WriteLine("Exception: " + e.Message);
1049  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
1050  }
1051  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectMethodNotFoundException_Test_.OK_TC_SelectMenu_Exception ( )
Author
Zoltan Hrabovszki
Date
2013.12.26
836  {
837  // Testscript in Schlüsselwort-Notation
838  this.myKernel.SelectWindow("Rechner");
839 
840  // Soll/Ist-Vergleich: Ist das Richtige Fenster gesetzt?
841  // Check the Name, Called Method and Value of Actuel object
842  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
843  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
844  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
845 
846  try
847  {
848  this.myKernel.SelectMenu("NoMethodObj");
849  Assert.Fail();
850  }
851  catch (OKWFrameObjectMethodNotFoundException e)
852  {
853  Logger.Instance.LogPrint("OKWFrameObjectMethodNotFoundException: " + e.Message);
854  Assert.AreEqual("Called OKW-Methode 'SelectMenu' does not exists.", e.Message);
855  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
856  }
857  catch (Exception e)
858  {
859  System.Console.WriteLine("Exception: " + e.Message);
860  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
861  }
862  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectMethodNotFoundException_Test_.OK_TC_SelectMenu_Value_Exception ( )
Author
Zoltan Hrabovszki
Date
2013.12.26
875  {
876  // Testscript in Schlüsselwort-Notation
877  this.myKernel.SelectWindow("Rechner");
878 
879  // Soll/Ist-Vergleich: Ist das Richtige Fenster gesetzt?
880  // Check the Name, Called Method and Value of Actuel object
881  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
882  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
883  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
884 
885  try
886  {
887  this.myKernel.SelectMenu("NoMethodObj", "Hanna");
888  Assert.Fail();
889  }
890  catch (OKWFrameObjectMethodNotFoundException e)
891  {
892  Logger.Instance.LogPrint("OKWFrameObjectMethodNotFoundException: " + e.Message);
893  Assert.AreEqual("Called OKW-Methode 'SelectMenu_Value' does not exists.", e.Message);
894  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
895  }
896  catch (Exception e)
897  {
898  System.Console.WriteLine("Exception: " + e.Message);
899  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
900  }
901  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectMethodNotFoundException_Test_.OK_TC_SelectTablecell_ClickType_Exveption ( )
Author
Zoltan Hrabovszki
Date
2013.12.26
914  {
915  this.myKernel.SelectWindow("Rechner");
916 
917  // Check the Name, Called Method and Value of Actuel object
918  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
919  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
920  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
921 
922  try
923  {
924  this.myKernel.SelectTablecell("NoMethodObj", "COL", "ROW", "DOUBLECLICK");
925  Assert.Fail();
926  }
927  catch (OKWFrameObjectMethodNotFoundException e)
928  {
929  Logger.Instance.LogPrint("OKWFrameObjectMethodNotFoundException: " + e.Message);
930  Assert.AreEqual("Called OKW-Methode 'SelectTablecell_Clicktype' does not exists.", e.Message);
931  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
932  }
933  catch (Exception e)
934  {
935  System.Console.WriteLine("Exception: " + e.Message);
936  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
937  }
938  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectMethodNotFoundException_Test_.OK_TC_SelectTablecell_Exception ( )
Author
Zoltan Hrabovszki
Date
2013.12.26
951  {
952  this.myKernel.SelectWindow("Rechner");
953 
954  // Check the Name, Called Method and Value of Actuel object
955  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
956  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
957  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
958 
959  try
960  {
961  this.myKernel.SelectTablecell("NoMethodObj", "COL", "ROW");
962  Assert.Fail();
963  }
964  catch (OKWFrameObjectMethodNotFoundException e)
965  {
966  Logger.Instance.LogPrint("OKWFrameObjectMethodNotFoundException: " + e.Message);
967  Assert.AreEqual("Called OKW-Methode 'SelectTablecell' does not exists.", e.Message);
968  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
969  }
970  catch (Exception e)
971  {
972  System.Console.WriteLine("Exception: " + e.Message);
973  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
974  }
975  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectMethodNotFoundException_Test_.OK_TC_SetFocus_Exception ( )
Author
Zoltan Hrabovszki
Date
2013.12.26
1064  {
1065  this.myKernel.SelectWindow("Rechner");
1066  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
1067  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
1068  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
1069 
1070  try
1071  {
1072  this.myKernel.SetFocus("NoMethodObj");
1073  Assert.Fail();
1074  }
1075  catch (OKWFrameObjectMethodNotFoundException e)
1076  {
1077  Logger.Instance.LogPrint("OKWFrameObjectMethodNotFoundException: " + e.Message);
1078  Assert.AreEqual("Called OKW-Methode 'SetFocus' does not exists.", e.Message);
1079  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
1080  }
1081  catch (Exception e)
1082  {
1083  System.Console.WriteLine("Exception: " + e.Message);
1084  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
1085  }
1086  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectMethodNotFoundException_Test_.OK_TC_SetValue_Exception ( )
Author
Zoltan Hrabovszki
Date
2013.12.26
1099  {
1100  this.myKernel.SelectWindow("Rechner");
1101  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
1102  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
1103  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
1104 
1105  try
1106  {
1107  this.myKernel.SetValue("NoMethodObj", "Wert");
1108  Assert.Fail();
1109  }
1110  catch (OKWFrameObjectMethodNotFoundException e)
1111  {
1112  Logger.Instance.LogPrint("OKWFrameObjectMethodNotFoundException: " + e.Message);
1113  Assert.AreEqual("Called OKW-Methode 'SetValue' does not exists.", e.Message);
1114  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
1115  }
1116  catch (Exception e)
1117  {
1118  System.Console.WriteLine("Exception: " + e.Message);
1119  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
1120  }
1121  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectMethodNotFoundException_Test_.OK_TC_TypeKey_Exception ( )
Author
Zoltan Hrabovszki
Date
2013.12.26
1171  {
1172  this.myKernel.SelectWindow("Rechner");
1173 
1174  // Check the Name, Called Method and Value of Actuel object
1175  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
1176  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
1177  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
1178 
1179  try
1180  {
1181  this.myKernel.TypeKey("NoMethodObj", "Wert");
1182  Assert.Fail();
1183  }
1184  catch (OKWFrameObjectMethodNotFoundException e)
1185  {
1186  Logger.Instance.LogPrint("OKWFrameObjectMethodNotFoundException: " + e.Message);
1187  Assert.AreEqual("Called OKW-Methode 'TypeKey' does not exists.", e.Message);
1188  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
1189  }
1190  catch (Exception e)
1191  {
1192  System.Console.WriteLine("Exception: " + e.Message);
1193  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
1194  }
1195  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectMethodNotFoundException_Test_.OK_TC_TypeKeyTablecell_Exception ( )
Author
Zoltan Hrabovszki
Date
2013.12.26
1134  {
1135  this.myKernel.SelectWindow("Rechner");
1136 
1137  // Check the Name, Called Method and Value of Actuel object
1138  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
1139  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
1140  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
1141 
1142  try
1143  {
1144  this.myKernel.TypeKeyTablecell("NoMethodObj", "1", "2", "CTRL A");
1145  Assert.Fail();
1146  }
1147  catch (OKWFrameObjectMethodNotFoundException e)
1148  {
1149  Logger.Instance.LogPrint("OKWFrameObjectMethodNotFoundException: " + e.Message);
1150  Assert.AreEqual("Called OKW-Methode 'TypeKeyTablecell' does not exists.", e.Message);
1151  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
1152  }
1153  catch (Exception e)
1154  {
1155  System.Console.WriteLine("Exception: " + e.Message);
1156  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
1157  }
1158  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectMethodNotFoundException_Test_.OK_TC_VerifyCaption_Exception ( )
Author
Zoltan Hrabovszki
Date
2013.12.26
1441  {
1442  // Testscript in Schlüsselwort-Notation
1443  this.myKernel.SelectWindow("Rechner");
1444 
1445  // Soll/Ist-Vergleich: Ist das Richtige Fenster gesetzt?
1446  // Check the Name, Called Method and Value of Actuel object
1447  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
1448  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
1449  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
1450 
1451  try
1452  {
1453  this.myKernel.VerifyCaption("NoMethodObj", "Sollwert");
1454  Assert.Fail();
1455  }
1456  catch (OKWFrameObjectMethodNotFoundException e)
1457  {
1458  Logger.Instance.LogPrint("OKWFrameObjectMethodNotFoundException: " + e.Message);
1459  Assert.AreEqual("Called OKW-Methode 'VerifyCaption' does not exists.", e.Message);
1460  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
1461  }
1462  catch (Exception e)
1463  {
1464  System.Console.WriteLine("Exception: " + e.Message);
1465  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
1466  }
1467  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectMethodNotFoundException_Test_.OK_TC_VerifyExists_Exception ( )
Author
Zoltan Hrabovszki
Date
2013.12.26
1208  {
1209  // Testscript in Schlüsselwort-Notation
1210  this.myKernel.SelectWindow("Rechner");
1211 
1212  // Soll/Ist-Vergleich: Ist das Richtige Fenster gesetzt?
1213  // Check the Name, Called Method and Value of Actuel object
1214  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
1215  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
1216  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
1217 
1218  try
1219  {
1220  this.myKernel.VerifyExists("NoMethodObj", "YES");
1221  Assert.Fail();
1222  }
1223  catch (OKWFrameObjectMethodNotFoundException e)
1224  {
1225  Logger.Instance.LogPrint("OKWFrameObjectMethodNotFoundException: " + e.Message);
1226  Assert.AreEqual("Called OKW-Methode 'VerifyExists' does not exists.", e.Message);
1227  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
1228  }
1229  catch (Exception e)
1230  {
1231  System.Console.WriteLine("Exception: " + e.Message);
1232  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
1233  }
1234  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectMethodNotFoundException_Test_.OK_TC_VerifyHasFocus_Exception ( )
Author
Zoltan Hrabovszki
Date
2013.12.26
1247  {
1248  // Testscript in Schlüsselwort-Notation
1249  this.myKernel.SelectWindow("Rechner");
1250 
1251  // Soll/Ist-Vergleich: Ist das Richtige Fenster gesetzt?
1252  // Check the Name, Called Method and Value of Actuel object
1253  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
1254  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
1255  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
1256 
1257  try
1258  {
1259  this.myKernel.VerifyHasFocus("NoMethodObj", "YES");
1260  Assert.Fail();
1261  }
1262  catch (OKWFrameObjectMethodNotFoundException e)
1263  {
1264  Logger.Instance.LogPrint("OKWFrameObjectMethodNotFoundException: " + e.Message);
1265  Assert.AreEqual("Called OKW-Methode 'VerifyHasFocus' does not exists.", e.Message);
1266  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
1267  }
1268  catch (Exception e)
1269  {
1270  System.Console.WriteLine("Exception: " + e.Message);
1271  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
1272  }
1273  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectMethodNotFoundException_Test_.OK_TC_VerifyIsActive_Exception ( )
Author
Zoltan Hrabovszki
Date
2013.12.26
1286  {
1287  this.myKernel.SelectWindow("Rechner");
1288 
1289  // Soll/Ist-Vergleich: Ist das Richtige Fenster gesetzt?
1290  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
1291  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
1292  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
1293 
1294  try
1295  {
1296  this.myKernel.VerifyIsActive("NoMethodObj", "YES");
1297  Assert.Fail();
1298  }
1299  catch (OKWFrameObjectMethodNotFoundException e)
1300  {
1301  Logger.Instance.LogPrint("OKWFrameObjectMethodNotFoundException: " + e.Message);
1302  Assert.AreEqual("Called OKW-Methode 'VerifyIsActive' does not exists.", e.Message);
1303  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
1304  }
1305  catch (Exception e)
1306  {
1307  System.Console.WriteLine("Exception: " + e.Message);
1308  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
1309  }
1310  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectMethodNotFoundException_Test_.OK_TC_VerifyLabel_Exception ( )
Author
Zoltan Hrabovszki
Date
2013.12.26
1480  {
1481  // Testscript in Schlüsselwort-Notation
1482  this.myKernel.SelectWindow("Rechner");
1483 
1484  // Soll/Ist-Vergleich: Ist das Richtige Fenster gesetzt?
1485  // Check the Name, Called Method and Value of Actuel object
1486  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
1487  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
1488  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
1489 
1490  try
1491  {
1492  this.myKernel.VerifyLabel("NoMethodObj", "Sollwert");
1493  Assert.Fail();
1494  }
1495  catch (OKWFrameObjectMethodNotFoundException e)
1496  {
1497  Logger.Instance.LogPrint("OKWFrameObjectMethodNotFoundException: " + e.Message);
1498  Assert.AreEqual("Called OKW-Methode 'VerifyLabel' does not exists.", e.Message);
1499  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
1500  }
1501  catch (Exception e)
1502  {
1503  System.Console.WriteLine("Exception: " + e.Message);
1504  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
1505  }
1506  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectMethodNotFoundException_Test_.OK_TC_VerifySelectedValue_Exception ( )
Author
Zoltan Hrabovszki
Date
2013.12.26
1323  {
1324  // Testscript in Schlüsselwort-Notation
1325  this.myKernel.SelectWindow("Rechner");
1326 
1327  // Soll/Ist-Vergleich: Ist das Richtige Fenster gesetzt?
1328  // Check the Name, Called Method and Value of Actuel object
1329  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
1330  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
1331  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
1332 
1333  try
1334  {
1335  this.myKernel.VerifySelectedValue("NoMethodObj", "Sollwert");
1336  Assert.Fail();
1337  }
1338  catch (OKWFrameObjectMethodNotFoundException e)
1339  {
1340  Logger.Instance.LogPrint("OKWFrameObjectMethodNotFoundException: " + e.Message);
1341  Assert.AreEqual("Called OKW-Methode 'VerifySelectedValue' does not exists.", e.Message);
1342  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
1343  }
1344  catch (Exception e)
1345  {
1346  System.Console.WriteLine("Exception: " + e.Message);
1347  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
1348  }
1349  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectMethodNotFoundException_Test_.OK_TC_VerifyTablecellValue_Exception ( )
Author
Zoltan Hrabovszki
Date
2013.12.26
1362  {
1363  // Testscript in Schlüsselwort-Notation
1364  this.myKernel.SelectWindow("Rechner");
1365 
1366  // Soll/Ist-Vergleich: Ist das Richtige Fenster gesetzt?
1367  // Check the Name, Called Method and Value of Actuel object
1368  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
1369  Assert.AreEqual(1, OKW_TestClipboard.Instance.Value.Count);
1370  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
1371  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
1372 
1373  try
1374  {
1375  this.myKernel.VerifyTablecellValue("NoMethodObj", "Col", "Row", "Sollwert");
1376  Assert.Fail();
1377  }
1378  catch (OKWFrameObjectMethodNotFoundException e)
1379  {
1380  Logger.Instance.LogPrint("OKWFrameObjectMethodNotFoundException: " + e.Message);
1381  Assert.AreEqual("Called OKW-Methode 'VerifyTablecellValue' does not exists.", e.Message);
1382  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
1383  }
1384  catch (Exception e)
1385  {
1386  System.Console.WriteLine("Exception: " + e.Message);
1387  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
1388  }
1389  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectMethodNotFoundException_Test_.OK_TC_VerifyTooltip_Exception ( )
Author
Zoltan Hrabovszki
Date
2013.12.26
1402  {
1403  // Testscript in Schlüsselwort-Notation
1404  this.myKernel.SelectWindow("Rechner");
1405 
1406  // Soll/Ist-Vergleich: Ist das Richtige Fenster gesetzt?
1407  // Check the Name, Called Method and Value of Actuel object
1408  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
1409  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
1410  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
1411 
1412  try
1413  {
1414  this.myKernel.VerifyTooltip("NoMethodObj", "Sollwert");
1415  Assert.Fail();
1416  }
1417  catch (OKWFrameObjectMethodNotFoundException e)
1418  {
1419  Logger.Instance.LogPrint("OKWFrameObjectMethodNotFoundException: " + e.Message);
1420  Assert.AreEqual("Called OKW-Methode 'VerifyTooltip' does not exists.", e.Message);
1421  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
1422  }
1423  catch (Exception e)
1424  {
1425  System.Console.WriteLine("Exception: " + e.Message);
1426  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
1427  }
1428  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectMethodNotFoundException_Test_.OK_TC_VerifyValue_Exception ( )
Author
Zoltan Hrabovszki
Date
2013.12.26
1519  {
1520  // Testscript in Schlüsselwort-Notation
1521  this.myKernel.SelectWindow("Rechner");
1522 
1523  // Soll/Ist-Vergleich: Ist das Richtige Fenster gesetzt?
1524  // Check the Name, Called Method and Value of Actuel object
1525  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
1526  Assert.AreEqual(1, OKW_TestClipboard.Instance.Value.Count);
1527  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
1528  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
1529 
1530  try
1531  {
1532  this.myKernel.VerifyValue("NoMethodObj", "Sollwert");
1533  Assert.Fail();
1534  }
1535  catch (OKWFrameObjectMethodNotFoundException e)
1536  {
1537  Logger.Instance.LogPrint("OKWFrameObjectMethodNotFoundException: " + e.Message);
1538  Assert.AreEqual("Called OKW-Methode 'VerifyValue' does not exists.", e.Message);
1539  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
1540  }
1541  catch (Exception e)
1542  {
1543  System.Console.WriteLine("Exception: " + e.Message);
1544  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
1545  }
1546  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectMethodNotFoundException_Test_.TC_ClickOn_Clicktype_Exception ( )
Author
Zoltan Hrabovszki
Date
2014.03.24
1559  {
1560  // Testscript in Schlüsselwort-Notation
1561  this.myKernel.SelectWindow("Rechner");
1562 
1563  // Soll/Ist-Vergleich: Ist das Richtige Fenster gesetzt?
1564  // Check the Name, Called Method and Value of Actuel object
1565  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
1566  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
1567  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
1568 
1569  try
1570  {
1571  this.myKernel.ClickOn("NoMethodObj", "DOUBLECLICK");
1572  Assert.Fail();
1573  }
1574  catch (OKWFrameObjectMethodNotFoundException e)
1575  {
1576  Logger.Instance.LogPrint("OKWFrameObjectMethodNotFoundException: " + e.Message);
1577  Assert.AreEqual("Called OKW-Methode 'ClickOn_Clicktype' does not exists.", e.Message);
1578  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
1579  }
1580  catch (Exception e)
1581  {
1582  System.Console.WriteLine("Exception: " + e.Message);
1583  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
1584  }
1585  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectMethodNotFoundException_Test_.TC_SelectWindow_Exception ( )
Author
Zoltan Hrabovszki
Date
2013.12.26
1598  {
1599  try
1600  {
1601  this.myKernel.SelectWindow("Rechner_Exception");
1602  Assert.Fail();
1603  }
1604  catch (OKWFrameObjectWindowNotFoundException e)
1605  {
1606  Logger.Instance.LogPrint("OKWFrameObjectWindowNotFoundException: " + e.Message);
1607  Assert.AreEqual("Frame-Object not Found: Defintion of Window 'frm_Rechner_Exception' does not exists!", e.Message);
1608  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
1609  }
1610  catch (Exception e)
1611  {
1612  System.Console.WriteLine("Exception: " + e.Message);
1613  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
1614  }
1615  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectMethodNotFoundException_Test_.TC_Sequence ( )
Author
Zoltan Hrabovszki
Date
2013.12.26
1628  {
1629  // Testscript in Schlüsselwort-Notation
1630  this.myKernel.SelectWindow("Rechner");
1631 
1632  // Soll/Ist-Vergleich: Ist das Richtige Fenster gesetzt?
1633  // Check the Name, Called Method and Value of Actuel object
1634  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
1635  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
1636  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
1637 
1638  try
1639  {
1640  // Frame für RechnerException gibt es nicht -> OKWFrameObjectWindowNotFoundException auslösen
1641  this.myKernel.Sequence("Rechner", "TestSequenceFehlt", "SEQID_Test");
1642  Assert.Fail();
1643  }
1644  catch (OKWFrameObjectMethodNotFoundException e)
1645  {
1646  Logger.Instance.LogPrint("OKWFrameObjectWindowNotFoundException: " + e.Message);
1647  Assert.AreEqual("Called OKW-Methode 'TestSequenceFehlt' does not exists.", e.Message);
1648  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
1649  }
1650  catch (Exception e)
1651  {
1652  System.Console.WriteLine("Wrong Exception");
1653  System.Console.WriteLine("Exception: " + e.Message);
1654  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
1655  }
1656  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectMethodNotFoundException_Test_.TC_StartApp ( )
Author
Zoltan Hrabovszki
Date
2013.12.26
1668  {
1669  try
1670  {
1671  this.myKernel.StartApp("WindowNoMethod");
1672  Assert.Fail();
1673  }
1674  catch (OKWFrameObjectMethodNotFoundException e)
1675  {
1676  Logger.Instance.LogPrint("OKWFrameObjectMethodNotFoundException: " + e.Message);
1677  Assert.AreEqual("Called OKW-Methode 'StartApp' does not exists.", e.Message);
1678  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
1679  }
1680  catch (Exception e)
1681  {
1682  System.Console.WriteLine("Exception: " + e.Message);
1683  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
1684  }
1685  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectMethodNotFoundException_Test_.TC_StopApp ( )
Author
Zoltan Hrabovszki
Date
2013.12.26
1697  {
1698  try
1699  {
1700  this.myKernel.StopApp("WindowNoMethod");
1701  Assert.Fail();
1702  }
1703  catch (OKWFrameObjectMethodNotFoundException e)
1704  {
1705  Logger.Instance.LogPrint("OKWFrameObjectMethodNotFoundException: " + e.Message);
1706  Assert.AreEqual("Called OKW-Methode 'StopApp' does not exists.", e.Message);
1707  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
1708  }
1709  catch (Exception e)
1710  {
1711  System.Console.WriteLine("Exception: " + e.Message);
1712  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
1713  }
1714  }

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