Most voted "testing" questions
Software testing is any activity aimed at evaluating an attribute or capability of a program or system and determining that it meets its required results. There are more specific tags for types of tests, prefer them.
Learn more…228 questions
Sort by count of
-
0
votes1
answer150
viewsHow to use robolectric in Android Studio
Hello, I’d like to know how I use robolectric in my projects on Android Studio. I have tried several tutorials, but none was of great help and the documentation of it is not very clear.…
-
0
votes1
answer332
viewsSwipe using the Appium tool
I’m learning about a new mobile automated testing tool called Appium, and one of the tests I created was: @Test public void Swipe () throws InterruptedException{ Thread.sleep(4000);…
-
0
votes2
answers273
viewsAbstract unit tests
I am having a problem using abstract classes to keep the common code of my tests, shutdown boot etc... I use a concrete class only to initialize the variables. The code inherited from the abstract…
-
0
votes1
answer169
viewsTest Web System on Smartphone
I have an application in PHP that is rotating in the XAMPP and is being accessed via http://localhost/ she’s running on the computer but I’d like to test her on my smartphone (via browser), how do I…
-
0
votes0
answers170
viewsHTML (DOM) testing with Jasmine or other framework
How do I test HTML with Jasmine? I know there’s a guy named jquery-Jasmine.js who does this but I have no idea how to install it because npm doesn’t work when I try to install it (it says that Git…
-
0
votes1
answer160
viewsHow do I set up permission for testing on Androidmanifest?
I’m with a question to give permission to perform tests on an android application. I created a case of test but the next one appears on the console: does not specify a…
-
0
votes0
answers269
viewsAcceptance Test with URL redirection
Hello I’m trying to generate a acceptance test to my login page using codeception and Yii2, only that the problem is that after the login the user is redirected to the main page and there the user,…
-
0
votes1
answer1033
viewsWebdriverexception when not finding elements with Findelements
When I try to check if an element exists or not on my website and if the element does not exist, my Iwebdriver launches a Webdriverexception, and all of my driver’s methods stop working, making it…
-
0
votes1
answer3707
viewsHow to get the result of a Junit assertEquals test and put it into a String variable?
I have a Junit test case to test a single class. The class to be tested contains only one "sum" method that sums two numbers. To test if it is correct, I use the following method:…
-
0
votes1
answer59
viewsFrameworks to test on Android app and Webservice
Good afternoon staff, I would like to know which frameworks you could use to perform the following test: Android App: Unitary Test Stress Test Web service Unitary Test Análise Estática…
-
0
votes1
answer215
viewsProblem calling method from a newly loaded class
I made a code that dynamically compiles a java file, and through . class generated can load this class, create an instance and invoke its methods using the method getDeclaredMethod(). So far so…
-
0
votes0
answers322
viewsWindows authentication with Selenium
I am trying to perform a windows autentation with Selenium, however is presented the error below.. There is another way to perform this type of authentication?…
-
0
votes1
answer191
viewsTryout with Prior, how to catch an Md-button?
I am using Protractor to test a system made in Angularjs and Material, I am having problems with the Locator when I want to take a specific Md-button in a form and run the click(). The button hmtl…
-
0
votes1
answer64
viewsCheck if it is the correct Fragment after the click (UI Test)
I would like a tip on how to check if it is the correct Fragment after the click Follow the thought (Wrong) for example, someone has an example of how I can test this? @RunWith(AndroidJUnit4.class)…
-
0
votes0
answers92
viewsHow can I test equipment connectivity across a network without using the ICMP protocol?
How can I test equipment connectivity across a network without using the ICMP protocol? I made a simple operating system, it has internet access etc. But, it does not have ping. How can I create a…
-
0
votes1
answer133
viewsError: Runtimeexception when trying to mount test case
I’m trying to set up a simple test using espresso and the following errors appear: Code: import android.content.Context; import android.os.Bundle; import android.support.annotation.Nullable; import…
-
0
votes0
answers141
viewsIs there a tool to test black box in C#?
I know that Java has the Sikuli IDE. C# has a similar tool?
-
0
votes1
answer180
viewsAndroid Testing Instrumentals
When I start to elaborate the instrumental test for Mainactivity it gives error because it does not recognize this Class (Mainactivity), as it is possible to verify in the following image. I read in…
-
0
votes0
answers147
viewsSelenium with Maven plugin does not work the tests
Implementation to run a Junit and testNG test suite, When executed by the eclipse plugin, it works. By Maven no, the behavior of testNG tests, are changed, It seems that the http sessions do not end…
-
0
votes1
answer216
viewsI cannot inject Mockmvc into integration test [Spring Boot]
@RunWith(SpringRunner.class) @SpringBootTest public class CustomerRestTest { private static final String BASE_URL = "http://localhost:8080"; @Autowired private…
-
0
votes1
answer84
viewsHow to issue Electronic Invoice in the test mode in Woocommerce?
How do I issue free tax bills, trial version in Woocommerce? To test the plugin, from Webminarbr.
-
0
votes0
answers22
viewsHow should the tests that manipulate the database behave?
In everyday life we come across scenarios in which we have snippets of code that are executed once during the entire life of the system. As an example: Registration screen of the first…
-
0
votes1
answer152
viewsR - Econometrics - Wald test and autocorrelation
Good afternoon, I would like to know how to perform the Wald Test (for heterocedasticity) and the test proposed by Wooldridge for autocorrelation. I am using panel data (unbalanced), with Pooled…
-
0
votes1
answer81
viewsPhp frameworks comparison software
Good night, you guys. Can anyone direct me to some php frameworks comparison software? Software that compares performance, response time, load time, etc.
php software-engineering testing framework functional-testingasked 6 years, 4 months ago Maurício Biléssimo 351 -
0
votes1
answer154
viewsBuild Variant Android studio
Why should my build variants (first image) does not present the options I want for the compilation? In this case I wanted the "mockdebug" as presented in the second image. What do I need to do to…
-
0
votes2
answers113
viewsDoubt integration test
I think it’s a somewhat conceptual question about the subject, but come on: I have an example method that validates a user checking if it exists in the database, thus: public bool…
-
0
votes1
answer83
viewsAfter starting a pdf download service in jmeter, the "badly formatted" Sponse can turn into a pdf? If so, how?
I’m working on a stress test where I download a file, in a very simple GET service: /api/report/XXXXXXXX/user/23452/file/9989/download Everything happens OK, I wonder if the download’s answer, which…
-
0
votes0
answers35
viewsAutomation called using Curl - Jmeter
Good afternoon, everyone! How do I add a Curl call to Jmeter in order to get my header to use for later tests? What is the test element? HTTP request itself? Could you help me? The following is…
-
0
votes0
answers16
viewsTest result window netbeans is not showing the tests
When I right click on a Maven project that contains Junit tests it shows the test results in the "default" output the same as the build result. I want it to show the tests in the test window and not…
-
0
votes1
answer245
viewsCompare Response with variable
I made an environment variable that takes the ID of a registered Account, and when I go in my Find ID method I’m validating to see if I brought what I’m waiting for by passing code:8631 as Request.…
-
0
votes1
answer101
viewsHow to reuse a String in another Step of my test?
I have a question (maybe simple for most) and I needed your help... I am programming an End-to-End Flow of Apis using Java, Restassured and Cucumber (to define my Steps). In my first API a return…
-
0
votes1
answer300
viewsJava test cases
I am trying to perform a test on the banking system that I have done, I am using netbeans for this. I need you to test the option to withdraw and deposit, in case what I have done so far only the…
-
0
votes1
answer140
viewsAPI testing by passing token
Good morning, I’m doing Api Testing, as follows the example: @Test public void shouldStatus200_FindAll() { RestAssured.enableLoggingOfRequestAndResponseIfValidationFails();…
-
0
votes1
answer312
viewsClasses Parameterized with Junit 4
I have an exercise to solve involving classes parameterized in Java and I’m a little confused. The exercise is as follows: Program a parameterized class to test the method with the following input…
-
0
votes0
answers57
viewsTesting mysql API and nodejs integration
I have an API written in Nodejs (express) that uses the library mysql to pull data from a database hosted on AWS. API endpoints are basically SQL queries, almost without logic associated with data…
-
0
votes1
answer144
viewsIntegration tests using sqlite memory two api calls
I’m having trouble making an Insert call (and creating the database) after query occurs that the database is in memory the problem is that ended called the database dies. It would be interesting if…
-
0
votes0
answers41
viewsUnit tests with Powermockrunner showing errors
I have two classes of tests that are run with PowerMockRunner and extending the class JdbcTest. Below follows their source code: Test class ScimImportUsersBusinessTest…
-
0
votes0
answers4
viewsHow to automate a status by contacting the Tories?
I would like to automate a test someone can give me a hint
-
0
votes1
answer29
viewsCodeception see() method with Yii2 does not display all page content
Hello! I am testing a PHP(7.2.1) system that uses the Yii2 framework, and for that, by default I am using codeception. When writing functional tests, several methods are not working as expected.…
-
0
votes1
answer42
viewsPerform tests based on component Lifecycle
I need to run the tests following the Lifecycle Angular. I couldn’t identify any tool or way to do this. Basically it would be calling tests based on Lifecycle. Follow simple example:…
-
0
votes1
answer32
viewsCompile error gmock
Good evening, I’m practiced testing on c++ used the google gtest/gmock testing library. Everything is working perfectly well with gtest, but I cannot compile in any way when I try to use gmock. To…
-
0
votes1
answer139
viewsUnit tests with Nunit in function with Jsonresult type return
I’m trying to do unit testing in the following function (there are more ifs, but I believe this is enough to illustrate), using Nunit. The problem is that I am unable to treat the return of the…
-
0
votes0
answers552
viewsHow to test with Junit in a C R U D?
I would like to know the condition to use within the test. Got the class Customer package br.myhome.web.model; import java.sql.Connection; import java.sql.PreparedStatement; import…
-
0
votes1
answer752
viewsCapybara Unable to find Visible field
When rotating the command rake cucumber i get the following error: Unable to find visible field "article[text]" that is not disabled (Capybara::ElementNotFound) But the field is visible File of…
-
0
votes0
answers88
viewsGetglobalvariable array of result
Good evening, I’m trying to make a variable to use in another request and I’m testing. I made an array with the code attribute coming from my payload, it contains 4 codes from 1 to 4 so my array is…
-
0
votes0
answers574
viewsAngular 6 ng test error Cannot match any Routes
Error while rotating ng test. { "message": "An error was thrown in afterAll\nUncaught Error: Uncaught (in promise): Error: Cannot match any routes. URL Segment: 'home'\nError: Cannot match any…
-
0
votes0
answers106
viewsProblems with Junit
I’m trying to run some tests on a small application for JAX-RS studies. The following error is shown when I try to run a test case to simulate a GET org.junit.vintage.engine.support.UniqueIdReader…
-
0
votes1
answer253
viewsAdd parameters dynamically in a Javascript function
You guys, it’s okay? I am trying to create a function (I will call to execute) that takes as parameter another function (I will call word), a list of objects and a list of attributes to be accessed…
-
0
votes0
answers105
viewsUnit tests with JEST, on Node.Js, without using module.Exports in Javascript code files
With both files below (ePar.js and ePar.test.js) in the same folder, how to perform the unit test, with the JEST, via Node.Js, of function ePar (in the archive ePar.js) WITHOUT ALTERING THE SAME? I…
-
0
votes0
answers299
viewsError: (The HTTP request to the remote Webdriver server for URL http://.. url timed out after 60 Seconds) when running test
When trying to run the tests in Internet Explorer the following error appears (The HTTP request to the remote Webdriver server for URL…