I have a web page that pulls some data from my database when someone
types an integer into a text box. The data ends up in some text input
controls. Have to be inputs, because the user is allowed to edit the
data that is pulled from the database. Straightforward. The selenium
that fires the ajax is:
<tr>
<td>fireEvent</td>
<td>ctl00_ContentPlaceHolder1_Wiz1_Control1_TextBox1</td>
<td>blur</td>
</tr>
After the blur event, there are 6 inputs on the page that now have
text in them. I want to wait for the text to be present in the inputs
and assert that they are present. What's an effective way to do this?
I've tried:
- `waitForExpression` with a jquery call (`$('...').val() != ''` but
doubtful that this works because of the
jquery, even though jquery is loaded on the page)
- `waitForText` ( locator, pattern ), which seems like the most
obvious one, but it really won't work, i suspect since the fields are
inputs
Do I need a different approach here because the elements that I'm
querying are `input` controls?
(this is a repost from
stackoverflow.com; didn't get any answers there
and posted the question a few days ago)