Contributions
Re: how to fetch all the TC name and test step names that have db query?
Have a requirement to update the db query that are used in the groovy scripts. Hence want list the test steps of specifc groovy scripts that contains db query. tried using contains function but unable to read the text written in groovy.3.4KViews0likes5Commentshow to fetch all the TC name and test step names that have db query?
In a soapu ui project suite, I want to fetch the TC name and test step names containing the db scipts. I am using the code below, getting an issue at the line i.e underlined , tried few things but nothing worked. If someone can help. testRunner.testCase.testSuite.project.getTestSuiteList().each { if(it.name.equalsIgnoreCase("bank")){ it.getTestCaseList().each { for (testSteps in it.testStepList){ if(testSteps instanceof WsdlGroovyScriptTestStep ){ log.info testSteps.name log.info testSteps.getContent() or testSteps.contains("db query") } } } } }Solved3.4KViews0likes7CommentsRe: TestExecute - Disable logging entirely
Were you able to implement this? I am unable to do this for my functional automation project. For negative TC's where i expect 400 response to pass my test case these files are getting genrated . ex: Retail-<Test case name>- <Test Step name>-0-FAILED1.7KViews0likes0CommentsHow to Disable the ok and failed logs text files generated at time of execution
I have created automation framework for functional testing , I want to disable the logs files generated at time of execution ex: Retail-<TC name>-<srepname>1-0-FAILED.txt As I have some negative test cases for which I should receive Request code 400, and this failed files are creating confusion as well as unnecessarily taking space. I want to disable this option. Please suggest783Views0likes1Comment