Intelligent Automation & Macro Software  

Go Back   Automation Anywhere, Inc. Forums > Products Zone > Testing Anywhere
Register FAQ Search Today's Posts Mark Forums Read

Testing Anywhere Post messages and questions related to Testing Anywhere here.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-22-2011, 05:07 PM
KMuller KMuller is online now
Member
 
Join Date: Dec 2010
Posts: 91
Default Testing multiple versions of the same application

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.
Reply With Quote
  #2 (permalink)  
Old 08-23-2011, 04:08 PM
forumstaff forumstaff is offline
Senior Member
 
Join Date: Oct 2010
Posts: 521
Default

Hello KMuller,

You can make use of the Loop "each folder in a folder" and "each file in a folder" with the IF condition according to your requirement.

Thanks & Regards
Reply With Quote
  #3 (permalink)  
Old 08-23-2011, 06:02 PM
KMuller KMuller is online now
Member
 
Join Date: Dec 2010
Posts: 91
Default

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...
Reply With Quote
  #4 (permalink)  
Old 08-24-2011, 04:39 PM
forumstaff forumstaff is offline
Senior Member
 
Join Date: Oct 2010
Posts: 521
Default

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
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -7. The time now is 02:55 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.0 ©2007, Crawlability, Inc.
Copyright © 2003-2011 Automation Anywhere, Inc. All rights reserved