Page 1 of 1

Xspec expect different result between href and inline

Posted: Fri Jan 05, 2018 5:05 pm
by YvonneArnoldus
Hi,

I'm running into a strange problem. If I use <x:expect label="../files/output.xml"/> my test fails, my expect starts with /. If I input the content of the output.xml file into between the <x:expect> and </x:expect> tags my test succeeds.

How can I remove the starting / when i use a reference to the output.xml file in x:expect?

Re: Xspec expect different result between href and inline

Posted: Fri Jan 05, 2018 5:26 pm
by george
Hi,

You have

Code: Select all

<x:expect label="../files/output.xml"/>
while probably you want to use the "select" attribute to select the content from that document.

Regards,
George