io.selendroid.server.model
Interface AndroidElement

All Known Implementing Classes:
AndroidNativeElement, AndroidRElement, AndroidWebElement

public interface AndroidElement


Method Summary
 void clear()
           
 void click()
           
 void enterText(CharSequence... keysToSend)
           
 AndroidElement findElement(By by)
           
 List<AndroidElement> findElements(By by)
           
 String getAttribute(String name)
           
 Collection<AndroidElement> getChildren()
           
 Coordinates getCoordinates()
           
 Point getLocation()
           
 AndroidElement getParent()
           
 Dimension getSize()
           
 String getTagName()
           
 String getText()
           
 String id()
           
 boolean isDisplayed()
           
 boolean isEnabled()
           
 boolean isSelected()
           
 void setText(CharSequence... keysToSend)
           
 void submit()
           
 String toString()
           
 

Method Detail

getParent

AndroidElement getParent()

getChildren

Collection<AndroidElement> getChildren()

findElement

AndroidElement findElement(By by)
                           throws NoSuchElementException
Throws:
NoSuchElementException

findElements

List<AndroidElement> findElements(By by)
                                  throws NoSuchElementException
Throws:
NoSuchElementException

enterText

void enterText(CharSequence... keysToSend)

setText

void setText(CharSequence... keysToSend)

getText

String getText()

click

void click()

submit

void submit()

isSelected

boolean isSelected()

isDisplayed

boolean isDisplayed()

isEnabled

boolean isEnabled()

clear

void clear()

getLocation

Point getLocation()

getCoordinates

Coordinates getCoordinates()

getSize

Dimension getSize()

getTagName

String getTagName()

getAttribute

String getAttribute(String name)

toString

String toString()
Overrides:
toString in class Object

id

String id()


Copyright © 2014. All rights reserved.