Contributions
Re: How to use extent-report in Ready API tool?
For that you have to write logic to get the test steps and the assertions associated in them.. I dont have the code for that but its not that tough to find it online... I'll share if I have some working code5 years agoPlace ReadyAPI QuestionsReadyAPI Questions3.2KViews0likes4Comments- 5 years agoPlace ReadyAPI QuestionsReadyAPI Questions3.2KViews0likes0Comments
Re: How to use extent-report in Ready API tool?
Heysurendermcard and678 I am trying the same. Will post if it turns out fine... Just on question though any specific reason to get the report at proejct level ? Coz I personally find it easy to maintin in the Suite level. I will get a working solution and update here. If possible please list down what steps does your project have ? Like Groovy SOAP /Rest , JDBC etc...5 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.7KViews0likes5CommentsRe: Need help in placing a script in tear down script.
ThanksJoostDG for your help. But what I was looking is to place a report script in the teardown script using groovy code.I have found it and its working Here is the code : testRunner.testCase.testSuite.project.getTestSuiteByName('Library').getTestCaseByName('Test2').setSetupScript('log.info "34324234"') def script = context.expand( '${#[Library#Test1#te]#script}' ) log.info script testRunner.testCase.testSuite.project.getTestSuiteByName('Library').getTestCaseByName('Test2').setTearDownScript(script)5 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.5KViews1like1CommentNeed help in placing a script in tear down script.
I am generating report for each and every test case. The code for the report is placed in the tear down script. I make frequent changes to the report and its very difficult to change the code every time. So I thought of placing the code in the property and accesssing in the tear down scipt. I am able to get the value from the property but not sure how to run it. Sopa UI is considering it as plain text. Any help to fetch code from property in tear down script and make it run would solve my issue.Solved5 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.5KViews0likes3CommentsRe: How to use extent-report in Ready API tool?
To make it run at a project level , you must change the logic behind getting the report... My understanding is runner.results.each --- > This works only in suit level. So need to store the report params in a temp file and write them to the final report in the project level5 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.7KViews0likes8Comments- 5 years agoPlace ReadyAPI QuestionsReadyAPI Questions3.1KViews0likes7Comments