I have a drop down box that shows the firmware that my unit under test has loaded on it. Each week the revision level of this firmware will increase by one, so I want to create a test case that will go in and delete the previous weeks firmware image prior to loading the new firmware. Here is the format of the firmware:
NV6310A-A2-04-07-E1.biz (Primary)
Ideally I would like to look for the "Primary" label and delete the fimware that has that criteria. I will settle for deleting a firmware image that has the beginning text of "NV6310A".
Any suggestions would be appreciated.