Running tests in different locals
I have a project with test scripts which will run in different locals (Ex:US,Germany etc).But few functionalities are there only in US.How can run those test scripts in US only.I want to add conditions for the test scripts depending on the local.I have a project variable for identifying a local I need to use that tun specific test scripts.
Thanks in advance
Or if you don't run your scripts with calls such as those outlined by tristaanogre above, then you'll probably need to modify your tests so that the first line of each one checks the locale (there should be an "e" at the end ;) ) and simply exits if the current locale is not one it's meant to run in.
If (CurrentLocale <> "USA") Then:
---- Exit Test
---- Do the test.
Something along those lines. Simple enough.