Forum Discussion
SmartBear_Suppo
Alumni
15 years agoHi!
ok.. try the following:
def defaults = testRunner.testCase.testSuite.project.endpointStrategy.getEndpointDefaults( "<the endpoint>" )
defaults.username = ...
defaults.password = ..
This is from a TestCase setup script but as long as you can get hold of the project you can run this anywhere..
Does that work?
regards!
/Ole
SmartBear Software
ok.. try the following:
def defaults = testRunner.testCase.testSuite.project.endpointStrategy.getEndpointDefaults( "<the endpoint>" )
defaults.username = ...
defaults.password = ..
This is from a TestCase setup script but as long as you can get hold of the project you can run this anywhere..
Does that work?
regards!
/Ole
SmartBear Software