Forum Discussion

pavak's avatar
pavak
Occasional Contributor
10 years ago

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
    10 years ago
    Ok, you can try xpath assertion something like:
    xpath expression as count(//subtag4[contains(.,'abc')]) and provide the expected value