Forum Discussion

pavak's avatar
pavak
Occasional Contributor
9 years ago
Solved

test Search by keyword functionality

I need to test "Search by keyword" functionality. Can someone please help me with that. Ex: If I search by keyword "abc", i am expecting "abc" in response for 10 times by default.(which we can chang...
  • nmrao's avatar
    nmrao
    9 years ago
    Ok, you can try xpath assertion something like:
    xpath expression as count(//subtag4[contains(.,'abc')]) and provide the expected value