When a user entered into Test Lab module ,logged in user can see only test instances that are assigned to him.
In other words , Test lab should display only test instances whose Responsible Tester (TC_TESTER_NAME) value is current user.
I've tried the following , but could not achieve it.
Set tsTestList = TSTestFact.NewList("")
For Each testInstance in tsTestList
if testInstance.Field("TC_TESTER_NAME") <> User.UserName Then
testInstance.isVisible= false 'Wrong code
end if
testInstance.Post
Next
testInstance.isVisible= false '' This line is throwing error as Test Intance is not a feild to use isVisible.
If anyone tried this using workflow, please share the code.