Quantcast
Channel: Quality Center / ALM Practitioners Forum topics
Viewing all articles
Browse latest Browse all 5491

How to hide test instnaces from the user which were not assigned to him.

$
0
0

 

 

 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.

 

 

 

 


Viewing all articles
Browse latest Browse all 5491

Trending Articles