Created
December 23, 2013 07:16
-
-
Save ddavison/8092890 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.company.seleniumframework.functional; | |
import com.company.seleniumframework.AutomationTest; | |
import com.company.seleniumframework.Browser; | |
import com.company.seleniumframework.Config; | |
import org.junit.Test; | |
import org.openqa.selenium.By; | |
@Config(url="http://aviprobo.doorfree.com/control.html", browser= Browser.CHROME) | |
public class TextArea extends AutomationTest { | |
@Test | |
public void testTextArea() { | |
log("Value attr: " + driver.findElement(By.id("control")).getAttribute("value")) | |
.log("Text: " + driver.findElement(By.id("control")).getText()); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Renders: