For some reason Studio won’t let me create a test case from a workflow and put it in the Tests folder as I create it. It forces me to create it and then manually move it over. This is a PITA, and seems like an easy fix.
Yes, of course I did. But I get an error – a red exclamation point, and the message “Workflow has to be created in a subfolder of the project directory”. You must create it in place, and then move it manually.
Again, I just want to create it in the \Tests subfolder. This seems like a simple fix.
as per error looks like you are using or selecting a folder which is outside the current project folder
looks like you are creating outside in a different project or outside project
because i did create is a different folder but within same project
or the case might be that because you are using onedrive as location it might be considering as outside prohect folder…can check by creating a project in a local folder with no onedrive
cheers
Hi @Terry_Marr,
I am able to create the same under Tests folder, please see below:
And below after test case is created under Tests:
Regards
Sonali
I am able to reproduce the error you are getting:
Here’s how I did it:
- I am in a project A.
- I right clicked on a workflow in project A and select Create test case.
- Then under the location for that, I provided name of another project B/tests folder
- And the error showed.
I think you might be doing the same thing.
Could you please check if the project->tests folder you are providing under location is the same where you are trying to create a test case?
Regards
Sonali
Yes, I want to be able to consolidate all tests under a /Tests subfolder up at the project level. so… ProjectName/Tests. This is the way REFramework has organized their tests. Why can’t I do this easily?
Please read my above post(linking it here as well again). I think while selecting a location, you are by mistake selecting test folder of another project instead of the one you are currently in and trying to create your test case in.
That’s why error is popping up for you.
Regards
Sonali