InterviewSolution
| 1. |
Explain String Operation in Tosca Testsuite. |
|
Answer» String operations can be used in Tosca to verify or modify strings through regular expressions. For instance, it can include counting specific characters and words in a statement, replacing a word with another, or checking the format of a number. To perform String operations, you should download and import the AidPack MODULE into your project. Example: For instance, we are searching for the CHARACTER " - ", which should be replaced by the following character " / ". If the OPERATION Global is SELECTED, then "/ " is included wherever " - " occurs. In the following example, the " - ” character in 8-May-2012 is replaced by the " / ”. In the Settings dialog, the modified string should be stored as BufferStringOperation. In the following FIGURE, modified string i.e., 8/May/2012 is stored in setting dialog buffer. |
|