Contributions
Re: Tags not working via cmd line after updating to readyAPI 2.6.0
Hi Vijayk1 Thank you for your help - sorry I didn't answer you before. I succeeded in executing - after installing the maintenance build of 2.6.0 (I was not aware of the maintenance build, so thank you for pointing me in that direction)5 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.6KViews1like0CommentsRe: Tags not working via cmd line after updating to readyAPI 2.6.0
Hi vijayk1 Did you found out a solution? I'm facing the same problem - we upgraded from ReadyAPI 2.4 (where tags worked) - and now, in ReadyAPI 2.6, tags are not working :( Best regards magi-i-luften6 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.7KViews0likes2CommentsRe: How to get actual value for assertion in script - okay to get expected value with getExpectedContent
Hi Radford Thank you- this is just a fine solution. Now I'll just skip my own "expected"versus"actual" value, and just go for the full message. Best regards Jens7 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.5KViews0likes0CommentsHow to get actual value for assertion in script - okay to get expected value with getExpectedContent
Hi forum I'm facing a problem and would like to figure out if my approach is wrong. Functionality: In ReadyAPI I have a groovy-teststep to control all of my REST webservice-calls. My webservice has several assertions that is added manually to the REST teststep. I'd like to execute the REST teststep from within the groovy-script, and when the request has been executed, I'd like to checkthe response. Was the call failing? If so, check which assertion went wrong, and report the error with expected value and actual value for current assertion. What do I have to write instead of "??????????" to get the actualvalue from the response that my assertion is comparingwith? And I would like to keep in it a dynamically way - sofuture assertions will be handled as well. Example: def thisTestcase = testRunner.testCase.testSuite.testCases["myTestCase"]; //Call the "REST myService" - script def tStepCallService = thisTestcase.testSteps["REST myService"]; def resultStepCallService = tStepCallService.run(testRunner, context); if (resultStepCallService.getStatus() != AssertionStatus.VALID){ def list = tStepCallService.getAssertionList(); for(assertion in list) { if (assertion.status != AssertionStatus.VALID){ def iExpected = assertion.getExpectedContent(); def assertionExpectedValue = context.expand(iExpected); def assertionActualValue = ??????????; log.error("Assertion-error: '" + assertion.name + "', Status: '" + assertion.status + "'. Expected value: '" + assertionExpectedValue + "'"); } } } Best regards JensSolved7 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.6KViews0likes2CommentsRe: How to fix Unable to create a user session using jenkins in TestComplete
Hi Kavan Thank you for answering me - I appreciate any kind for help :o) I think it's a rather"simple" setup I have: Windows Server 12 R2 - my Jenkins-master. On the server I also installed TestExecute 12. I don't have any nodes but the master itself - shouldn't it be possible to run the TestComplete job insuch aconstellation? Attachedyou find my Jenkins-settings fortheTestComplete-job. As you can see on the settings, I use a service-account for the Test Runner - this user isdomain-user and member of the administrator-group. The Jenkins-service on the server is markedwith "Allow service to interact with desktop". What have I done wrong? Best regards Jens4.4KViews0likes2CommentsRe: How to fix Unable to create a user session using jenkins in TestComplete
Hi Any solution to this issue? I'm also facing the exactly same problem. I'm ableto start TestExecute 12 (version: 12.10.602.11) andmanually start my project which usesFirefox 45.0.2- with success. But my job in Jenkins are still giving me the same error: [TestComplete] Test runner exit code: -10 (Unable to create a user session). [TestComplete] [WARNING] Unable to find the log file "1471179.tclogx". [TestComplete] [WARNING] Unable to find the log file "1471179.htmlx". [TestComplete] [WARNING] Unable to find the log file "1471179.mht". [TestComplete] [WARNING] Errors occurred during the test execution. [TestComplete] Marking the build as FAILED. [TestComplete] [WARNING] Unable to publish test results (xml data is empty). I'm using Jenkins version 2.32.1 and TestComplete support plug-in version 1.6. Anybody help out there? Best regards Jens4.4KViews0likes4Comments