Unable to cast object System.Xml.XmlComment’ to type ‘System.Xml.XmlElement’Here is the complete video of the above fix Thanks for reading the post and watching the video!!! Please leave your comments and let me know if there is anything I should update in this post. Thanks, Karthik KK
- Functional Testing
- Paid Course
- Mobile Testing
3 Replies to “Unable to cast object System.Xml.XmlComment’ to type ‘System.Xml.XmlElement’ Specflow”
Great help.. Thanks Buddy.
you can make it much shorter – no video, just info:
in feature csproj file change
<Project ToolsVersion="14.0"… to <Project ToolsVersion="12.0" …
same error "Unable to cast object of type 'System.Xml.XmlComment' to type 'System.Xml.XmlElement'" happens when you try to do specfow report:
nunit-console.exe /labels /out=TestResult.txt /xml=TestResult.xml "%projDll%"
packages\SpecFlow.1.9.0\tools\specflow.exe nunitexecutionreport "%proj%" /out:_specReport.html
Great, thanks for the info !!!