tjvelkofNew Member2 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 Hero2 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 DiscussionsTear down script not executed when project is executed from testEngine.Korean (CJK) characters show as boxes (□) on macOS Apple Silicon in ReadyAPI 4.xReadyAPI 4.1.0 issues with groovy "assert" statementsSolved
Related ContentEnvironment Specific Configuration/VariablesDisable specific testcases in a particular EnvironmentPrompt before executing on a specific environment