Highlighted
Respected Contributor.. Respected Contributor..
Respected Contributor..
323 views

How to make TC_PLAN_SCHEDULING_DATE Read Only

Hello there, 

I am trying to make "Planned Exec Date" field read only inTest Lab --> Execution Grid. 

In Test Lab Module script --> TesSetTests_FieldCanChange Sub, I have added the following code: 

  TestSetTest_Fields.Field("TC_PLAN_SCHEDULING_DATE").IsReadOnly = True 

But still date can be changed and added by writing in the field or choosing from calendar. 

How do I make this field read only?

Thanks.

Sohel

 

0 Likes
4 Replies
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: How to make TC_PLAN_SCHEDULING_DATE Read Only

Try adding the line to TestSetTests_MoveTo.

Jan Czajkowski

[Please do not contact me off line for receiving support. Use the forum!]
Highlighted
Respected Contributor.. Respected Contributor..
Respected Contributor..

Re: How to make TC_PLAN_SCHEDULING_DATE Read Only

Thanks Jan.

0 Likes
Highlighted
Super Contributor.
Super Contributor.

Re: How to make TC_PLAN_SCHEDULING_DATE Read Only

@Jan Czajkowski it seems the lines of the code you mentioned in this post are missing. Can you kindly repost the lines. I need this actually.

 

Please let me know .

0 Likes
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: How to make TC_PLAN_SCHEDULING_DATE Read Only

This is an old thread. I updated your new thread.
Jan Czajkowski

[Please do not contact me off line for receiving support. Use the forum!]
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.