Forum Discussion
Do you really need to do test both application at same time?
then you need to have parallel testing set up as mention below
But need simply test Version1 and 2 both (one afte another)
1) Keep same name for V1 and V2 of the application
2) Keep two versions in different folders.
3) In your project tested app give 2 names for each application and map accordingly.
4) Now you can open selected application using TestedApps.Abacus1.run
https://support.smartbear.com/testcomplete/docs/testing-with/tested-apps/adding.html
Yes, would like to run 2 instances of the same application at the same time. The tested application in question allows for SVN uploads and downloads of projects. But I need to keep this to a single test machine.
Using script coding can handle this by simply passing a variable as argument and use the variable in the process path. The variable will be evaluated at run time and that will change the process path at runtime to refer to the desired process. But seems like when it comes to keyword testing i can't seem to specify a variable into the object path for it to evaluate at run time.
Is there a better way of handling this for keyword testing?
- tristaanogre8 years agoEsteemed Contributor
"Process" is a method on the Sys Object. Two steps in your Keyword test
1) Use Call Object Method to call the Process method on the Sys object. You can then pass variables into the parameters of that method for the process name and/or the process index2) Set Variable Value to Last Operation Result to take the result of the Process method and assign it to a variable you can use for other things.
See screenshot:
Related Content
- 2 years agopstachelek
- 3 years agoOfer-Yaniv