joe_2
11 years agoContributor
How do you handle data driven tests with TestExecute
My project runs great when I'm using my primary workstation, but it crashes the first time it gets to a data driven loop when I try to run it with TestExecute on a networked machine.
It can't find the data storages.
I thought making persistent table variables instead of external storages might work... but TC can't seem to do that. The table variable type is not available when creating a persistent variable. (at least in version 9. I haven't updated to 10 yet)
So how do you all handle this? What am I missing here?
It can't find the data storages.
I thought making persistent table variables instead of external storages might work... but TC can't seem to do that. The table variable type is not available when creating a persistent variable. (at least in version 9. I haven't updated to 10 yet)
So how do you all handle this? What am I missing here?
- Joesph,
You can store the database files in the project stores 'files' (http://support.smartbear.com/viewarticle/55088/). Then the path is relative to the project, ie. you can use the same path regardless of the machine the test is running on. See the attached screenshot for how our project stores look.
I am using spreadhseets to store my test data in this manner and it works great. My tests are scripted so I am not sure how to configure it for a keyword test but you can probably do this in an keyword test if you look in the documentation.