Hi Team,
I am using data binding to add notes to a form and save it. The note will have a title and a description. I am getting the title and the description from my data binding.
After adding the note I click on save and I wanted to verify whether the title and the description is correct.
So I got the same fields above to do the verifications. My test failed at the below step when attempting to verify the description.
The description is same as I call the same excel cell for input data and then to verify the saved data
Below is the failure message.
Should I be doing anything differently? In the failure information I see the expected and the actual is the same. Not sure how/why it failed.
Please see below.
Failure Information: ~~~~~~~~~~~~~~~Content.InnerText of 'ThisIsTheSpan0' does not match! Match Type: 'Contains' Expected Result: 'This is the note for the search term : PD 6687-1:2010 Background paper to the National Annexes to BS EN 1992-1 and BS EN 1992-3 of standard BS EN 1990:2002 A1:2005' Value at time of failure: 'This is the note for the search term : PD 6687-1:2010 Background paper to the National Annexes to BS EN 1992-1 and BS EN 1992-3 of standard BS EN 1990:2002 A1:2005'
Expected Result: 'This is the note for the search term : PD 6687-1:2010 Background paper to the National Annexes to BS EN 1992-1 and BS EN 1992-3 of standard BS EN 1990:2002 A1:2005'
Value at time of failure: 'This is the note for the search term : PD 6687-1:2010 Background paper to the National Annexes to BS EN 1992-1 and BS EN 1992-3 of standard BS EN 1990:2002 A1:2005'
System.InvalidCastException: Unable to cast object of type 'Microsoft.VisualStudio.TestTools.Common.Xml.UnknownTestTypeSpecificData' to type 'ArtOfTest.WebAiiVSIP.WebAiiTestRunConfig'.
at ArtOfTest.WebAiiVSIP.WebAiiTestAdapter.Run(ITestElement testElement, ITestContext testContext)
Has anyone come across this before and know how to fix it?
Thanks
Shane