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 DiscussionsDarshan Hiranandani : Exploring ReadyAPI Integration with Azure GitHow to hit update service multiple time with different data set.How do I prevent a file path from being altered when being parsed by JsonSlurper in Groovy Script?SolvedMultipart requests getting blocked by the Azure WAF 200003Parameterising JDBC Connection Settings..Can you do it?