Re: Restoring System Field in Test Cases (121 Views)
Reply
Occasional Contributor
tud0
Posts: 4
Registered: ‎11-30-2012
Message 1 of 3 (159 Views)

Restoring System Field in Test Cases

Hi,

 

Been searching the posts but was not able to find a topic regarding this.

 

In the Script Editor, I added the following in the Manual Runner Script to hide the System Field, ST_BPTA_CONDITION:

 

Sub Step_MoveTo
  On Error Resume Next
     Step_Fields.Field("ST_BPTA_CONDITION").IsVisible=false
  On Error GoTo 0
End Sub

 

When I try to restore the field (by deleting the code), the field is still hidden. Is there a way to restore the field? Am I missing anything?

 

Thanks, D2

Please use plain text.
Honored Contributor
Trudy Claspill
Posts: 3,481
Registered: ‎09-09-2010
Message 2 of 3 (140 Views)

Re: Restoring System Field in Test Cases

Try changing the code to say "=True"

[If this post solves or helps solve your issue, mark the thread as solved and give KUDOS to the author for their assistance.]

(Opinions expressed in my postings are mine alone, and do not reflect the opinions of my employer.No warranties express or implied for any solution/suggestion posted.)
Please use plain text.
Occasional Contributor
tud0
Posts: 4
Registered: ‎11-30-2012
Message 3 of 3 (121 Views)

Re: Restoring System Field in Test Cases

Unfortunately, even when I set it to 'true' the field still stays hidden. Is there any reason why QC does that?

Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation