cancel
Showing results for 
Search instead for 
Did you mean: 

Running Tests suite on changing path of testedapps using Jenkins

Occasional Contributor

Running Tests suite on changing path of testedapps using Jenkins

 

Hi,

 

I have a Jenkins project called SmokeTest which will start running when another upstream project outputs a successful build.  The build output is in the form of a zip file, which contains an execuatbale program (TestedApp). This zip file is copied over from the project to my test slace machine workspace.  I want to run the TestCompelte test suite on this testedApp each time the build is successfull. The output zip file each time has the build number incremented with each build, so for one build it is "App12" next build it will be called "App13". 

 

In my TestCompelte project I have to specify the path to the Testedapp,

 

1. how do i overcome this hardcoding and make it run on each new build despite the changes in filename? 

2. How do i unzip the file using vb script. 

2 REPLIES
Community Hero

Re: Running Tests suite on changing path of testedapps using Jenkins

If the build file is the only one in your directory, then you can use a wildcard to find it.  

 

There are good examples of the unzip process here:

https://community.smartbear.com/t5/TestComplete-General-Discussions/How-to-extract-the-zip-files-pre...

Occasional Contributor

Re: Running Tests suite on changing path of testedapps using Jenkins

Thanks Marsha_R,

 

how would the wildcard find method  be implmented specifically? 

Share Your Stories
Read Latest News
Top Kudoed Authors