Ask a Question

On startup

wfjamesk
Visitor

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?

4 REPLIES 4
Marsha_R
Community Hero

@AlexKaras Have you done this?


Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
AlexKaras
Community Hero

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.

 

Regards,
  /Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
TCYKPB
Contributor

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

rraghvani
Trusted Contributor

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.

 

cancel
Showing results for 
Search instead for 
Did you mean: