Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [debugging]

Debugging ranges in complexity from fixing simple errors to performing lengthy and tiresome tasks of data collection, analysis, and scheduling updates.

Filter by
Sorted by
Tagged with
1 vote
3 answers
128 views

Why would StringUtils return the incorrect # of matches of a substring?

I'm using StringUtils from the Apache commons library to check the # of matches of a sub-string within the source code of an HTML page. I have converted the page source using the WebDriver command: ...
60 votes
19 answers
16k views

What is it called when several bugs cancel each other out?

Is there any name for a situation where two bugs cancel each other out and in the result, the software works as expected? For example, suppose software A calculates a value and mistakenly value X is ...
2 votes
0 answers
3k views

Selenium, Python: Write, click next page loop

I'm trying to learn selenium with python and have been trying to automate: Search of the next button on the page. Click on this button. Save each HTML page from the next page in a file. Repeat until ...
2 votes
1 answer
722 views

Selenium Python

I'm new to automation testing and decided to use Tumblr as my subject. I'm having trouble making the options appear, see image attached, and don't know what else to use. [![enter image description ...
2 votes
2 answers
7k views

Selenium Download Keep and Discard Problem (.cer or xml extensions)

I'm Test Automation Engineer, working with Selenium and Java. I'm developing selenium automation tests, but I have a problem with downloading something from the software I'm working on. Chrome asks me ...
2 votes
4 answers
29k views

ROBOT FRAMEWORK: [Error] Parsing ___.robot failed: Data source does not exist

I just setup Robot Framework yesterday. I went to YouTube to see some videos on how to set up and I found one that was just uploaded last month. I follow all the steps and I numbered it below. ...
3 votes
1 answer
7k views

Error: The type or namespace name ... does not exist in the namespace / could not be found

I have written some code to verify, that a user can login to a hotel booking platform & I also added a verification step. I get an error on the Assert.IsTrue() Method. Every other thing is fine in ...
1 vote
1 answer
189 views

How to Switch frame in Selenium java

I'm trying to switch frame to email body, but it's not working. I'm not able to switch frames. Expectation: I need to open yopmail and get a text from second email. Email - [email protected] ...
2 votes
1 answer
1k views

Eclipse and RED (Robot Editor) won't open files in Robot project - NullPointerException

I have a project in Robot framework. I use Eclipse version 2019-09 R (4.13.0), Build id: 20190917-1200 for editing and writing tests. I also use RED version 0.8.13.201907181006. Whenever I try to open ...
1 vote
0 answers
260 views

Some value from Postman test undefined

I need to create tests in Postman for running key values for the AI Conversation app. I have created tests, where I have used the logic below, where I can see all of the values after a test run except ...
2 votes
1 answer
5k views

BDD specflow Error: "Ambiguous Step Definition Found For Step

I'm getting this error: Ambiguous Step Definition Found For Step.... on running my Specflow Test. The code is for the client, that I'm working for, thus I'm not permitted to provide code sample. ...
1 vote
1 answer
181 views

Trouble reaching a text object in DOM with selenium (java)

I have the below element in the page I'm currently testing: <li> "At least 4 of the following rules must be satisfied:" <br> "Password should contain at least 1 upper latin ...
5 votes
1 answer
322 views

Selenium tests aren´t launched anymore

I used to be able to launch all my Selenium2 WebDriver tests in Ruby on Rails via rake test:units. But recently, my test case(s) won't be found anymore. I don't get any notification or error message. ...
2 votes
2 answers
4k views

The HTTP request to the remote WebDriver server for URL

I have read a lots of guides over internet, but stuck in this issue. I have created a Class Library (.NET Framework) project called JuiceShopAutomation. where I have installed following Nuget packages:...
1 vote
2 answers
381 views

Can't click a button

I have this code: I have a problem clicking a button. driver.find_element_by_xpath("(.//*[normalize-space(text()) and normalize-space(.)='Editează'])[20]/following::a[1]").click() And I ...
3 votes
2 answers
74 views

Grouping hard to reproduce bugs

Many testers come across bugs that are difficult to recreate. They are occasionally reported, and sometimes they are not. This also happens on my team. I was thinking of making an epic, or a JIRA tag, ...
2 votes
1 answer
138 views

Working just on branch or line coverage could prevent us from finding which defect?

Achieving branch coverage is possible but it doesn't mean complete testing. What kind of defect you can find with this technique? what kind of risk you could have with this technique? what possible ...
1 vote
0 answers
546 views

How can I debug karma tests without changing PhantomJS to Chrome in Visual Studio Code

I have karma tests that during execution runs PhantomJS. Unfortunately, when some of those tests fail, error messages are not very helpful. Thus, I would like to debug them. However, most sources ...
3 votes
2 answers
195 views

Is there a browser extension that can record all user activity on a site, for the purposes of reporting bugs

We have a bug report coming in which is extremely user-specific, only one user is reporting it and furthermore they are only getting the error on their office wifi. it would help me to able to see ...
-1 votes
3 answers
2k views

Web app accessible to everyone on a random day?

I need to jot down debugging steps for below scenario : "You are hosting a web app in your server which is accessible only to a particular set of people. But on an unusual day, all the people are able ...
1 vote
2 answers
730 views

How to use the Blazemeter Step-by-step debugger?

I have added the Step-by-step debugger via the JMeter plugins manager but I don't have any idea how to start using it. Any suggestions on how I can start using it for debugging purposes?
4 votes
4 answers
398 views

How to teach test automation engineers to use a debugger

Context: It seems a lot of test engineers do not know how to use a debugger. This is based on the fact that we get a lot of null-pointer exception questions that can easily be solved if you know how ...
2 votes
3 answers
179 views

How do I determine the source of a defect?

When I find a defect, how can I know if it is a defect or it is an environmental issue? Usually, the application under test interacts with other systems, so, for example, I will be testing on one ...
5 votes
3 answers
2k views

On what metrics are the debugging skills of an interview candidate assessed?

In one of my recent interviews, they were assessing the debugging skills of a candidate with this question: When you upload a picture in Facebook, it fails. But it works in your friend's system. ...
0 votes
2 answers
33 views

Use debugger on one of the source file of the large application [closed]

Suppose we want to use debugger on certain source file of the application by setting breakpoints, so until those breakpoints are hit we can not start debugging. My question is how can we know what ...
16 votes
6 answers
3k views

How can I isolate bugs of users that we are not able to replicate?

I am having a recurring problem where bugs are cropping up once or twice in a build, and are reported by users but I and my team are not able to replicate them. What techniques do you use to ...
4 votes
1 answer
2k views

How to debug events not firing after clicking continue button?

I have an automated script that fills out guest information and clicks a 'Save and Continue' button to proceed to the next page. The button is being clicked correctly because it becomes disabled but ...
5 votes
2 answers
992 views

Most famous concurrency bugs?

Following What is the most famous computer bug of all time?, what are the most famous concurrency-related bugs? "Famous" means that the issue enjoyed coverage in mass media. Embarassingly costly ...
2 votes
1 answer
1k views

How to use debug in HP Load Runner?

Does any one know how to use debug in HP Load Runner? It is possible to set break point, but there is no debug run mode (not in main menu, not in hot-buttons menu). Here is quote from online ...
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 ...
1 vote
2 answers
137 views

Debugging with Selenium

Recently my team has been implementing Windows API into our framework and moving away from Selenium. So far I have found many benefits to functional browser testing with Windows API over Selenium. The ...
2 votes
0 answers
469 views

Tool to track GDI Handle Leaks [closed]

An application has GDI Leaks, which I detected with NirSoft GDIView. Now that I know there is a GDI Handle leak, I need a more professional tool with the following properties: works on Windows 7 and ...