Questions tagged [functional-testing]

Functional testing is a quality assurance (QA) process and a type of black box testing that bases its test cases on the specifications of the software component under test.

Functional testing is a quality assurance (QA) process and a type of black box testing that bases its test cases on the specifications of the software component under test.
Functions are tested by feeding them input and examining the output, and internal program structure is rarely considered (not like in white-box testing).
Functional Testing usually describes what the system does.

Functional testing typically involves five steps:

  1. The identification of functions that the software is expected to perform
  2. The creation of input data based on the function's specifications
  3. The determination of output based on the function's
  4. The execution of the test case
  5. The comparison of actual and expected outputs
1493 questions
-1
votes
1 answer

Mobile Automation Tool

Please let me know which is the best automation Tool for Mobile Native application. We have two Choices 1. DeviceAnywhere 2. SeeTest. Please provide the positive and negative points of the tool. Regards, Rahul Mendiratta
-1
votes
1 answer

Can't set the content-type to Json in functional test

I have the following code to make a json request, but it fails: Response response = POST("/b/profile/","application/json",body); I also tried this one: Response response = POST("/b/profile/","application/x-www-form-urlencoded",body); but the…
cmhho
  • 43
  • 5
-1
votes
1 answer

Perform tests on a route calling another

As I know performing a functional test is done with an app context. This-for I am using this modular fixture: @pytest.fixture(scope='module') def test_client(): flask_app = create_app("ENV_FILE_LOCATION") # Create a test client using…
Amirov
  • 66
  • 4
-1
votes
1 answer

ReadyAPI Functional Testing Automate Problem

I am writing the test suite for my endpoints.I am having one problem which is for running the 1 test suite twice. For Example, When I add an image with endpoints it adds the Image with a unique Id and returns successfully. This unique Id is…
user2911592
  • 91
  • 12
-1
votes
2 answers

How to refuse connection on purpose?

I have functional tests that test a system that makes HTTP connections to some internal mock HTTP servers. By mock I mean they are real servers, just implemented by myself to simulate actual 3rd party servers. They are in java, using jetty. So far…
Ramin Arabbagheri
  • 790
  • 2
  • 11
  • 25
-1
votes
1 answer

Any way to run one test inside another, and be able to see if child test passes?

I want to know if it's possible to somehow call one functional test inside another, and have the parent functional test be able to see if the child tests passes or not ? ... Please note that the parent and child tests are in different projects and…
Ahmad
  • 12,886
  • 30
  • 93
  • 146
-1
votes
2 answers

Why many developers focus on increasing code coverage for unit test instead of integration or functional test?

It's impossible to have 100% code coverage for unit tests in real life. But it seems like my colleagues like to write unit test cases and happy flow functional test only. In the end, tickets are rejected by QA and they have to spend more time in…
-1
votes
2 answers

Error when testing webapp with multiple sequential pages

I'm testing an ASP.NET webapp (to the code of which I do not have access) with multiple sequential pages with the following relevant parts in a Cypress script: describe("Calculation", function() { // ... context("Pages", function() { //…
Gerold Broser
  • 14,080
  • 5
  • 48
  • 107
-1
votes
2 answers

Is there a way to test a link on a image with Symfony/Panther

thx for helping me on this :) Im developping a serie of test on a symfony app with Symfony/Panther. Im looking for a way to test if my logo redirect to the correct page. The way I see it, is I have to test the link and then click on it to test the…
Orou
  • 31
  • 6
-1
votes
1 answer

How debug and use grabAttributeFrom in codeceptjs?

In my case all identifiers in a page is generated dynamically. So I can't use xpath. I've found method in the documentation: grabAttributeFrom. How I can see what's inside, when I using cmd in --debug mode? Can I use grabAttributeFrom for…
-1
votes
1 answer

Remote-control block does not assign variables

I'm writing functional tests with Spock and Geb in Grails 2.5.6 using the remote-control plugin. I have something like this in a when block: String someString remote { someString = SomeDomain.findByName("Some Name").someValue } In the then…
Raphael
  • 9,779
  • 5
  • 63
  • 94
-1
votes
1 answer

Yii2 Codeception Functional tests - Click on OK button of confirm dialog

I'm a newer in Yii2 and programming tests. I'm using Codeception for testing. Summary: In one of my tests I have to click on OK button of a confirm dialog. In order to do this, I have tried: $I->click('OK'); $I->acceptPopup(); Neither of them…
jose luis
  • 1
  • 3
-1
votes
1 answer

Mocking current time for functional tests

I am writing a functional test using cucumber for my Spring boot application. The logic which I want to test uses current time, based on that the result vary. Is there a way to mock the current time in functional tests
Priya
  • 1,096
  • 4
  • 15
  • 32
-1
votes
1 answer

Selenium Error communicating with the remote browser. It may have died

I have a problem with selenium when i try to run my functional tests with behat , my tests worked perfectly before , i only installed php7 instead of php5 I don't know if this is the cause of the problem or not i've also upgraded my ubuntu to…
-1
votes
2 answers

Functional testing a JavaEE server

I'm looking for a way to test the different functionality of my JavaEE server application. I first tried to do it with Junit and TestNG, but building the different scenario was too tedious. What i'm searching is a tools that will simulate an user…
Omegaspard
  • 1,828
  • 2
  • 24
  • 52