how to verify text 2 line in 1 object?
<th valign="top" width="140">
<spen class="color999">Created Date</spen>
I try this can’t work
WebUI.verifyElementText(findTestObject(‘Search/text_column4’), ‘Activation Date/Created Date’)
Please show us how the test object
Search/text_column4 is defined. How does its locator looks like?
You are missing the
<br> tag in your solution.
This might work:
WebUI.verifyElementText(findTestObject(‘Search/text_column4’), ‘Activation Date/\nCreated Date’)
Assuming the test object is correct and it points to that element.
thank you for all answer. This is the answer I need.