soapui setup script not executed when test case or test step run from java
Hi, When I try to run an individualtest case or a test step in a test suitefrom Java , The set up script for the test suite is not executed ! Any way to run this setup scrip explicitly ? or any other work around except having individual set upscripts for a test case ?4.3KViews0likes8CommentsAdd or Build HTTP Request TestStep to Test Case through Groovy Script
Hello, I would like to create a new Test Step to an existing Test Case, I would like this to be an HTTP Request type. I've seen and completed examples of creating Groovy Test Steps to an existing Test Case, see below: def project = context.testCase.testSuite.project; def testSuite = project.getTestSuiteByName("Library"); def testCase = testSuite.getTestCaseByName("Modified Transactions"); def newStep = testCase.addTestStep("groovy", "HelloGroovy").setScript("log.info 'Hello'"); However, I would like to add an HTTP Request type and complete the necessary properties, endpoints and request, etc... It looks like this post is discussing somewhat what I want to do, how can I find the definition of all the step types, it only has EMAIL? Any help is most welcome.2.1KViews0likes2CommentsReadyAPI - How to use code in the custom properties of a test step ?
Say we have a test step which actually calls/runs some test case. One of the properties, say ID has a variable value which is set by something else (script, another test step etc.). E.g. like this: ID :${TestCase-GetId#ID}. Can I use code inside the value box/field to alter the value of ID? This will be useful for ad hoc testing or could be used normally in the test. E.g. ID : ${TestCase-GetId#ID}.subString(0, 5). I don't want to create another groovy script for minor changes to property values. I know that we can prepend or append constants to the value easily like this - ID : MyId_${TestCase-GetId#ID}. But, I don't know if we can use code there instead. If we can use code, then are there any limitations (e.g. the code should be 100 characters or less) ? Keywords - script in custom properties editor, code in custom properties editor, alter the value of a custom property, code in the value of a custom property, script in the value of a custom property, code in the custom properties of a test step.Solved1KViews0likes2CommentsAbility to use tab to move within test steps
As a user, I need an easy and accessible way to navigate the screen while creating or editing a test case. Currently, you cannot use tab to move to the next text box when creating or updating a test case. It is also very difficult to click to the next test step without it creating a second step below the step you're working on.Use keyboard TAB to move between test steps
Today when writing test cases in Zepyr Enterprise Test planning there is only the option to use the mouse to move between the test steps. Since it reloads often, this is a very slow process. If the keyboard features like TAB could be user it would be much faster to write a test case. Another improvement would be to display the test step text using the same Font, today there is a mix which gives a bad user experience.