Admin
- Login
- Account
- View project
Where Admin and Account are folders, and Login and View project are tests. The first step in the View Project test is the Login test (using Test as Step). When I move View project to another folder (ie. Misc), I am no longer able to run the View project test, which fails on the first step with the following error:
InnerException:
System.IO.FileNotFoundException: Unable to find test 'C:\path\path\path\Admin\Login.tstest'
at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteTestInCurrentContext(String relativeTestPath)
at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)
Do I need to redo the Test as Step steps every time I move a test between folders? Why doesn't the application know where it's been moved to automatically?
Edit: When I re-add my Test as Step, it still returns the error about not being able to find it. My folder structure is actually 3 deep at the point of the View project test, and this only occurred after I moved it into a more nested folder.
15 Answers, 1 is accepted
Hope that helps.
Jonathan
I cannot confirm this behavior. In my testing, moving a parent and child test into folders nested several layers deep never caused the error you mentioned. The Test as Step path was always updated properly.
We'll need more precise reproduction steps to investigate this further.
Anthony
the Telerik team
Test Studio Trainings
After further testing on my end, it looks like it might actually have been due to renaming folders, rather than nesting them. I wasn't able to duplicate it again, but the errors I was getting suggested the tool was looking in the old folder name, not the new one.
I'll keep an eye on it going forward, and let you know if I encounter any more weirdness.
InnerException:
System.IO.FileNotFoundException: Unable to find test 'C:\Program Files (x86)\Telerik\Test Studio Projects\MPL_Project\..\PL 0001A 0909'
at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteTestInCurrentContext(String relativeTestPath)
at ArtOfTest.WebAii.Design.BaseWebAiiTest.ExecuteTest(String relativeTestPath)
at Forms_Selection.Forms_Selection() in C:\Program Files (x86)\Telerik\Test Studio Projects\MPL_Project\Forms\Forms_Selection.tstest.vb:line 80
Any help would be appreciated.
Thanks,
Reddy
I'm not sure what you mean by "The folder also includes a test with a manual step to execute the other tests in the folder". Can you please elaborate more on this? Can you provide us with step by step instructions on how to recreate the issue? A Jing video demonstrating the issue may also help us to better understand what is happening.
Regards,
Plamen
the Telerik team
Vote now
This also made me think of another question about renaming the filename of the data source. Understandably I would have to re-bind at the test file level, but what about individual steps within the test--would those data bindings be lost?
Thanks!
As you can see in this video, I wasn't able to reproduce the problem. Am I doing anything differently? What else do I need to do to reproduce this problem?
On your second question, changing the name of the data source file will not affect individual steps. See this short video for your reference.
Regards,
Plamen
the Telerik team
Vote now
Alan
We can schedule an online screen sharing session and look at the issue directly on your machine. We use GoToMeeting. Please suggest a date and time you are available for this and I'll setup the meeting. Keep in mind that I'm in Sofia, Bulgaria, which is UTC +3:00.
Kind regards,
Plamen
the Telerik team
Vote now
I unfortunately didn't set up a WebEx given our current project cycle timeline. Our workaround at the time was to create a brand new script and copy/paste the steps from the old script into the new empty script. We have not tried this functionality since October. The only setback to our work around is when pasting, all steps are activated even if they were originally deactivated in the script where we copied from. If you would benefit from resolving this specific issue, I encourage you to set up a WebEx with Plamen.
Good luck!
Alan
I am sorry to hear you are also experiencing the issue. Unfortunately we haven't been able to reproduce this on our side. Which version of Test Studio are you currently using? Can you please provide a video demonstrating the exact steps to follow in order to reproduce the issue? Jing is a free and decent screen recorder.
We can also schedule a GoToMeeting and look at the problem on your machine. If you chose this course of action, just let me know your timezone and your availability and I'll setup the meeting. Before the meeting please ensure that you're using the latest version of Test Studio(2012.2.1317), just to be sure that you're not experiencing an issue that is already fixed.
Regards,
Plamen
the Telerik team
Test Studio Trainings
Thank you for contacting Telerik Support.
Since you have already submitted Support Thread regarding the same issue we would like to kindly ask you to refer to it for detailed information.
Thank you!
Regards,
Vera
Progress Telerik