Overture Search the Web.
Type it and go!
 
 
 
 

Self-referencing Method Hangs

This problem is likely to arise the first time someone in your group attempts to overload an existing method. When the test script calls the new method, the method usually performs some new operations and then attempts to call the original method. If this call is not coded properly it will actually call itself, resulting in an endless loop. (It eventually ends when the stack is consumed.)

4Test Solution - Make sure that your calls within the method definition use the appropriate scope resolution operator. To call the previous method use the derived:: scope resolution operator as a prefix to the original method name.

 

 

Send questions or comments about this web site to: webmaster@TestMap.com
Copyright © 1998,2001 Charles B. Hedstrom