cancel
Showing results for 
Search instead for 
Did you mean: 

Running Tests suite on changing path of testedapps using Jenkins

Highlighted
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 2
Highlighted
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...

Highlighted
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? 

New Here?
Join us and watch the welcome video:
Announcements
Join TechCorner Challenge!
Want a fun and easy way to learn TestComplete? Try solving weekly TechCorner challenges and get into the Leaderboard!

Challenge Status

Changing options from outside of TestComplete

Participate!

How to execute remote test and obtain results via Test Runner REST API

Participate!

Comparing content of HTML table with Excel file data

Participate!

Compare HTML table with Excel file and correct data in the file

Participate!
Top Kudoed Authors