Hi,
When I add any message to the Assert API call. On failure of Test step I am expecting that it should log failure message with the message given in Assert API. But test studio doesn't log the Assert message instead it logs the Test step description.
In above code on failure of Assert it doesn't log the message given in Assert API Call instead it logs description in code step attribute.
I searched around online but didn't get any help.
Please let me know if this is a known issue or I am missing something.
When I add any message to the Assert API call. On failure of Test step I am expecting that it should log failure message with the message given in Assert API. But test studio doesn't log the Assert message instead it logs the Test step description.
[CodedStep(@
"Verify All Controls visibility is Visible"
, RequiresSilverlight =
true
)]
public
void
NetworkSettingsPage_Functionality_ControlVisibility()
{
// Verify EditButton's visibility is Visible
Assert.AreEqual(ArtOfTest.WebAii.Silverlight.UI.Visibility.Visible, Pages.PC5xxLogin.SilverlightApp.EditButton.ComputedVisibility,
"Edit Button Element visibility does not match expected value"
);
}
In above code on failure of Assert it doesn't log the message given in Assert API Call instead it logs description in code step attribute.
I searched around online but didn't get any help.
Please let me know if this is a known issue or I am missing something.