Overture Search the Web.
Type it and go!
 
 
 
 

4Test Tips - Comments

Comments have new control flow behavior with QA Partner 4.2

Beginning with QA Partner 4.2, the indention level of comments is interpreted to begin or end blocks of test script code just like executable statements.  This is a new behavior that can break your previous test scripts.  Control statements such as 'if', 'for', or 'while' used to ignore comments that followed while determining the block of statements to be executed.  Now the indentation level of any comments that follow also specify statement blocks.

If your test scripts need to run in both the pre-4.2 and after environments, you will need to be extra careful with the syntax.
4Test Solution - Review your test scripts for comments that are "outdented".  A QA Partner test script that examines other test script files in a directory (and its sub-directories) is available.  It identifies all statements that will act differently due to this change.  Each one is listed as a hot-link in the results file.  A "FIX" option is provided to have the script automatically indent those statements to maintain pre-4.2 behavior. (get script here)

 

 

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