| |
GeekInterview.com > Interview Questions > Testing > QA Testing
| Print | |
Question: Replace String Method
Answer: What is meant by Replace String method and the effective scenarios for writing testcases for the same? |
| July 07, 2009 05:46:51 |
#1 |
| sowjanya.h |
Member Since: April 2007 Total Comments: 1 |
RE: Replace String Method |
This method is used to replace a particular string.
Testing scenarios would be:
1. To check whether the source string is replaced by correct destination string or not. 2. Whether the source string can be replaced with some special characters (space,etc) 3. Whether in the replace method if the destination string is not specified or else specified as null, the source string should remain the same. |
| |
Back To Question | |