Forum Discussion

shaifali_pandya's avatar
Occasional Contributor
11 years ago

[LoadUIWeb] Failure of Validation rule does not show actual value

When Validation rule fails, result does not show the actual value in the variable in case the value does not match with expected. A screenshot available in help under section "How WebLoadUI Logs Validation Results" shows that the actual value is displayed in "Additional Information" tab. Below are the details about my test -

I am trying to verify that the response has expected string.

One of the line in response is "<label class="dxeBase" id="ctl00_MainContent_rndExport_ASPxLabelSearchResults" style="color:#000066;font-family:Arial;font-size:15px;">Search Results for &quot;FNM&quot; (14 pools)</label>

Requirement is to confrm if the response has the string "14 pools"

Data Selector defined as follows -

Regular Expression = (.*)


Save to Variable=Variable1

Decode=Do not decode

Validation rule defined as follows -



Value=114 pools (this value is intentionally given incorrect to crosscheck, because when the rule passes there is no indication in the result)

What do I need to get the actual value reported in the error?

PS - test passes with correct value in "Validation rule"


3 Replies