Replace String Method

What is meant by Replace String method and the effective scenarios for writing testcases for the same?

Questions by SUSHALL   answers by SUSHALL

Showing Answers 1 - 6 of 6 Answers

sowjanya.h

  • Jul 15th, 2009
 

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.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions