Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


in-range operator



Junos Snapshot Administrator test operator that tests if an XML element value is within a given numeric range.


err string

Statement generated when the test case returns false.

info string

Description of the test case.


Numeric value defining the start of the range.


Numeric value defining the end of the range.


XPath expression selecting the elements to evaluate.

Usage Examples

The following test case checks the OSPF database and tests if each router has between 5 and 10 links. If the link-count value falls outside the specified range, the code reports an error.

Release Information

Operator introduced in Junos Snapshot Administrator Release 1.0.