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
0 votes
1 answer
109 views

JMeter: Use Command line sh jmeter -n -t <test JMX file> -l <test log file> run test plan does not end on mac

When I run the test plan in JMeter, it is working fine, but use command line jmeter -n -t <test JMX file> -l <test log file>, the run cannot stop. The number of thread user is "1"...
Angel Campbell's user avatar
0 votes
1 answer
38 views

Want to identify most accurate and effective approach to raise only actual defects automatically in JIRA on test execution failure

Currently the requirement we have is to create defects automatically in JIRA when a test automation script fails. However we are looking for approaches to avoid raising defects if it's an Environment ...
SRM21's user avatar
  • 299
1 vote
1 answer
4k views

Log4J2 is not printing message from Log.info()

While writing the below code, no message is being printed on the console for logger.debug(), and logger.info() methods. package log4j2.test; import org.apache.logging.log4j.Logger; import org.apache....
Ketan Patoliya's user avatar
-2 votes
1 answer
16 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 ...
Marcelo's user avatar
0 votes
3 answers
929 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 ...
Seeker001's user avatar
  • 572
6 votes
3 answers
270 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'...
Dániel Nagy's user avatar
2 votes
3 answers
592 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 ...
A. K's user avatar
  • 63
0 votes
1 answer
5k 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 = ...
Rajesh's user avatar
  • 101
2 votes
0 answers
62 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, ...
Rodolfo Damiani Albuquerque's user avatar
1 vote
0 answers
241 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.
Mohamed Amine Merzouk's 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 ...
KareemElashmawy's user avatar
1 vote
0 answers
511 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 ...
gvasquez's user avatar
  • 269
0 votes
1 answer
363 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 ...
zishan paya's 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 ...
Noah Sussman's user avatar
2 votes
2 answers
5k 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 ...
Anand's user avatar
  • 763
1 vote
2 answers
148 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?
R11G's user avatar
  • 173
1 vote
0 answers
329 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 ...
Dan Fanelli's 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; @...
paul's user avatar
  • 697
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 { ...
Dan Fanelli's 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 ...
Dhiman's user avatar
  • 4,580
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 ...
Vincent Brazil's user avatar
1 vote
1 answer
110 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 ...
alphadom03's 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 "...
Alessandro Da Rugna's user avatar
10 votes
5 answers
7k 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 ...
Yuriy Zubarev's 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 ...
DuncN's user avatar
  • 806
5 votes
2 answers
440 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 ...
Gangnus's user avatar
  • 153
3 votes
2 answers
139 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 ...
DuncN's user avatar
  • 806