Skip to content

Commit 02d7eaf

Browse files
authored
UpdateQueryRowPage: expose getTextInputValue() (#2451)
1 parent 89f0208 commit 02d7eaf

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

src/org/labkey/test/pages/query/UpdateQueryRowPage.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
import org.labkey.test.WebDriverWrapper;
1010
import org.labkey.test.WebTestHelper;
1111
import org.labkey.test.components.html.Checkbox;
12+
import org.labkey.test.components.html.Input;
1213
import org.labkey.test.components.html.OptionSelect;
1314
import org.labkey.test.pages.LabKeyPage;
1415
import org.openqa.selenium.WebDriver;
@@ -118,6 +119,12 @@ public UpdateQueryRowPage setField(String fieldName, OptionSelect.SelectOption o
118119
return this;
119120
}
120121

122+
public String getTextInputValue(String fieldName)
123+
{
124+
var input = new Input(elementCache().findField(fieldName), getDriver());
125+
return input.getValue();
126+
}
127+
121128
public void submit()
122129
{
123130
clickAndWait(elementCache().submitButton);

0 commit comments

Comments
 (0)