Comparing file from stores to output file locks both files sometimes
Hi, I have around 300 test cases for a desktop application, each has a saved expected result file in the Files stores. Each test case works as follows : Generates a data table. Export the data table to a file. Then : Files.stored_file.check("D:\thing\output_file.txt"); so the first time, the file gets exported and saved and compared succesfully, now if you re-run the test case ,, sometimes it works, and sometimes not! no specific steps to reproduce! Reason is that the output file gets locked, and won't get deleted/overwritten unless test complete is closed. if you reopen test complete it works very well. can you please help me with this? Thanks.1.2KViews0likes4CommentsKeywordtest a bunch of files in a dir
Is it possible to create only one keywordtest (tests a certain function in a programm ) which gets a list of example-files to load and test? I know that i can parameterize the path to the files - but i have to build a own keywordtest for every file or not? It would be nice to say "repeat the test till all the files in this directory are got tested".1.2KViews0likes1Comment