I had to save some of my scenarios with a different name to follow a certain naming convention. I want to delete the scenarios with the old names. But before I do so, I want to find all the instances in my scenarios where I call on the old scenario name so I can update the Play Script action first. Is there a way for me to search my project to find all scenarios that contain the Play Script action calling on the old scenario?
I don’t believe ScenarioBuilder has this kind of search functionality, but it would be nice to have. Perhaps you can submit a feature request if my suggestion does not meet your need.
I’ve found that using the Find in Files function in Notepad++ works best for me to do this. First, find the directory where your scenarios are saved. To quickly do this, in ScenarioBuilder, down in the bottom left corner, there is a link for Active Project. Double click on that link and it will open your project folder in File Explorer. You will see a scenarios folder. Open that folder, then select and copy the path to that folder.
Next, open Notepad++. Click on Search > Find in Files. Put the old scenario name in the “Find what” field. Paste the path to the scenario folder into the “Directory” field. Then click “Find All”.
The search results will provide you with every scenario file that contains the old scenario name in it. You can then open those scenarios in ScenarioBuilder and update the play script actions.
@70stephanie This worked great for me. Thank you!