Contributions
I need to send JSON response from command line in between REST request execution.
My scenario is - I have a RESTrequest with POST method, in between ofREST request execution I need to send a JSON response from command line. I have groovy script torun rest request - "def executionResponse = (testRunner.runTestStep( project.testSuites[testSuiteName.getContents()].testCases[testCaseName.getContents()].testSteps[testStepName.getContents()] ))". Now I need somecode tocall command prompt and execute my command. I have that code as well, but not able to call at same time. Command line code - String cmd = "Some Command to be execute." File currentDirFile = new File("."); log.info("executing emulator command"); String dir = currentDirFile.getAbsolutePath().replace(".", "Utils\\FusionDeviceEmulatorUtility\\"); Runtime rt = Runtime.getRuntime(); Process proc = rt.exec("cmd /c start cmd.exe /K \"cd " + dir + "&& " + cmd + "&& exit"); log.info("Executed command Process - "+proc); Please suggest me howi can call both scenario at same time.8 years agoPlace ReadyAPI QuestionsReadyAPI Questions658Views0likes1CommentRe: Execution is failed "Waiting Until the drop-down box closes"
Hi, I am also facing same drop down issue. I am using TE 10.10 on test machine where i dont have test complete. On devloper machine code in working fine while execute from test complete. This issue only coming on Chrome 33 browser, other than that working perfect on other browser(Firefox, IE).845Views0likes0Comments