I just started using Selenium-IDE (until I watched selenium-RC: if someone tells me that this is the answer to my question, I will look at it)
One of the operations I'm testing generates some output in a table on the next HTML page, but the order of the lines is not predictable.
I can obviously use 'assertTextPresent', but I want to do a little more and check that the various bits of the text are on the same line.
What I would like to do is determine tr by some content, and then use tr in subsequent statements; sort of
storeExpression //table[@id='TABLE_6']/td[.='case_1']/.. row
assertText ${row} 'Some text'
assertText ${row} 'Some other text'
to verify that “Some texts” and “Some other texts” appear on the same row in the table, for example, “case_1”.
I don't have this yet, and I'm not sure if this is possible or what syntax to use, if any.
Has anyone been able to do this?
source
share