Forum Discussion

wfjamesk's avatar
wfjamesk
New Contributor
3 years ago

On startup

I would like to run commands on startup of TestComplete to download latest versions of custom cross project libraries and merge namemapping files from a common repository.  Is there an "on load/startup" script function that I can extend or replace to use for this?

  • AlexKaras's avatar
    AlexKaras
    Champion Level 3

    Hi,

     

    No, test source code change is not possible during test execution.

    Same rule as with regular development applies here: you should get/merge sources first (using either command line or any other tools) and initiate test execution after that. Even if you change source code during test execution, TestComplete will not notice this.

     

  • write a batch file, execute your "git pulls" or everything you need, and at the final step you launch testcomplete

  • rraghvani's avatar
    rraghvani
    Champion Level 3

    Similar to what TCYKPB has said. I have a PowerShell script that is scheduled to run at a particular time or I can run manually. The script performs a clean-up; fetches the latest TC source files from Team Foundation Server; runs the automation; once complete, automation results are emailed.