IS the update of TS_USER_7 stored?
We had a similar problem with the defects module.
The only way to fix it, was to remove the user defined field and than add it again.
Make sure you copy the content of TS_USER_7 first, because if you remove it, the content is gone.
There's a couple of things I find odd about what you are trying to do here.
1. You have used TS_USER_7 where it should be TS_USER_07. TS_USER_7 will be NULL because it doesn't exist, not because you have no data in the field TS_USER_07! You are getting the count of 10 because your filter is matching the other two fields which you have expressed correctly.
2. You have called a refresh action when you have made no changes that would affect the UI.
3. You create a lot of objects when you can call the item directly.
If you want to filter a set of data for just Test Instances all you need in the workflow is:
<font class="small">Code:</font><hr /><pre>
Set tsTestFilter = TSTestFactory.Filter
tsTestFilter.Filter("TC_ACTUAL_TESTER") = User.UserName
tsTestFilter.Filter("TC_STATUS") = "Failed"
tsTestFilter.Filter("TS_USER_07") = ""
Set tsTestList = TSTestFactory.NewList(tsTestFilter.Text)
If you could explain where you are using this and what for I can help you with its best placement and use.
While I have been working for Businesses that are Vendor partners with HP, IBM and Microsoft, my opinions and advice is my own.
The solutions provided are either sourced from my own scripting libraries or from a quick Google Search.