Skip to main content
The 2024 Developer Survey results are live! See the results

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.

0 votes
1 answer
40 views

Best way to automate File contents verification using Selenium/Java?

In my application, there are lot of files that contain financial data and those are sent to different parties. So, I have to automate verification of content of all these files. Now, each file has a ...
tester234's user avatar
-1 votes
2 answers
4k views

How to open downloaded PDF file in Chrome and verify its content in Selenium?

When I click on the "Download PDF" link, the file is downloaded in Chrome. I need to open and verify the transaction data is correct in the file. I use Selenium and Java.
Raj87's user avatar
  • 1
2 votes
2 answers
641 views

How to validate if .txt file format is correct as a part of File processing in Automation framework?

In my Selenium+Java automation framework, I need to open a .txt file or any other extension file and then see if the text is in a particular format. Now, I need to see if all lines are in this format ...
test0023's user avatar
0 votes
1 answer
87 views

How to assert whether the file has been uploaded or not?

<div class="form-fill-file"> <input data-val="true" data-val-requiredif="Please upload invoice file." id="Upload_File" name="Upload.File" ...
Aishwarya's user avatar
2 votes
3 answers
836 views

File transfer test cases for different OS's

What are the cases for a test suite that verifies an app compiled to run on Mac/Unix/Windows10 does the job of copying files (not folders) from one place to another (not necessarily over a network). ...
Conrad B's user avatar
  • 213
1 vote
1 answer
2k views

File download verification with selenium and java

So I read all the other stackoverflow topics about this, none of the solutions worked for me so lets see if someone can help me. I need to verify a download (csv) from an export button in chrome(...
thomarkey's user avatar
0 votes
1 answer
8k views

Get most recent downloaded file using python-Selenium

My Python-Selenium script is downloading the particular file but the file is taking long time to start and get completed downloaded. It starts after clicking in 25/30 seconds and completed in 50/55/60 ...
ADS KUL's user avatar
  • 131
1 vote
2 answers
11k views

JMeter - FileToString with relative file path to test plan?

I've got a JMeter POST request that has body data like below: ${__FileToString(/${json_request}.txt,,)} The json_request variable comes in from a CSV data set config, allowing me to iterate through ...
Moorpheus's user avatar
  • 265
1 vote
1 answer
61 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 ...
G M's user avatar
  • 119
5 votes
3 answers
7k 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 ...
Dhairya's user avatar
  • 316
1 vote
2 answers
64 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 ...
Temp13's user avatar
  • 27
0 votes
1 answer
973 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" ...
Mike Warren's user avatar
1 vote
2 answers
166 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?
R11G's user avatar
  • 173
1 vote
1 answer
37 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 ...
leeand00's user avatar
  • 111
1 vote
1 answer
160 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; @...
Elad Benda's user avatar

15 30 50 per page