It's about adding validation for one page response in Neoload. The business scenario is like this: existing client, who has a planner, selected another planner then submit booking form. Error message bar (It's on the same page, not in a popup window or alert window) should display:
We have identified that you already have a planner, please call us on 1800 xxx xxx for further assistance.
The problem is no matter this error message displayed or not, the recorded response message always contains same text:
<div class="planner-message-placeholder form-section" style="display:none;">
<div class="message">
<p class="bg-info">
We have identified that you already have a planner, please call us on <a href=" tel:1800 xxx xxx">1800 xxx xxx</a> for further assistance.
</p>
</div>
</div>
The difference between display and not display can only be found on the rendered page. When the error message displays , the HTML code is as below. The style property value: "display:none" is removed somehow, so the message is displayed on the page.
<div class="planner-message-placeholder form-section" style="">
<div class="message">
<p class="bg-info">
We have identified that you already have a planner, please call us on <a href=" tel:1800 xxx xxx">1800 xxx xxx</a> for further assistance.
</p>
</div>
</div>
Since there is no such difference in Neoload recorded responses, this makes it very hard to add validation for this response.
Is it possible that some other messages were not captured by NeoLoad? When the page displays differently, why are the recorded responses are the same?
No answers