João Farias
  • Member for 6 years, 6 months
  • Last seen this week
Strategy and resources for training Quality Assurance engineers
4 votes

First, it's good to have some vocabulary: The ISTQB Guide can help you with that. I recommend reading the Chapter 1. If you are not familiar with the agile approach, a fast reading for the is also ...

View answer
Why does element.displayed? throws exception instead of boolean false?
Accepted answer
6 votes

$driver.find_element(:xpath,element2) Above, you are trying to find an element. .displayed? Now you are trying to check the state in a element. The exception is thrown by the first computation; ...

View answer
Online free bug tracking tools?
3 votes

If you don't have private issues, Trello is simple and fast to share and keep track of things.

View answer
Selenium python test hung up on url in cronjob
1 votes

According to the Chromium page, the ChromeDriver 2.29 supports Chrome v56-58. Probably, you will have to downgrade your ChromeDriver or upgrade the Chrome (the latter is better, in general).

View answer
Correct aproach to test this method
1 votes

The purpose of unit testing is to validate implementation. Behavior (what the end user sees) is validated in higher levels of testing. Your unit tests are good if them have good mutation coverage, i....

View answer
When a same performance script is re executed using performance testing tool then why response time change by noticeable amount ?
1 votes

General thoughts: Instability in performance tests can be caused both by the system environment or environment where the test tool is run. If the usage of the system is stable, probably you would ...

View answer
How do I decide if something is a problem or not?
0 votes

Short answer: The client/PO/user (whatever name you want to give to the person/people who says what should be built). Testers have (primarily) the responsibility to give knowledge about a product to ...

View answer
How to add selenium dlls to test studio?
1 votes

I would not recommend using this method, because: This is tool-dependent; You cannot replicate this procedure with one-click - both if you have a new computer or if you want to distribute the project ...

View answer
Legacy Code Testing with Jenkins on PHP
2 votes

You will need some steps to get there: Have you repository system to notify Jenkins about the PR. That will depend on your system. GitHub and Bitbucket have system to do it. Build the PR branch. ...

View answer
keeping the test data in json format
1 votes

1 - Your JSON is wrong because you a trying to create a list using a key-value syntax, in the outer-most level. The first level should be a dictionary, with a list as value. { "geos": [ {"u":"...

View answer
Cucumber: Multiple vs One step definitions file?
Accepted answer
2 votes

BDD is more than testing; it's purpose is to enhance communication. Scenarios should be created collaboratively, thus, creating a common project vocabulary. For instance, if someone has wrote a ...

View answer
How to compare 2 JSON string having different attributes but same value?
Accepted answer
0 votes

@user246 anwser is acceptable, but it is not extendable to new services and forces all clients that need use this data to be dependable of this transformer function. I would create a interface for ...

View answer
Managing number of test cases in ALM
1 votes

Since throughly testing would be unfeasible, have two options: Do a risk analysis and perform only a subset of the possible tests, trying to cover all ways in a limited number of ways. Do random ...

View answer
SetProperty Driver Command Line Selenium
2 votes

You can get the driver path from the command line. If you are using Java: public static void main(String[] args) { System.setProperty("webdriver.chrome.driver", args[0]); } Or you can ...

View answer
Is there any automated cross-browser screenshot capturing tool
3 votes

You can use the Selenium Webdriver itself to do it. See this answer. Just do this procedure for each page you want to check.

View answer
How to check if a file with random changing name is downloaded using protractor selenium?
1 votes

The response code is not possible. Explanation. But you can solve your problem using count pattern. The idea is to skip files in the target folder which you know are not your downloaded file before ...

View answer
SQL how to seprate 2 words
Accepted answer
-1 votes

If you want to concatenate the strings when reading from the DB, you should do it with a select: SELECT Food + Drink as FoodDrink FROM PartyTable; It will return only on column, called FoodDrink, ...

View answer
Which is the best open source Project management tool which supports defect management as well?
2 votes

If you don't have problems in using a external hosting system, you can use a combination of JIRA (bug tracking) and Confluence (team collaboration and requirements managment). For locally hosted ...

View answer
How can I run one spec 100 times using the command line?
Accepted answer
10 votes

If you are using zsh shell: repeat 10 { command } On basic shell: for _ in {1..10} do command; done If you can run the tests in parallel, you can use the GNU Parallel: parallel command ::: {1.....

View answer
Selenium Console Output
Accepted answer
3 votes

One thing that could facilitate an answer is to know what is your IDE and if you can configure this behavior of saving in a file. Considering you can programmatically set configurations of the name ...

View answer
Unable to find element with tree-node-id
1 votes

If the structure of the HTML does not change, a simple CSS selector can be useful. By.cssSelector("div.xpanel ul.x-tree-root-ct li.tree-node div.x-tree-node-el") This will select the first element ...

View answer
programs in c for testing
Accepted answer
3 votes

Rosetta Stone is good place to find it: https://rosettacode.org/wiki/Category:C In addition to typical algorithms (sorting, graph, trees), there are some code involving I/O, for instance: https://...

View answer
Learn Software Testing and Automation Testing
2 votes

First, it's good to have some vocabulary: The ISTQB Guide can help you with that. I recommend reading the Chapter 1. If you are not familiar with the agile mindset, a fast reading for the is also the ...

View answer
What role does selenium play in automated browser testing?
Accepted answer
2 votes

As Michael Durrant pointed out, Selenium is a set of technologies. The most used is the Selenium Webdriver - which is in the process to become a W3C standard. The Webdriver is a browser driver - a ...

View answer
In need of some guidance into QA
Accepted answer
1 votes

First, it's good to have some vocabulary: The ISTQB Guide can help you with that. I recommend reading the Chapter 1. If you are not familiar with the agile approach, a fast reading for the is also ...

View answer
How can I assert an audio play in selenium webdriver
1 votes

As @ramnath said, it would be better if you provide more information about the audio player. In the worst case, where you won't be able to assert automatically the audio, you can automate part of the ...

View answer
QA testing - Database privileges
1 votes

Anyone should have all the ways to do your work properly. It means a QA should have the tools and access to investigate known and to-be-discovered issues. Basically it requires: Full access to the ...

View answer
How to handle InvalidElementStateException in Selenium?
0 votes

Sumit, The problem is happening because the sendKeys method must be used upon a input field. The actions you must take are the following: Go to Google page Wait until the search bar (id:sb_ifc0) is ...

View answer
Benefits of BDD
Accepted answer
2 votes

You probably have read that BDD is not about testing, but about improving communication. In software development, there are a manifold of ways to express the same thing; and some fit better for each ...

View answer
I am getting java.lang.NullPointerException while executing my test case
2 votes

On the Scorex_LoginTestCases (Btw, we do not use underscore in names in Java (See conventions), the objects objLogin and objHome are not initialized. On the TestBase, you should initialize them using ...

View answer