07-15-2008, 04:09 PM
Problem is QC overrides Tools > options > Run mode setting of QTP at the time of execution.
there are 2 solutions,
1. Either you put waitproperty statement for the object to be visible and then proceed
2. or there is generate script button, which will generate a txt or vb or qfl file. which you can associate with library files so that QC will use the settings which you have set explicitly. In one of my posts, ankur has given solution for this problem using library files. That post is in "Other" category.
there are 2 solutions,
1. Either you put waitproperty statement for the object to be visible and then proceed
2. or there is generate script button, which will generate a txt or vb or qfl file. which you can associate with library files so that QC will use the settings which you have set explicitly. In one of my posts, ankur has given solution for this problem using library files. That post is in "Other" category.