40 package okw.gui.adapter.selenium;
42 import java.util.ArrayList;
43 import org.apache.commons.lang3.StringUtils;
44 import org.openqa.selenium.WebElement;
45 import okw.gui.OKWLocatorBase;
122 super( Locator, Locators );
158 Integer lviReturn = 0;
170 String lvsMaxLength = this.
Me().getAttribute(
"maxlength" );
172 if ( !okw.OKW_Helper.isStringNullOrEmpty( lvsMaxLength) )
174 lviReturn = Integer.parseInt( lvsMaxLength );
205 ArrayList<String> lvLsReturn =
new ArrayList<String>();
215 String myAttribute = this.
Me().getAttribute(
"placeholder" );
216 myAttribute = StringUtils.normalizeSpace( myAttribute );
218 lvLsReturn.add( myAttribute );
243 ArrayList<String> lvLsReturn =
new ArrayList<String>();
253 String myValue = this.
Me().getAttribute(
"value" );
255 if ( myValue !=
null )
257 lvLsReturn.add( this.
Me().getAttribute(
"value" ) );
284 WebElement myMe = this.
Me();
287 if ( Val.get( 0 ).equals( okw.OKW_Const_Sngltn.getInstance().GetOKWConst4Internalname(
"DELETE" ) ) )
293 myMe.sendKeys( Val.get( 0 ) );