Forum Discussion
The xpath match assertion works correctly in version 5.3.0 with
//Block16DetailElectricity/TotalEnergyEssentTable/TableLine[@tableLineDescription='Dag1']/@amountExclVAT
The result is 49.50.
Are you using xpath match assertion or script assertion?
Also, using this xpath gives a null result.
- PaulMS8 years agoSuper Contributor
Is @tableLineDescription='Verkoopprijs - dag' the correct attribute in the source property XML?
The XML example above is different with @tableLineDescription='Dag1'
If the attribute matches the xpath selection then the property transfer should work.
- AnkushP8 years agoNew Contributor
Thanks Paul, have found the solution, have to consider namespace in the xpath, this one worked:
//*:Block16DetailElectricity/*:TotalEnergyEssentTable/*:TableLine[@tableLineDescription = 'Verkoopprijs - dag']/@amountExclVAT