Questions tagged [test-data]

Test Data can refer to the inputs for a program, which might also include any configuration/setup data, but also the data outputs which might require further analysis to detect issues.

Filter by
Sorted by
Tagged with
4
votes
1answer
70 views

How to create input data for unit tests for an API client?

I am building the initial set of unit tests for my team's legacy API client system. We have been writing integration tests, but have no unit tests. It's a Sinatra server that accepts requests from our ...
0
votes
2answers
35 views

UI amounts and conversions to numbers/strings

I have a number of UI-visible amounts which I am comparing with what I have prepared as a part ot my test cases - randomized&mocked test amounts are doubles. What is the usual best practice? ...
1
vote
1answer
44 views

How to verify a triangle-triangle intersection algorithm

I have programmed a triangle-triangle intersection algorithm, which have I have successfully tested for all distinctly different situations I could think of. I did this by manually inspecting all ...
2
votes
1answer
70 views

Data creation and deletion for happy path automation

Hypothetically, if an automation engineer had to write a test for commenting on a post in a group on Facebook and did not have direct access to the db, but instead to the rest api, the automated test ...
0
votes
0answers
46 views

Integration tests and data used in these tests

I read a lot about unit and integration tests and how they work with maven and java and how it works with Continuous Integration. I am using Flyway for db migrations, the schema part is already done. ...
0
votes
2answers
63 views

What is the best technique for initializing test data

I am working on a functional test automation project for a web application, and I want to integrate my tests with Jenkins. The problem is that I cannot make a decision on the initialization technique ...
3
votes
2answers
95 views

Prepare data for groups of test cases

I am going to have a family of test cases that are going to work on a single data set. This data set needs to be loaded into a database as an initial step which is shared between all the test cases. ...
0
votes
0answers
21 views

Source for non-standard CSV formats

I need to test the capabilities of a CSV import utility. I am becoming familiar with RFC 4180 and W3C tabular format, and I plan on testing those. I want to test other valid formats. Is there a ...
-1
votes
1answer
56 views

Business test data for automated tests

My automated tests (at the GUI/API levels) require to have already existing test data - like users or privileges assigned to them. I want them to be stable and able to run independently every time so ...
1
vote
1answer
83 views

API tests against production DB with no endpoints to set up test data

I'm creating regression tests for one of our APIs. I'd like to discuss how to go about it in my particular situation. I have no problem on the dev environment, but when it gets deployed to a staging ...
0
votes
2answers
69 views

How to automate functional regression tests through database data comparisons?

I have a Java batch job application that reads input data from an Oracle database, does a lots of calculations, handles many edge cases, and outputs results back into different database tables. The ...
0
votes
2answers
76 views

Automation data setup: via SQL or via APIs?

I've had this discussion recently and would appreciate some more opinions and experiences of this community. When setting up data for integration tests (API or UI), is the favored approach via SQL or ...
1
vote
2answers
146 views

Setting up test data efficiently for large sets of integration tests: per test or not?

With huge sets of integration tests, data setup is becoming somewhat of an obstacle in terms of runtime. What is your experience to tackle similar situations? Scenario: 200 API integration tests ...
0
votes
1answer
53 views

Codeception: test data in annotation - codeception reports undefined variable

I've tried to use this style: https://codeception.com/docs/07-AdvancedUsage#Example-Annotation My example test case is this: /** * @example { "groupid": "16789507", "partnerccdid": "31003704" } */ ...
13
votes
9answers
5k views

Testing using real data of the customer

Is it common to use real data of the customer to perform testing? What policies companies apply regarding using real data of the customer for testing purposes? Is there any legislations regarding such ...
1
vote
4answers
45 views

Tools & Practices for Test Environments? [closed]

Just been given responsibility for managing the companies Non Production Environments and Data i.e. Development & Test Environments. What tools and practices are can you recommend? Yodel FYI I ...
0
votes
2answers
112 views

How should I design test automation project by including UI testing, DB testing and API testing components?

We are planning on revamp for an old system. Also previously we haven't done any test automation tasks too. So my plan is to start the automation project earlier for the existing system and give a ...
1
vote
1answer
464 views

How to structure data driven Protractor/JS tests in page object model?

I am using protractor/js for automating end to end tests for our website. We have a test data set that we have saved in different JS files and we use this data while executing test cases. We are ...
0
votes
2answers
104 views

Creating Test Data in Excel Sheet for complex search function

I'm creating test data for search function in a mobile app. But the search function is little bit tricky. Let me give an example. We have mobile app which we can buy dogs. in this mobile app we have ...
1
vote
1answer
68 views

Test scenario of Database components

For one new project we have a requirement to add multiple "Database Collation" support to the system, means the system will create DB on any specified DB Collations for Unicode, ANSI supported ...
4
votes
2answers
63 views

Equal or different test data for higher test levels

It's just a little issue, but one that pops up in my mind regularly when writing test scripts. Imagine you have an application which does some car tax calculation, having a REST service which has a ...
4
votes
0answers
206 views

Voice Assistant Testing Samples

I am attempting to evaluate several audio codecs to determine their suitability to transcode speech for use with voice assistants such as Amazon Alexa and Google Assistant. From my own research, there ...
1
vote
1answer
966 views

What is Sql data conditioning?

This question was asked during QA interview. What is SQL data conditioning? Is it creating test data using SQL scripts to test different scenarios?
3
votes
4answers
783 views

What are good ways to manage test data?

The company I work for is moving towards CI and DevOps. Currently we store our test data (mainly XML test requests) either on a network drive. We want to move away from this. Looking for a system we ...
2
votes
1answer
34 views

How to properly import a number from Excel?

Doing data-driven testing, I need to import numbers from an Excel sheet, but 23.50 was imported as 23.5 even after I re-formatted it. I am planning to to add a zero to the end of this imported number,...
2
votes
4answers
2k views

How to write test cases when different test data gives different results?

Example test case: Check mobile bill payment after due date. For the above test case, different telecom operators have different sets of rules. For example, some allow payment after due date, and ...
1
vote
1answer
281 views

How do I delete a column header in QTP?

I had a QTP Data Table and named some of my columns. I decided I didn't need one of my columns for my test, but it won't let me remove a column name once its set. I can't remove the column header and ...
1
vote
0answers
70 views

What tools and how to approach Data Migration testing? [duplicate]

What free automation tools exist for Data Migrations between Old and New Systems? What approaches should I use to ensure data was migrated correctly ? I'm a beginner Tester in web applications, E-...
2
votes
2answers
252 views

Are there any test data repositories regarding diacritics in text strings?

I am about to test a software's handling of diacritics. a sign, such as an accent or cedilla, which when written above or below a letter indicates a difference in pronunciation from the same letter ...
3
votes
1answer
5k views

Efficient way to test data quality of database through java?

I currently have to test the data that is being processed from a file into the database. Currently I'm using Java to extract the data from the database and compare the data mapped to the table ...
2
votes
5answers
524 views

Managing Test Data for UI testing

I am working on a Java/TestNG UI automation framework and having some difficulties with test data management. I use TestNG's DataProvider to pass data to the test method. I need to pass about 30 ...
1
vote
1answer
7k views

keeping the test data in json format [closed]

This is my selenium code. I am just finish my selenium code. I'm following page object pattern. My code does not follow any frameworks. 1). I want to keep the test data separately. Not ...
1
vote
2answers
1k views

Test data should be separate from the rest of the automation code [closed]

I am working in selenium with page object design pattern. I have got a feedback about my code and I want to make my code better. Code Review "You need to keep the test data separately. Not ...
1
vote
0answers
110 views

How should Data be handled when developing automated testing frameworks?

Currently i am using C#/Selenium to develop the automated testing framework. To run the tests i developed test fixtures which still use C#/Selenium but are ran with NUnit and are separated from the ...
8
votes
3answers
6k views

Please suggest some ideas to test an IVR system?

I have to test an DTMF tones via keypad with toll free number, which has a company IVR automated response system. The IVR allows the user to login to the system and user can know account balance, talk ...
3
votes
1answer
164 views

Testing without external data?

The plugin, that I am writing in php, is getting data from an external api. I have gathered some sample-data which the api sends (array). Now I would like to create tests to make sure that the plugin ...
1
vote
2answers
79 views

Open source Java programme with advanced random number generators

In performance test it is common to use random numbers for some test data. Default random functions give you a random number in a range in which each number has the same chance to be picked. It ...
1
vote
1answer
163 views

How can I maintain test data in response[expected] against request[input] using java? How will it be if I use JBehave?

I have many scenarios to create request file that are sent to another application. This application processes the requests and sends back the responses. These responses should be validated against the ...
0
votes
1answer
104 views

What are some Software Testing Attacks that can be used in black box testing? [closed]

If I am doing functional testing of a web application, what are some attacks I can perform on input fields, forms, etc. that can cause the application to crash?
2
votes
1answer
326 views

Preparing test data for Automated Testing

So i've ran into a bit of a problem, I have a set of automated tests created for a site, were looking into really moving towards a CI based system for testing (Running the test suite after pushing ...
1
vote
4answers
907 views

Need help with Data Comparison testing [closed]

Is there a best tool for use to load up data and do a comparison large sets of data apart from Excel in a customizable way?
3
votes
2answers
116 views

Should one test rely on the output of previous test?

First of all I have read some great answers in the following link: Are your UI automated tests dependent or ordered?. But would like a clearer understanding in terms of dependencies within test data. ...
5
votes
9answers
43k views

Test data to test form input fields?

I am testing web based user profiles forms which have multiple fields like input box, radio buttons, checkboxes, combo-boxes, alphanumeric fields etc. what are some good tests that I can run to find ...
4
votes
2answers
182 views

What criteria should be considered when testing report generation

My web application generates a lot of reports in formats like excel sheet, Csv(comma-separated values), fixed width columns, pdf format, html reports etc based on the parameters I select. There is a ...
-1
votes
1answer
4k views

SELENIUM IDE - Selecting DROP DOWN using Array(parameterization)

Is it possible to select value from the drop down list then you will get the value from the Array(parameter) data? I tried to do it but I commit error. I also tried to get 'id'from the equivalent ...
0
votes
1answer
2k views

Guidelines for using Production Data in test environments

Any one have any good recommendations/guideline policies about using production data within testing environments (sensitive vs non-sensitive)?
3
votes
3answers
116 views

Balancing security with tester convenience: should you put credentials in test instructions?

I'm in a small enterprise environment, a dozen or so developers, no full time QA specialist, no dedicated testing resources. Project leads and developers and subject matter experts all contribute to ...
4
votes
6answers
160 views

How do you simulate years of real world conditions in a testing framework?

If I am writing a piece of software that needs to be highly reliable for years at a time how can I simulate years of test data in a shorter time frame? Say hours instead of years. I know the problem ...
4
votes
6answers
7k views

How to manage test data in database

Background: I am setting up an automation framework Brand new project (i.e. no scripts) (clarification: brand new project as in everything is brand new, new db, new code, new automation, everything ...
5
votes
3answers
936 views

Generate test data in which format

What is the best approach to make test data configurable ? Through XML file or properties file or any other way. But must not be hard coded. What approach should be taken to run the same Test Suit ...