Hi
In our project, our system has multiple sets of environmental addresses.
I need to execute my test case at a different environment address.
I use profiles to make itļ¼but failed.
Iām looking forward to someone helping me, thank you very much.
you can handle this in multiple ways. what info are you looking for?
I donāt see what is your problem, what you are asking to us.
More information, please.
If you have a variable that is used in all environments, then put that variable in the ādefaultā profile. If the variable does not change in any other environment, then that is the only placement you need. As an example, since I am the Tester, I have my user id, āgTestIdā, only in the ādefaultā profile and I donāt need to overwrite it in any other profile.
Edit: All variables that will be initialized with only an empty value, or 0, are only in the ādefaultā profile.
Those variables that need different values for an environment, then duplicate the variables in those profiles giving the variable the appropriate value for each environment. For instance, I need several different URLs, one for each of my environments, so I have the same variable, āgSiteUrlā, in each of my other profilesāStage, Test, Devāgiving each profile a different value.
Edit: All variables that need to be initialized with different values are duplicated in the other profiles.
I may have 60 variables in the ādefaultā profile and only 10 in my other ones that overwrite the variableās value of the ādefaultā profile.