July 15, 2011

Time Saver: Using Find and Replace to Change Strings in QA Wizard Pro

Helix ALM
QA Wizard Pro's repository find and replace gives you the ability to change text strings individually or in bulk, which can reduce the time spent on repetitive tasks. For this example, let's assume you're  testing an application named BugReporter. Halfway through testing, the decision is made to change the application name  to IssueReporter. Instead of manually updating scripts, you can use repository find and replace to update all instances of BugReporter at the same time. In the following screenshot, you'll see the current expected value for the About dialog is About BugReporter. [caption id="attachment_9016" align="aligncenter" width="422" caption="About Properties - Original Value"]About Properties - Original Value[/caption] To find and replace values, choose Repository > Find and Replace. Then, select the Repository path you want to search. Enter the value to search for in the Find field. For this example, enter "Bug". Then, enter the replacement value in the Replace field. For this example, enter "Issue". Because you only want to replace text strings, select Limit to properties containing: and enter "Text". [caption id="attachment_9019" align="aligncenter" width="557" caption="Repository Find and Replace"]Repository Find and Replace[/caption] Click Find to display all matching instances. Then, click Replace or Replace All. Notice, the text property in the About window was changed to About IssueReporter. [caption id="attachment_9020" align="aligncenter" width="482" caption="About Properties - Updated Value"]About Properties - Updated Value [/caption] When you need to change strings in text, use repository find and replace to save time and monotony. See 'Finding and replacing property values' in the QA Wizard Pro User Guide for more information.