Xspec expect different result between href and inline

Having trouble installing Oxygen? Got a bug to report? Post it all here.
YvonneArnoldus
Posts: 2
Joined: Fri Jan 05, 2018 3:35 pm

Xspec expect different result between href and inline

Post 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?
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Re: Xspec expect different result between href and inline

Post 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
George Cristian Bina
Post Reply