Questions tagged [files]

File is a block of arbitrary information, or resource for storing information, accessible by the string-based name or path. Files are available to computer programs and are usually based on some kind of persistent storage.

Filter by
Sorted by
Tagged with
1
vote
1answer
33 views

Is there a tool for testing the performance of reading and compression of a file format?

I am comparing different file formats for understanding which has the best performance for my case. I use these data formats for storing data-sets created from different analytical techniques. I wrote ...
4
votes
3answers
381 views

How to add multiple files in Selenium Web-driver using Java

In automation testing, I have successfully uploaded a single file multiple times using Selenium webDriver, but the project I'm working on now requires multiple file upload at a single time. So, my ...
1
vote
2answers
52 views

Implement steps from file

I need help with the implementation of the algorithm or can anyone see a ready-made solution for an example. My task: There is a file which it is describes (action; xpath). How can I implement this ...
0
votes
1answer
35 views

Creating a real file in a unit test?

I'm responsible strictly for documenting and unit-testing a Golang project. In the part of the SUT I'm currently on, a real file, identified by a file path, is being checked for its "Last modified by" ...
1
vote
2answers
88 views

How do I capture some portion of logs from a log file?

Basically my requirement/need is to capture some snippet of the logs from a log file (or in other words parse log file)and then check if that portion is a valid JSON also. Any pointers?
1
vote
1answer
29 views

Compliance / Conformance Testing software for NTFS permissions?

Is there a software standard for Compliance / Conformance Testing of NTFS permissions, that you could run before an audit to see if everything has the permissions as expected, and if not that would ...
1
vote
1answer
91 views

how to unit-test a MultiFiles iterator?

I have this class: public class MultiFilesIterator implements IMultiFilesMerger { private RandomAccessFile randomAccessFile; private int currentFileIndex = 0; int filesCount; @...
2
votes
2answers
3k views

Testing the Downloading/Uploading of files with Selenium IDE/WebDriver/Other?

In a series of applications my team is building we would like to test our import and export functionality which requires the respective upload and download to be automated. The functionality is ...
0
votes
1answer
965 views

File with full list of all allowed characters in file name, for testing of command line tool

I need an example of a file with full list of all allowed characters in file name, for testing of command line tool. Something like: abc@#$%^&012346789..... Upd For Windows 2000-... With ...
41
votes
11answers
157k views

How can I work with file uploads during a Webdriver test?

This is a canonical question, intended to provide a comprehensive answer to many related questions During the course of a Webdriver test, I want to upload files. However, this opens a native file ...
3
votes
2answers
118 views

Best way of generating workload for personal cloud storage

I'm currently working on a folder synchronization tool which synchronizes the content of a specific folder with a remote cloud storage provider. In order to test the robustness of the client, I need ...
0
votes
2answers
390 views

How to check file(pdf) write protection?

What is the simplest way to check if file(pdf) got write protection(or not got)? I am using Ubuntu and not got any solution.
2
votes
1answer
4k views

selenium wget download file

I'm testing a web app with Selenium and I actually need to download a txt file during my test. But this seems impossible because a pop up appears asking to save the file. So, this blocks the progress ...
3
votes
0answers
123 views

iTKO/CA LISA and file feeds [closed]

I test an application that accepts several csv files from an external system. My application loads those files in a database applies business logic to the received raw data and futher processes it. ...
0
votes
1answer
870 views

What is the maximum size that a .msi windows installer file can be? [closed]

We are doing some upload testing to the server, specifically taking in .msi package installer files. None of my googling has shown me a definitive answer, but I need to test the max file size that can ...
61
votes
14answers
274k views

How to download a file using Selenium's WebDriver?

Basically I want to at least check that a download-able file exists / download link works and preferably get stuff like the file size too. Here's an example: link = self.browser....