How to make an autotest running from different links?
How to make an autotest running from different links?
Good day. We are just studying the trial version of Ranorex. We have several test environments that run from different links. The sequence of actions is the same for all environments. How to make sure that the test is not overwritten on each environment, but so that the autotest runs on each environment? Thank you
Re: How to make an autotest running from different links?
Hi,
I'm afraid, I'm not quite sure what you mean with...
"How to make sure that the test is not overwritten on each environment, but so that the autotest runs on each environment?"
If the test is the same, so what exactly you mean by different environment? Different URL, or different machine or what exactly?
If you ant to run the same test with different URLs, then you must parametrize the OpenBrowser action with variable and simply pass the correct URL for given environment. Ideally, you should do it via data connector, or vie Global Parameter. You may also need to update DOM element in repository, so it will work with different URLs.
Please share as much details as you can, even with some screenshots. Otherwise, it's hard to tell what you should exactly do.
I'm afraid, I'm not quite sure what you mean with...
"How to make sure that the test is not overwritten on each environment, but so that the autotest runs on each environment?"
If the test is the same, so what exactly you mean by different environment? Different URL, or different machine or what exactly?
If you ant to run the same test with different URLs, then you must parametrize the OpenBrowser action with variable and simply pass the correct URL for given environment. Ideally, you should do it via data connector, or vie Global Parameter. You may also need to update DOM element in repository, so it will work with different URLs.
Please share as much details as you can, even with some screenshots. Otherwise, it's hard to tell what you should exactly do.
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration