tjvelkofOccasional Visitor3 years agoEnvironment-specific assertions I make use of XPath assertions. Is it possible to create assertions whose expected values differ, based on the environment in which the test is run?
groovyguyCommunity Hero3 years agoIf you set up a Project level custom property, that will have a per-Environment value. If you then use a property expansion to that property as your XPath assertion's expected value, that should work. You can read more here.
Recent DiscussionsRemove Cookie headerProper Way of Creating API Interface Using ScriptSave TestCase - keyboard shortcut command
Related ContentEnvironment Specific Configuration/VariablesDisable specific testcases in a particular EnvironmentMQTT - how connect using environment specific URL