OpenKeyWord  Build Tag: jenkins-DoxyGen_EN-107, Build ID: 2015-03-08_20-51-06
 All Classes Namespaces Functions Variables Properties Pages
OKW.GUI.Selenium.SePushButton Class Reference

TODO: Description of SePushButton. More...

Inheritance diagram for OKW.GUI.Selenium.SePushButton:
Collaboration diagram for OKW.GUI.Selenium.SePushButton:

Public Member Functions

 SePushButton (string fpsLocator, params OKWLocator[] fpParams)
 TODO: locator beschreiben. More...
 
override List< string > VerifyCaption (List< string > fplsExpectedValue)
 
override List< string > LogCaption ()
 
override List< string > MemorizeCaption ()
 
override List< string > GetCaption ()
 
- Public Member Functions inherited from OKW.GUI.Selenium.SeAnyWin
 SeAnyWin (string Locator, params OKWLocator[] fpLocators)
 
virtual void ClickOn ()
 
virtual bool GetExists ()
 
virtual bool GetIsActive ()
 
virtual bool LogExists ()
 
virtual bool LogIsActive ()
 
virtual IWebElement Me ()
 
virtual bool MemorizeExists ()
 
virtual bool MemorizeIsActive ()
 
virtual bool NotExists ()
 
virtual void SetFocus ()
 
virtual void TypeKey (List< string > fps_Values)
 
virtual bool VerifyExists (bool fpbExpectedValue)
 
virtual bool VerifyIsActive (bool fpbExpectedValue)
 
virtual List< string > VerifyTooltip (List< string > fplsExpectedValue)
 
virtual List< string > VerifyLabel (List< string > fplsExpectedValue)
 
virtual List< string > GetTooltip ()
 
virtual List< string > GetLabel ()
 
virtual List< string > LogTooltip ()
 
virtual List< string > LogLabel ()
 
virtual List< string > MemorizeTooltip ()
 
virtual List< string > MemorizeLabel ()
 
virtual bool GetHasFocus ()
 
virtual bool LogHasFocus ()
 Ermittelt für LoggeWert, ob das aktuelle Objekt den Fokus hat. More...
 
virtual bool MemorizeHasFocus ()
 
virtual bool VerifyHasFocus (bool fpbExpectedValue)
 Ermittelt den textuellen Inhalt des ToolTips. More...
 
virtual List< string > GetValue ()
 Holt den aktuellen Text aus einem HTML-Tag. More...
 
virtual List< string > LogValue ()
 Ermittelt den Wert des Objktes für das Schlüsselwort Loggewert. More...
 
virtual List< string > MemorizeValue ()
 
virtual List< string > VerifyValue (List< string > fplsExpectedValue)
 Ermittelt den textuellen Inhalt des markierten Textes für Prüfewert. More...
 
- Public Member Functions inherited from OKW.GUI.AnyWinBase
 AnyWinBase (string fpsLocator, params OKWLocator[] fpLocators)
 
void LogFunctionStartDebug (string fpsMethodName, string P1_Name, string P1_Value)
 

Additional Inherited Members

- Protected Member Functions inherited from OKW.GUI.AnyWinBase
void LogFunctionEndDebug ()
 
void LogFunctionEndDebug (string fpsReturn)
 
void LogFunctionEndDebug (bool fpbReturn)
 
void LogFunctionEndDebug (List< string > fpLsReturn)
 
void LogFunctionStartDebug (string fpsMethodName)
 
- Protected Attributes inherited from OKW.GUI.Selenium.SeAnyWin
Log.Logger MyLogger = Log.Logger.Instance
 
OKW_Wait4Value MyWait4Value = new OKW_Wait4Value()
 
LogMessenger LM = new LogMessenger("GUI")
 
- Properties inherited from OKW.GUI.AnyWinBase
string Locator [get]
 
OKWLocator LOCATOR [get]
 

Detailed Description

TODO: Description of SePushButton.

Constructor & Destructor Documentation

OKW.GUI.Selenium.SePushButton.SePushButton ( string  fpsLocator,
params OKWLocator[]  fpParams 
)

TODO: locator beschreiben.

Parameters
Locatordefiniert die Objekterkennungseigenschaft des Objektes und wird als XPATH angegeben
64  : base(fpsLocator, fpParams)
65  {
66  }

Member Function Documentation

override List<string> OKW.GUI.Selenium.SePushButton.GetCaption ( )
virtual
Author
Zoltán Hrabovszki
Date
2013.12.07

Reimplemented from OKW.GUI.Selenium.SeAnyWin.

214  {
215  List<string> lvLsReturn = new List<string>();
216  bool bOK = false;
217  try
218  {
219  MyLogger.LogFunctionStartDebug("GetCaption");
220 
221  // Wenn das Objekt nicht existiert mit Exception beenden...
222  if (!this.GetExists())
223  {
224  string lvsLM = this.LM.GetMessage("Common", "OKWGUIObjectNotFoundException", "GetCaption()");
225  throw new OKWGUIObjectNotFoundException(lvsLM);
226  }
227 
228  // The Attribute "value" wird als Beschriftung angezeigt...
229  lvLsReturn.Add(this.Me().GetAttribute("value"));
230  bOK = true;
231  }
232  finally
233  {
234  if (bOK)
235  {
236  MyLogger.LogFunctionEndDebug(lvLsReturn);
237  }
238  else
239  {
240  MyLogger.LogFunctionEndDebug();
241  }
242  }
243 
244  return lvLsReturn;
245  }
virtual bool GetExists()
Definition: SeAnyWin.cs:181
override List<string> OKW.GUI.Selenium.SePushButton.LogCaption ( )
virtual
Author
Zoltán Hrabovszki
Date
2013.12.07

Reimplemented from OKW.GUI.Selenium.SeAnyWin.

134  {
135  List<string> lvLsReturn = new List<string>();
136  bool bOK = false;
137 
138  try
139  {
140  MyLogger.LogFunctionStartDebug("LogCaption");
141 
142  lvLsReturn = this.GetCaption();
143 
144  bOK = true;
145  }
146  finally
147  {
148  if (bOK)
149  {
150  MyLogger.LogFunctionEndDebug(lvLsReturn);
151  }
152  else
153  {
154  MyLogger.LogFunctionEndDebug();
155  }
156  }
157 
158  return lvLsReturn;
159  }
override List<string> OKW.GUI.Selenium.SePushButton.MemorizeCaption ( )
virtual
Author
Zoltán Hrabovszki
Date
2013.12.07

Reimplemented from OKW.GUI.Selenium.SeAnyWin.

176  {
177  bool bOK = false;
178  List<string> lvLsReturn = null;
179 
180  try
181  {
182  MyLogger.LogFunctionStartDebug("MemorizeCaption");
183 
184  lvLsReturn = this.GetCaption();
185  bOK = true;
186  }
187  finally
188  {
189  if (bOK)
190  {
191  MyLogger.LogFunctionEndDebug(lvLsReturn);
192  }
193  else
194  {
195  MyLogger.LogFunctionEndDebug();
196  }
197  }
198 
199  return lvLsReturn;
200  }
override List<string> OKW.GUI.Selenium.SePushButton.VerifyCaption ( List< string >  fplsExpectedValue)
virtual
Author
Zoltán Hrabovszki
Date
2013.12.07

Reimplemented from OKW.GUI.Selenium.SeAnyWin.

88  {
89  MyLogger.LogFunctionStartDebug("VerifyCaption", "fplsExpectedValue", fplsExpectedValue[0]);
90 
91  List<string> lvLsReturn = new List<string>();
92  bool bOK = false;
93 
94  try
95  {
96  // GetValue_TOOLTIP als delegaten definieren
97  OKW_Wait4Value.ListStringCallBack myCallBack = this.GetCaption;
98 
99  // Nun mit dem erwarteten Sollwert und GetValue_TOOLTIP ggf. auf den Wert Warten.
100  lvLsReturn = MyWait4Value.Wait4Value(fplsExpectedValue, myCallBack);
101 
102  bOK = true;
103  }
104  finally
105  {
106  if (bOK)
107  {
108  MyLogger.LogFunctionEndDebug(lvLsReturn);
109  }
110  else
111  {
112  MyLogger.LogFunctionEndDebug();
113  }
114  }
115 
116  return lvLsReturn;
117  }

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