Search found 3 matches

by Franz
Mon Jun 24, 2019 3:59 pm
Forum: Automation Discussions
Topic: Validate content of XML file?
Replies: 2
Views: 3179

Re: Validate content of XML file?

Add an XML template file to your solution, then use an XML validator like: https://github.com/xmlunit/xmlunit.net Then just create a codemodule where you are validating these two files with each other. After validating you can do something like this: foreach (var difference in Differences) { Report....
by Franz
Mon Jun 24, 2019 3:27 pm
Forum: How To …
Topic: What strategy do you use for disabling tests that are failing for reasons outwith your control?
Replies: 1
Views: 1373

Re: What strategy do you use for disabling tests that are failing for reasons outwith your control?

If you have a [Setup] in every TestCase you could add a CodeModule that checks the name of the current running TestCase, then just validate if the name appears in your string[] affectedTestCases = { "TestCase1", "TestCase2", "TestCase3", }; array and then skip by code if necessary. A better option w...
by Franz
Fri Jun 21, 2019 4:05 pm
Forum: How To …
Topic: How do I create a repo variable linked to a datasource?
Replies: 3
Views: 1871

Re: How do I create a repo variable linked to a datasource?

The RxPath you posted is correct for your purpose. In this case the '$QAUnderTest' is a repository variable, you can bind the variable easily to a datasource that can append on any smartfolder in your testsuite. Open your testsuite and add your TestModule inside of a SmartFolder, after doing so you ...