mpartykaContributor6 years agoSolvedsimple groovy - how to get project name? I'd like to get the project name (label) using groovy. I can get testCase Name, or Test Suite Name (see below) ... but can't seem to get project name. I must be missing something ? Thanks in adva...Show Moregroovyguy6 years agoMarked as SolutionTry this: def ProjectName= testRunner.testCase.testSuite.project.getName();
groovyguy6 years agoMarked as SolutionTry this: def ProjectName= testRunner.testCase.testSuite.project.getName();
groovyguy6 years agoMarked as SolutionTry this: def ProjectName= testRunner.testCase.testSuite.project.getName();
mpartykaContributor6 years ago.getName(); instead of .getLabel() ... brilliant! Why didn't I think of that! ;) Thanks for your help!
Related ContentSimple script to batch edit multiple groovy scriptsParsing a simple SOAPUI JSON Response in GroovySimple Functional Web TestingSimple DiscriminationGroovy script to open Project
Recent DiscussionsMQTT Receive Creates Own TopicsMQTT Publish Step Ignores Client IDMismatch between response from a CURL request and ReadyAPI responseReading dynamic parameter from resource pathParameterising JDBC Connection Settings..Can you do it?