Contributions
- 3 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.1KViews0likes1Comment
Script Library
I am trying to create library which contains the reusuable method. I am thinking of two approach 1. Either to have as part of script library file 2. Groovy class within a project. Either way i need to call the script library/groovy class from certain test steps. I started doing it but i am getting an error "Cannot get property 'testCase' on null object". Below is the code: Script Library code: import com.eviware.soapui.model.testsuite.* class Example { def log def context def testRunner def example // Class constructor with same case as Class name def execute() { def writeMe='' //library = testRunner.testCase. def search_TestCase = testRunner.testCase.testSuite("CDSLS-1663 Manage Account Authorities Issue").getTestCaseByName("ACC30") log.info "I am here" + library; } } context.setProperty( "example", new Example( ) ) log.info "Library Context:"+context TestStep File: def example = context.Example example.execute()Solved3 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.1KViews0likes3Comments- 3 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.1KViews0likes0Comments
Re: Reporting
I would double click the tests that have failed and click the Run button. I am sure its possible. I would like to create a report as per the above. Not sure i am missing something but did not find ReadyAPI reports to be very easy to read or something that can shared with seniors3 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.1KViews0likes1CommentRe: Reporting
Hi Rao - Many Thanks for your response. Below is my requirements and challenges i am facing with ReadyAPI OOB reporting. I need a report that summarizes: 1. Project Level - How many suites and status of each from the run 2. Suite Level - How many tests and status of each from the run 3. Test Case Level - How many conditions and status of each from the run What i have noticed is that if run the whole project and if re-run the failure suites or test cases then i am not able to get a holistic picture. A test might have failed due to network glitch and thus when i rerun the test will pass. But the report does not show the entire project as successful. Infact, it shows only this test has passed and other are not run. Even i felt the history is poor with readyapi until clarified otherwise.3 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.1KViews0likes3CommentsReporting
Hi - I am working to write a teardown script to create test report which will contain Project Name Test Suite name & Results Test Case under a test Suite and Result Test Condition for each Test Case and result of each The above will be done for each Test suite. I am trying to do this as an excel report. My question is 1. How to find out List of suites in tear down 2. How to find out each Test Case in tear down. Once i know the above then i think i should be able to progress. Thanks in advace.3 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.1KViews0likes5Comments