Forum Discussion

deena's avatar
deena
Occasional Contributor
14 years ago

can testcomplete re-run one task with different exe file?

Hi,

i have an exe file, named program1.exe. i record a task (task1) with that exe file.

then i found bugs in that exe files, so after i fix the bugs i compile a new exe file named program2.exe.

can i use the older task(task1) with a new exe files (program2.exe)?

2 Replies


  • Hi,





    You can do this if the application's object structure does not change after you fix the bugs. Note that you need to modify the part of the test that starts your application and sets the application process's object, and refer these actions to the new program2 application. If you are using Name Mapping, you need to modify the application's process mapping criteria and change the mapped process's name to "program*" (without quotes). 





    Another way to make your test run with the new .exe is to rename the file back to program1.





    If you face some issues, please describe your scenario in more details.