dshriver
11 years agoOccasional Contributor
Patching recorded tests
I've got a task that is seemingly very easy but I am confused how to approach it in TC10.
One user has created tests (via recording) and I'm trying to make them transportable by patching them. Basically we can run the tests against various boxes so, at the very least, it needs to be easy to change the domain and run.
So far I've been pestering Customer Support but maybe it would be faster to get tips here.
When I'm in "Project Workspace" looking at the individual tests I can see "Navigate" steps that have URLs in them. So I put in a project variable for the domain, and in the Navigate steps the URL becomes a "Code Expression".
However, when I run I get a lot of "Object Not Found" errors.
At least some of these have the URL with the old domain in them. When I try to change them I'm a bit perplexed because I can only choose "Constant" or "Project Variable" (I'd really like to pick "Code Expression" and then put my variable for the domain name in with the static parts added to it). I don't see how I can fix this.
One user has created tests (via recording) and I'm trying to make them transportable by patching them. Basically we can run the tests against various boxes so, at the very least, it needs to be easy to change the domain and run.
So far I've been pestering Customer Support but maybe it would be faster to get tips here.
When I'm in "Project Workspace" looking at the individual tests I can see "Navigate" steps that have URLs in them. So I put in a project variable for the domain, and in the Navigate steps the URL becomes a "Code Expression".
However, when I run I get a lot of "Object Not Found" errors.
At least some of these have the URL with the old domain in them. When I try to change them I'm a bit perplexed because I can only choose "Constant" or "Project Variable" (I'd really like to pick "Code Expression" and then put my variable for the domain name in with the static parts added to it). I don't see how I can fix this.