![]() |
| |||||||
Testing Anywhere Post messages and questions related to Testing Anywhere here. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
|
Hi, I need to test different versions of the same application that are installed in different folders, eg: C:\Program Files\ApplicationBeta C:\Program Files\ApplicationTest C:\Program Files\ApplicationRelease Instead of making three copies of every test with a different path to launch the applications, what is the BEST way to have only one copy of each test, but be able to change which version of the application is run / tested? Additionally, we run Test Suites called from another program using the /u command. Thanks. Last edited by KMuller; 08-22-2011 at 05:42 PM. |
| |||
|
How will that make Testing Anywhere launch a specific version of the application I want to test? Say I have 50 tests, and the first line in each test is to launch the application (say C:\Program Files\ApplicationBeta\appBeta.exe). Today I want to test appBeta.exe. But in 20 minutes time I want to run the same tests on C:\Program Files\ApplicationRelease\appRelease.exe Same application, just a different version, in a different location. Rather than have to create a copy of the tests and change the path to the application (meaning if I had 50 tests to begin with, and 3 version of the application, I would now have 150 tests), I want to (probably) be able to pass a variable to the test specifying which version to launch... A global variable (other than the clipboard) would be easy but those don't exist... |
| |||
|
Hello KMuller, You can create a new variable by selecting "read from text file" type. It will act as a global variable. In the text file you will have to type variablename=path of the file. For example: If you create a variable named TEST in Automation Anywhere, You will have to write in the text file: TEST=<value> Thanks & Regards |
![]() |
| Thread Tools | |
| Display Modes | |
| |