Questions tagged [logs]

Log file contains information about events in a computer program, usually with a certain scope, in order to provide an audit trail that can be used to understand the activity of the system and to diagnose problems.

Filter by
Sorted by
Tagged with
-2 votes
1 answer
13 views

log steps of the tests in Ide Intelij

Is it possible to log steps of the tests that are being executed in the Intelij console??? could someone let me know? some command or plugin that I must install to visualize the steps while I run my ...
user avatar
0 votes
0 answers
35 views

Is it possible to make JMeter GUI Log Viewer wrap log lines when they don't fit the Log Viewer area?

JMeter GUI Log Viewer (Options -> Log Viewer) area can be resized. But even when I extend it to the limit set by my screen size and Test Plan tree minimum size I still can't read long lines ...
user avatar
0 votes
0 answers
57 views

Should my logger test its Readers for byte order marks / char encodings, or is this considered clutter?

I'd prefer to always check a newly opened Reader for a "byte order mark." If given, log that as the char-encoding or log "char-encoding assumed utf8." If there is a BOM I might be ...
user avatar
  • 1
0 votes
3 answers
388 views

How to log testing results to xlsx (Excel) file with Selenium WebDriver?

I have a certain test automation script written in Java with Selenium WebDriver. Currently, I log the testing results to the console and manually copy them to the required document. Is there a way I ...
user avatar
  • 562
6 votes
3 answers
267 views

Telemetry for feature health

Not sure how opinion based my question is, but when you have a released (client facing) feature, how are you evaluating with telemetry if it's healthy? By healthy I mean users can interact with it (it'...
user avatar
2 votes
3 answers
522 views

Logging before or after an action?

I am developing web test scripts with Selenium WebDriver + Java, following the POM design pattern, and using Log4j2 for logging purposes. Currently, my page methods are set up like so: public void ...
user avatar
  • 63
0 votes
1 answer
3k views

How to read logcat continuously and write into the internal storage file? [closed]

Reading logcat continuously and write into the internal storage for this i tried the below code. public class LogCatTask extends AsyncTask<Void, String, Void> { public AtomicBoolean run = ...
user avatar
  • 101
2 votes
0 answers
59 views

Is it possible to have different logger paths per cucumber features or scenarios?

So I'm using selenium with cucumber and right now and run my tests sequentially, at the end of the execution I collect the log and the prints. My question is, once I start executing them in parallel, ...
user avatar
1 vote
0 answers
231 views

how to recover stepName and exception from selenium results in order to fill Log(LogStatus, StepName, Exception); ExtentReports Selenium with C#

how to recover stepName and exception from selenium results in order to fill Log(LogStatus, StepName, Exception) with C# I'm working with ExtentReports 2.41.0, and I use Selenium tool.
user avatar
1 vote
1 answer
1k views

pytest selenium output flooded with debug logs

What's Happening I'm writing acceptance tests with selenium-python and pytest on python 2.7. Whenever a test fails the CLI output is flooded with debug output under ---captured log call--- for every ...
user avatar
1 vote
0 answers
460 views

Jenkins Warnings plugin: excluding messages [closed]

We have installed and enabled Jenkins' Warnings Plugin and, we are using it's Maven parser to detect warnings in the task execution log. This plugin has a set of advanced options that are supposed to ...
user avatar
  • 269
0 votes
1 answer
335 views

How to auto scroll Appium Server Console log at bottom

Problem : I used to view/analyze Appium server Console logs during any test cases execution. But the problem is Appium server console always Auto scroll to top which result hiding latest logs. I have ...
user avatar
15 votes
9 answers
3k views

Fix All Warnings And Errors: what is the history of this code quality tactic?

Fix all warnings and errors. Do not tolerate any error messages in your application logs but fix them as soon as they appear. I first read a similar passage perhaps in 1999. Since then I have ...
user avatar
2 votes
2 answers
4k views

How to get iOS App crash logs from Windows machine [closed]

I am working as a manual tester from past 2 years(mostly worked on web applications) in one of the software testing company and now I have just started functional testing on mobile devices. My App on ...
user avatar
  • 650
1 vote
2 answers
136 views

How do I capture some portion of logs from a log file?

Basically my requirement/need is to capture some snippet of the logs from a log file (or in other words parse log file)and then check if that portion is a valid JSON also. Any pointers?
user avatar
  • 173
1 vote
0 answers
314 views

Selenium EventFiringWebDriver in page object model and refactored

I'm struggling with this one, how to implement EventFiringWebDriver (e_driver) without having a lot of repetitive code. As I'm understanding it, in order to capture finding elements and acting on ...
user avatar
4 votes
1 answer
1k views

Java + Selenium + log4j: How to write generic function for Logging in pagefactory? Possible?

I have written a selenium framework using page object design pattern. To make it better I am also using PageFactory. Example: BasePage.java @FindBy(xpath= FinalLocators.userName) WebElement uname; @...
user avatar
  • 687
2 votes
2 answers
3k views

Logging every action with custom "debug" method. Good idea?

I'm creating my first full framework using Selenium and TestNG and recently implemented the ability to have logging enabled which will track every action (before and after). public class CustomLogs { ...
user avatar
0 votes
1 answer
5k views

Logging in Selenium Webdriver using Log4net [duplicate]

I am using log4net for creating execution logs of test cases which are created and being executed using Selenium Webdriver in C#. I was able to implement the logging functionality but I am facing an ...
user avatar
  • 4,510
8 votes
8 answers
2k views

Raising unreproducible bugs

The system I'm working on has error logs which show various types of visible (front end user gets an error message) and none visible errors (missing image file etc). Some of these errors are ...
user avatar
1 vote
1 answer
109 views

Help need on writing use case for a enhanced logging implementation

I am writing a functional design for enhancing our existing application logging. Our Core application is built on C and we have a integration layer on top of that to talk with other third party ...
user avatar
12 votes
7 answers
3k views

How to deal with automated test cases that always fail?

I'm facing a lot of automated GUI tests that fail one or more verifications during their run. All the failings points have been reported in our tracking system and they are known issues but get "...
user avatar
10 votes
5 answers
6k views

How common is testing based on log files analysis?

Here is a document that outlines challenges and solutions of testing of Mars Science Laboratory. I found the approach of log files analysis unexpected but quite beneficial on many levels. It seems to ...
user avatar
9 votes
7 answers
1k views

Good Grep Tools for Windows

We're looking for a Windows based tool to help us grep our apache & JBoss logs. We have access to the unix boxes & are generally comfortable with the grep command, but because we don't use it ...
user avatar
  • 806
5 votes
2 answers
427 views

Can I (in Eclipse/java) automate the logging of all enters and leaves into or out of all functions, including library ones?

While comparing the run of my wizard and a similar standard one, I have to check all entrances into all functions for both cases. Is there some tool that can automate the process? I can't do it by ...
user avatar
  • 153
3 votes
2 answers
136 views

Anybody know of any tools for tailing a users path through the logs please?

Users of our websites normally come to us via other web based applications our company provides. All these applications are on different servers so we normally end up tailing several logs on different ...
user avatar
  • 806