Ask a Question

How to provide the testedapp path where application name changes

SOLVED
naveens33_
Contributor

How to provide the testedapp path where application name changes

I got a situation where my application name changes as per the version provided. How to handle this in TestedApps -> application path 

 

For example, 
C:\Jenkins\workspace\appwindows\AppSetup_2.0.1103-Staging-Debug.exe

C:\Jenkins\workspace\appwindows\AppSetup_2.0.1104-Staging-Debug.exe

 

 

 

1 REPLY 1
npaisley
Staff

Hi @naveens33!

 

Unfortunately we are not able to wildcard these paths for TestedApps. One solution would be to simply have them setup as 2 separate TestedApps, then have a single test that has a Run TestedApp step for each version, that can be enabled/disabled to launch the desired version. 

 

If any of the namemapping for your objects contain the version number of your app, we can also Wildcard (*) this data so that objects will still continue to be found regardless of the version running. 

 

Here are some docs that covers these topics.

Adding Tested Applications;

https://support.smartbear.com/testcomplete/docs/testing-with/tested-apps/adding.htmlv

 

Using Wildcards;

https://support.smartbear.com/testcomplete/docs/reference/misc/using-wildcards.html

 

I hope this helps!

 


Regards,
Nick

Solutions Engineer @ SmartBear
cancel
Showing results for 
Search instead for 
Did you mean: