OpenKeyWord  Build_ID: 457, Datum: 01.02.2020 07:45:48
Dont repeat yourself. - Do it once and only once!
SeBACK.java
1 /*
2  ==============================================================================
3  Author: Zoltán Hrabovszki <zh@openkeyword.de>
4 
5  Copyright © 2012 - 2019 IT-Beratung Hrabovszki
6  www.OpenKeyWord.de
7  ==============================================================================
8 
9  This file is part of OpenKeyWord.
10 
11  OpenKeyWord is free software: you can redistribute it and/or modify
12  it under the terms of the GNU General Public License as published by
13  the Free Software Foundation, either version 3 of the License, or
14  (at your option) any later version.
15 
16  OpenKeyWord is distributed in the hope that it will be useful,
17  but WITHOUT ANY WARRANTY; without even the implied warranty of
18  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19  GNU General Public License for more details.
20 
21  You should have received a copy of the GNU General Public License
22  along with OpenKeyWord. If not, see <http://www.gnu.org/licenses/>.
23 
24  Diese Datei ist Teil von OpenKeyWord.
25 
26  OpenKeyWord ist Freie Software: Sie können es unter den Bedingungen
27  der GNU General Public License, wie von der Free Software Foundation,
28  Version 3 der Lizenz oder (nach Ihrer Wahl) jeder späteren
29  veröffentlichten Version, weiterverbreiten und/oder modifizieren.
30 
31  OpenKeyWord wird in der Hoffnung, dass es nützlich sein wird, aber
32  OHNE JEDE GEWÄHRLEISTUNG, bereitgestellt; sogar ohne die implizite
33  Gewährleistung der MARKTFÄHIGKEIT oder EIGNUNG FÜR EINEN BESTIMMTEN ZWECK.
34  Siehe die GNU General Public License für weitere Details.
35 
36  Sie sollten eine Kopie der GNU General Public License zusammen mit
37  OpenKeyWord erhalten haben. Wenn nicht, siehe <http://www.gnu.org/licenses/>.
38 */
39 
40 package okw.gui.adapter.selenium.webdriver;
41 
42 import java.util.ArrayList;
43 
44 import okw.exceptions.OKWFrameObjectMethodNotImplemented;
45 import okw.gui.adapter.selenium.SeAnyChildWindow;
46 
65  public class SeBACK extends SeAnyChildWindow
66  {
67 
68  public SeBACK()
69  {
70  super();
71  }
72 
73 
83  public ArrayList<String> getCaption()
84  {
85  ArrayList<String> lvLsReturn = new ArrayList<String>();
86 
87  try
88  {
89  this.LogFunctionStartDebug( "GetCaption" );
90 
91  // TODO: SeURL.GetTooltip: Ausnahme-Meldung auslagern
92  throw new OKWFrameObjectMethodNotImplemented("\"Caption\" not supported by SeMAXIMIZE-class!");
93  }
94  finally
95  {
96  this.LogFunctionEndDebug( lvLsReturn );
97  }
98  }
99 
100 
111  public Boolean getExists()
112  {
113  Boolean lvbReturn = true;
114 
115  try
116  {
117  this.LogFunctionStartDebug( "getExists" );
118  lvbReturn = true;
119  }
120  finally
121  {
122  this.LogFunctionEndDebug( lvbReturn );
123  }
124  return lvbReturn;
125  }
126 
127 
135  public Boolean getHasFocus()
136  {
137  Boolean lvbReturn = false;
138 
139  try
140  {
141  this.LogFunctionStartDebug( "getHasFocus" );
142 
143  // TODO: SeURL.GetTooltip: Ausnahme-Meldung auslagern
144  throw new OKWFrameObjectMethodNotImplemented("\"HasFocus\" not supported by SeMAXIMIZE-class!");
145  }
146  finally
147  {
148  this.LogFunctionEndDebug( lvbReturn );
149  }
150 
151  }
152 
153 
164  public Boolean getIsActive()
165  {
166  Boolean lvbReturn = true;
167 
168  this.LogFunctionStartDebug( "getIsActive" );
169  this.LogPrintDebug( "Allways true" );
170  this.LogFunctionEndDebug( lvbReturn );
171 
172  return lvbReturn;
173  }
174 
175 
186  public ArrayList<String> getLabel()
187  {
188  ArrayList<String> lvLsReturn = new ArrayList<String>();
189 
190  try
191  {
192  this.LogFunctionStartDebug( "getLabel" );
193 
194  // TODO: SeURL.GetTooltip: Ausnahme-Meldung auslagern
195  throw new OKWFrameObjectMethodNotImplemented("GetTooltip not supported by SeURL-class!");
196  }
197  finally
198  {
199  this.LogFunctionEndDebug( lvLsReturn );
200  }
201  }
202 
203 
215  public ArrayList<String> getTooltip()
216  {
217  ArrayList<String> lvLsReturn = new ArrayList<String>();
218 
219  this.LogFunctionStartDebug("GetTooltip");
220 
221  try
222  {
223  // TODO: SeURL.GetTooltip: Ausnahme-Meldung auslagern
224  throw new OKWFrameObjectMethodNotImplemented("GetTooltip not supported by SeURL-class!");
225  }
226  finally
227  {
228  this.LogFunctionEndDebug(lvLsReturn);
229  }
230  // return lvLsReturn;
231  }
232 
233 
244  public ArrayList<String> getValue()
245  {
246  ArrayList<String> lvLsReturn = new ArrayList<String>();
247 
248  this.LogFunctionStartDebug("getValue");
249 
250  try
251  {
252  // TODO: SeMAXIMIZE.SetFocus: Ausnahme-Meldung auslagern
253  throw new OKWFrameObjectMethodNotImplemented("\"*Value\" Keyword are not supported by SeMAXIMIZE-class!");
254  }
255  finally
256  {
257  this.LogFunctionEndDebug(lvLsReturn);
258  }
259 
260  }
261 
262 
273  public void ClickOn()
274  {
275  try
276  {
277  this.LogFunctionStartDebug( "ClickOn" );
278 
279  SeDriver.getInstance().getDriver().navigate().back();
280  }
281  finally
282  {
283  this.LogFunctionEndDebug();
284  }
285  }
286 
287 
298  public void SetFocus()
299  {
300  this.LogFunctionStartDebug("SetFocus");
301 
302  try
303  {
304  // TODO: SeBACK.SetFocus: Ausnahme-Meldung auslagern
305  throw new OKWFrameObjectMethodNotImplemented("\"SetFocus\" not supported by SeBACK-class!");
306  }
307  finally
308  {
309  this.LogFunctionEndDebug();
310  }
311  }
312 
313 
324  public void SetValue(ArrayList<String> fps_Values)
325  {
326  this.LogFunctionStartDebug("SetValue", "fps_Values", fps_Values.get(0));
327 
328  try
329  {
330  // TODO: SeBACK.SetFocus: Ausnahme-Meldung auslagern
331  throw new OKWFrameObjectMethodNotImplemented("\"SetValue\" not supported by SeBACK-class!");
332  }
333  finally
334  {
335  this.LogFunctionEndDebug();
336  }
337  }
338 
339 
352  public void TypeKey(ArrayList<String> fps_Values)
353  {
354  this.LogFunctionStartDebug("TypeKey", "fps_Values", fps_Values.get(0));
355 
356  try
357  {
358  throw new OKWFrameObjectMethodNotImplemented("\"TypeKey\" not supported by SeBACK-class!");
359  }
360  finally
361  {
362  this.LogFunctionEndDebug();
363  }
364  }
365 }
okw.gui.adapter.selenium.webdriver.SeBACK.TypeKey
void TypeKey(ArrayList< String > fps_Values)
Setzt den Wert der URL im aktiven Browser/BrowserChild und navigiert zur gegebenen Seite.
Definition: SeBACK.java:352
okw.gui.adapter.selenium.webdriver.SeDriver
Pattern Singelton.
Definition: SeDriver.java:60
okw.gui.AnyWinBase.LogFunctionEndDebug
void LogFunctionEndDebug()
Methode ruft die Methode Logger.Instance.LogFunctionEndDebug() auf.
Definition: AnyWinBase.java:298
okw.gui.adapter.selenium.webdriver.SeBACK.getTooltip
ArrayList< String > getTooltip()
Liest den aktuellen Tooltip-Wert der URL aus.
Definition: SeBACK.java:215
okw.gui.adapter.selenium.SeAnyChildWindow
Definition: SeAnyChildWindow.java:74
okw.gui.adapter.selenium.webdriver.SeBACK.SetValue
void SetValue(ArrayList< String > fps_Values)
Setzt eines Wert ist nicht möglich.
Definition: SeBACK.java:324
okw.exceptions.OKWFrameObjectMethodNotImplemented
Die Ausnahme OKWFrameObjectMethodNotImplemented wird ausgelöst, wenn im Frame Objekt eine gegebene Me...
Definition: OKWFrameObjectMethodNotImplemented.java:65
okw.gui.adapter.selenium.webdriver.SeDriver.getInstance
static SeDriver getInstance()
Gibt die Instance für die einzige Instanz dieser Klasse zurück.
Definition: SeDriver.java:102
okw.gui.adapter.selenium.webdriver.SeBACK.getCaption
ArrayList< String > getCaption()
Ermittelt den textuellen Inhalt der Überschrift eines HTML-Tags anhand des Attributee "textContent".
Definition: SeBACK.java:83
okw.gui.adapter.selenium.webdriver.SeBACK.getIsActive
Boolean getIsActive()
Ermittelt, ob das aktuellen Objekt aktiv ist.
Definition: SeBACK.java:164
okw.gui.adapter.selenium.webdriver.SeBACK.getExists
Boolean getExists()
Prüft die Existenz des aktuellen Objektes.
Definition: SeBACK.java:111
okw.gui.adapter.selenium.webdriver.SeBACK
Definition: SeBACK.java:65
okw.gui.AnyWinBase.LogFunctionStartDebug
void LogFunctionStartDebug(String fpsMethodName)
Methode ruft die Methode Logger.Instance.LogFunctionStartDebug(fps_FunctionName), und erweitert den g...
Definition: AnyWinBase.java:212
okw.gui.adapter.selenium.webdriver.SeBACK.SetFocus
void SetFocus()
Setzt eines Wert ist nicht möglich.
Definition: SeBACK.java:298
okw.gui.adapter.selenium.webdriver.SeBACK.ClickOn
void ClickOn()
Das ist die GUI-Adapter Methode, die durch das Schlüsselwort ClickOn( FN ) aufgerufen wird.
Definition: SeBACK.java:273
okw.gui.adapter.selenium.webdriver.SeBACK.getHasFocus
Boolean getHasFocus()
Methode wird nicht untertütz, Methode liefert den aktuellen Zustand Wert des Focus.
Definition: SeBACK.java:135
okw.gui.adapter.selenium.webdriver.SeBACK.getLabel
ArrayList< String > getLabel()
Ermittelt den textuellen Inhalt des Labels.
Definition: SeBACK.java:186
okw.gui.adapter.selenium.webdriver.SeBACK.getValue
ArrayList< String > getValue()
Alle Value Schlüsselwörter werden nicht unterstützt.
Definition: SeBACK.java:244