GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Testing  >  Software Testing
Go To First  |  Previous Question  |  Next Question 
 Software Testing  |  Question 8 of 266    Print  
Generate test cases for replace string method

  
Total Answers and Comments: 3 Last Update: April 06, 2007   
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: Meet Kamal Kaur
 
1. If characters in new string > characaters in previous string, 
none of the characters should get truncated. 
 
2. If characters in new string < characters in previous string, 
junk characters should not be added. 
 
3. Spaces before and after the string should not be deleted. 
 
4. Only the first occurrence of the string should be replaced.

Above answer was rated as good by the following members:
nkamuni_mca
July 24, 2005 11:04:37   #1  
Meet Kamal Kaur        

RE: Generate test cases for replace string method
1. If characters in new string > characaters in previous string
none of the characters should get truncated.

2. If characters in new string < characters in previous string
junk characters should not be added.

3. Spaces before and after the string should not be deleted.

4. Only the first occurrence of the string should be replaced.

 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    
August 05, 2006 03:56:10   #2  
murugan        

RE: Generate test cases for replace string method
would you please tell me what is string method?
 
Is this answer useful? Yes | No
April 06, 2007 07:57:14   #3  
Meet Kamal Kaur        

RE: Generate test cases for replace string method
As the name suggests Replace String method is used to replace a string in any document/file etc. e.g. Replace function in MS-Word application.
 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape