How to spy listview and select all the values in the list. Also How to use Partial link text?

How to spy listview and select all the values in the list. Also How to use Partial link text? Please let me know