Forum Discussion

saprao's avatar
saprao
Occasional Contributor
11 years ago
Solved

Needs to validate Range of values in response

Hi, Could you please help me out any one for validate range of values in response xml through xpath assertion or any other assertion if possiable. Ex : I am passing date ='2013-08-05' value thro...
  • nmrao's avatar
    11 years ago
    Here is the xpath you may use which will return true in your case.
    number(translate(string(//alpha:SelectedSailing/@Start),'-','')) >= number(translate('2014-05-11','-',''))