Join 34,000+ subscribers and receive articles from our blog about software quality, testing, QA and security.

Custom UI Script read from external file?

I have a custom UI script used to create a button to trigger automation within the test run screen. I want the ability to hide this button for specific projects, I do not want to hardcode within the script itself a list of project ID’s that can show this. My idea was that i hold a list of Project ID’s that are automation enabled projects and then in turn read from this file from the UI script to grab the list, is this something anyone else has done or perhaps have any other ideas how I can implement this?