assertXpathCount (UI Automation - Interrogation)
Compatible with:
- Purpose
- Generated from getXpathCount(xpath)
- This command is used to verify the number of nodes that match with the specified xpath given in the Targe, for exmaple, the xpath - "//table/tbody/tr" would give the number of rows in a table.
- Syntax
- assertXpathCount(xpath, pattern)
- Target
- xpath - the xpath expression to evaluate.
- Value
- pattern
- Return Value
- Number of nodes that match with the specified xpath.