Recordings copied from one project to another - not found
Posted: Thu Nov 23, 2017 9:28 am
EDIT2 : I got rid of part of the problem (PROB 1, PROB 3 and PROB 4) by manually renaming my folder structure to fit the Solution & Projects (there were some old forum posts that reported success for similar issues) (there were even some folders of deleted projects still standing around) and manually weeding the bin/debug folders for any files that had names like oldProjectnames.* or deletedProjectnames.*.
ToDo: PROB 2
I'm using the trial version 7.1.1 on Win7 64.
My problems: I have created three projects in the same solution, and used one project "ProjA" to build a repository and a trove of Recordings. In that same Project, I made a testcase that worked.
I copied this testcase to the testsuite of another project (same solution).
[PROB 1]: When i run the testcase from ProjB (by pressing the "RUN" -Button in the Testsuite of ProjB) it does the things it would also do in ProjA - building,
showing the licencing nagscreen - then immediately ends the test with a failure report that says
The other problem is that the Testcase in ProjA looks like this:
RecordingA
RecordingB
RecordingC (La\Le\Lu) <- this reflects the folder structure the Recording is in, located in ProjA
RecordingD
The Testcase in ProjB looks like this:
RecordingA (ProjA)
RecordingB (ProjA)
RecordingC (ProjA\La\Le\Lu) <- this reflects the folder structure the Recording is in, located in ProjA
RecordingD (ProjA)
The problem: All recordings are in folder structure la/le or la/le/lu in ProjA, but only Recording C seems to reflect that. The problems may be related.
[PROB 3]: When i delete Recordings A and B from the Testcase in ProjB (so Recording C with its special look is the first) on running it i get another error:
[PROB 4]: The referenced project '..\ttt\ProjA.csproj' does not exist.
This warning is given both when i start the testcase in ProjA (which works) and when i start it in ProjB (which does not work, see above)
Any input on this? I did not upload a snapshot as the problem seems to be independent of the tested application.
Thanks!
EDIT: I attached a recreation of the biggest problem (that the recording from ProjA could not be used in ProjB, after copying the containing testcase to Projb)
ToDo: PROB 2
I'm using the trial version 7.1.1 on Win7 64.
My problems: I have created three projects in the same solution, and used one project "ProjA" to build a repository and a trove of Recordings. In that same Project, I made a testcase that worked.
I copied this testcase to the testsuite of another project (same solution).
[PROB 1]: When i run the testcase from ProjB (by pressing the "RUN" -Button in the Testsuite of ProjB) it does the things it would also do in ProjA - building,
showing the licencing nagscreen - then immediately ends the test with a failure report that says
[PROB 2]:The module 'RecordingA' (with ID {95d6ceba-08e6-46ca-b446-24a4f2ad28fb}) could not be found.
The other problem is that the Testcase in ProjA looks like this:
RecordingA
RecordingB
RecordingC (La\Le\Lu) <- this reflects the folder structure the Recording is in, located in ProjA
RecordingD
The Testcase in ProjB looks like this:
RecordingA (ProjA)
RecordingB (ProjA)
RecordingC (ProjA\La\Le\Lu) <- this reflects the folder structure the Recording is in, located in ProjA
RecordingD (ProjA)
The problem: All recordings are in folder structure la/le or la/le/lu in ProjA, but only Recording C seems to reflect that. The problems may be related.
[PROB 3]: When i delete Recordings A and B from the Testcase in ProjB (so Recording C with its special look is the first) on running it i get another error:
Another breadcrumb: In the Management Console a Warning pops up that i do not understand:Unexpected exception occurred: Ranorex.RanorexException: There are multiple test suite files in the assembly directory. Please specify the test suite by using command line parameters or rename the test suite file to the current assembly name.
bei Ranorex.Core.Testing.TestSuiteRunner.GetTestSuiteXml(Type containerType, String fileName)
bei Ranorex.Core.Testing.TestSuiteRunner.Run(Type containerType, String cmdLineArgs, String testSuiteXml)
bei Ranorex.Core.Testing.TestSuiteRunner.Run(Type containerType, String cmdLineArgs)
bei TestCasesVictorFlash.Program.Main(String[] args) in c:\Users\manda\Documents\Ranorex\RanorexStudio Projects\ttt\TestCasesVictorFlash\Program.cs:Zeile 39.
[PROB 4]: The referenced project '..\ttt\ProjA.csproj' does not exist.
This warning is given both when i start the testcase in ProjA (which works) and when i start it in ProjB (which does not work, see above)
Any input on this? I did not upload a snapshot as the problem seems to be independent of the tested application.
Thanks!
EDIT: I attached a recreation of the biggest problem (that the recording from ProjA could not be used in ProjB, after copying the containing testcase to Projb)