Hi,
I have a line in my test - "Verify 'TextContent' 'Contains' '#Supp Name' on 'SearchValueTextArea'" that is passed in IE and failed in Chrome.
In Chrome, I entered text "#Supp Name" in the text area and I inspect the element 'SearchValueTextArea' , this is what I see
<textarea id="SearchValue" placeholder="Search" rows="1" cols="20" class="initialisableControl clearabletextarea initialised" data-t1-control-type="Placeholder" style="overflow: hidden; height: 16px;"></textarea>
As you can see, the value "#Supp Name" is not captured.
Whereas the same test in IE, I see below in the F12 Dev Tools
<textarea class="initialisableControl clearabletextarea initialised placeholdized placeholderHidden" id="SearchValue" style="height: 16px; overflow: hidden;" rows="1" cols="20" data-t1-control-type="Placeholder" placeholder="Search">
Text - #Supp Name
I tried others Attribute verification e.g. OuterMarkup/ Inner Text but it is still not working.
I talked to our developers. He advised that I might be able to get around by doing something like "SearchValueTextArea.value()". May I ask if you have any other solution rather than writing a line of code in my test script?
Please advise. Thank You.
I have a line in my test - "Verify 'TextContent' 'Contains' '#Supp Name' on 'SearchValueTextArea'" that is passed in IE and failed in Chrome.
In Chrome, I entered text "#Supp Name" in the text area and I inspect the element 'SearchValueTextArea' , this is what I see
<textarea id="SearchValue" placeholder="Search" rows="1" cols="20" class="initialisableControl clearabletextarea initialised" data-t1-control-type="Placeholder" style="overflow: hidden; height: 16px;"></textarea>
As you can see, the value "#Supp Name" is not captured.
Whereas the same test in IE, I see below in the F12 Dev Tools
<textarea class="initialisableControl clearabletextarea initialised placeholdized placeholderHidden" id="SearchValue" style="height: 16px; overflow: hidden;" rows="1" cols="20" data-t1-control-type="Placeholder" placeholder="Search">
Text - #Supp Name
I tried others Attribute verification e.g. OuterMarkup/ Inner Text but it is still not working.
I talked to our developers. He advised that I might be able to get around by doing something like "SearchValueTextArea.value()". May I ask if you have any other solution rather than writing a line of code in my test script?
Please advise. Thank You.