Double-Monitor and Logging ...
Hello, I work with two monitors and after running Keywordtests the pictures in the log are showing the secound (for testing unused) monitor. It´s not necessary to make a picture of both screens and I think nobody uses two screens for testing. So pleasechange the process of screenshot making limited to one screen only or make it chooseable from which screen pictures are been taken. Attached Screenshot is showing my secound (blank) screen on the left side.5.1KViews3likes3CommentsReadyAPI Runner on Jenkins writes logs in the home directory how do I clean up?
We use a ReadyAPI Runner on our Jenkins slave and we have seen that the runner writes his own log for every Job that it running. The log is located in the <home directory>/.readyapi directory, where we have a reduced space to write something. After a while the node will be unusable because the logfiles will exceed the space available. In the documentation I did not find an option to specify not to write logs there or a different location. How can I tell the runner not to write logs or write them elsewhere? I'm running on linux, the used readyapi version is at 2.6.0 at the moment.Solved2.9KViews0likes7CommentsMessage posted to wrong log folder
Hi, I'm completely clueless what this strange behavior is posted by: I append a log folder to the one on the top of the folder stack, but TC only posts entries to this appended folder only when explicitly specifying its ID, otherwise it posts to the top level. Here's the code producing the issue: function ReadGlobalConfig() { DumpCommandLineParams(); var logId; Log.PushLogFolder(GetInfrastructuralLogID()); logId = Log.AppendFolder("Reading project suite configuration settings"); // Method 1 ProjectSuite.Variables.BaseTestDataPath = GetSetting("Environment", "BaseTestDataPath", ProjectSuite.Variables.BaseTestDataPath); Log.Message("Base path for master copies of test data: " + ProjectSuite.Variables.BaseTestDataPath, null, pmLowest); // Method 2 ProjectSuite.Variables.BaseTempPath = GetSetting("Environment", "BaseTempPath", ProjectSuite.Variables.BaseTempPath); Log.Message("Temporary folder base path: " + ProjectSuite.Variables.BaseTempPath, "", pmLowest, null, null, logId); // Method 1 ProjectSuite.Variables.BaseResultsPath = GetSetting("Environment", "BaseResultsPath", ProjectSuite.Variables.BaseResultsPath); Log.Message("Base path of results: " + ProjectSuite.Variables.BaseResultsPath, null, pmLowest); Log.PopLogFolder(); Log.PopLogFolder(); // Infra log } I maintain two top-level log folders, one for events occured during the core steps of the tests, and an infrastructural log for log entries which are likely coupled with test configuration or errors. I also use this infrastructural log folder to document command-line parameters and configuration settings. The method in the sample above: Pushes the infrastructural log to the top of the folder stack. The method GetInfrastructuralLogID() returns the ID of the infrastructural log golder. Appends a folder for the subsequent messages. Logs messages using two different methods, for testing. Pops the folder appended in step 2. Pops the folder pushed to top in step 1. Now the weird result is that the entry posted using Method 2 appears in the correct subfolder appended. But if I do not specify the log folder ID, the entries are posted to the topmost level folder of the entire test run (that is, out of the complete infra log folder), as trying to show here: + Test Log - Entry + Subfolder - Enntry + Infrastructural log - Entry + Reading project suite configuration settings - The second entry posted using method 2 - The first entry posted using method 1 - The third entry posted using method 1 I've never faced such strange situation, but I miss something trivial. Do you have any idea?Solved2.8KViews0likes9CommentsHow to enable custom log for SOAP UI for each run
Hi , I enabled Http Logging by adding the following to soapui-log4j.xml : <appender name="FILE-HTTP" class="org.apache.log4j.RollingFileAppender"> <errorHandler class="org.apache.log4j.helpers.OnlyOnceErrorHandler"/> <param name="File" value="${user.home}/.readyapi/logs/ready-http.log"/> <param name="Threshold" value="DEBUG"/> <param name="Append" value="true"/> <param name="MaxFileSize" value="5000KB"/> <param name="MaxBackupIndex" value="50"/> <layout class="org.apache.log4j.PatternLayout"> <param name="ConversionPattern" value="%d %-5p [%c{1}] %m%n"/> </layout> </appender> <logger name="org.apache.http.wire"> <level value="DEBUG"/> <appender-ref ref="FILE-HTTP"/> </logger> This works when I run the test and logs all http information to the log at the location. Issue : 1) This custom log now disables the http log in the SOAP UI Console 2) The log does not get created at the SOAP UI project folder , only at the given path. What is the config change required to get the custom log at the project root level when run from the test runner?2.6KViews1like0CommentsVirt receiving but not sending, transaction log is empty
Hi. I have a virt that, when called directly from a project in Ready API, works fine. It receives the message, sends a response, and both of these are shown in the transaction log. But when it's called from a proxyin a (local) WSO2 ESB installation, it doesn't work. The counter for 'received' message goes up one, but the 'sent' counter doesn't change, and I don't see new entries in the transaction log for the virt. Any ideas on how I could debug this?I would like to see what is being received exactly but I can only see the counter going up.2.4KViews0likes2CommentsMake Screenshot & compare
Hello, i want to make a screenshot (post to Log) while the keywordtest is running and then this screenshot should be compared withanother picture from the actual viewving. How can i set a folder vaariable for the current log directory at the image comparsion checkpoint? would be great if you can help.Solved2.3KViews0likes1CommentLog.SaveResultsAs() do not work for the LogFormat lsJUnit
Hi everyone, I would like to export JUnit report to see my summary reports in Jenkins. Of course I read the Log.SaveResultsAs() function documentation, Viewing TestComplete Test Results in Jenkins and also Exporting Test Results , and the related documentations. I want to export my test summary from my scripts using Log.SaveResultsAs("C:\\Temporary jenkins workspace with spaces\\exports\\results.xml", lsJUnit, True, lesFull) But it always returns "False", and the summary report is not exported. However, I am not doing something very complicated, and I have just called a function as it is given in the documentation as an example. I also export logs with "lsZip" and "lsPackedHTML log formats with the same call, just adjusting the file name (and extension of course), and in that cases it works correctly. Can you confirm if it is realy a bug of the Log.SaveResultsAs() function or if there are some specific things to do that are not written in the documentation please ? PS: Why do I not use the /ExportSummary command line argument ? Because when you configure a Jenkins job to publish JUnit report you have to give a relative path to the workspace. Whereas the /ExportSummary argument expects an absolute path, the Jenkins workspace depends on the job name, so we can not use the command line argument because it is to heavy to edit the command line argument value each time we edit the job name (we use the job name as a test run title, so we edit it sometimes). Moreover we have one job per PJS, deployed from a job template, so the commande line argument value has to be set for each job. And in the /ExportSummary command line argument value we can not use environment variables, like the %WORKSPACE% variable which holds the running Jenkins.Solved2KViews0likes6CommentsSummary Report with aqTestCase and TestComplete 12
Has anyone tried to create a Summary Report via aqTestCase.Begin() / .End() in TestComplete 12? I saw, there is a option to choose TestComplete 12 in the documentation , but then it says "Topic not found". Thank you for your help.Solved1.7KViews0likes3Comments