Run Testcases As Baseline and Testline
Hi, I need to Run a script in testcomplete as Baseline and Testline options. So When I set that as Baseline it will save all the image of the testcases and save it in a proper location, and when i select as Testline it will run the same testcases but it will compare the image that have been saved before. Is it possible to do with TestComplete. Thanks in Advance.Solved3.2KViews0likes9CommentsRegions.Compare with Masks
I am usingRegions.Compare method in an If condition for branching between two different scenarios based on the displayed window. I don't useCheck because it takes a longer time to process and generates a log error that terminates the script. Is there any way to include masks while using Compare? or is there any other way to compare a region as a branching condition (not as a region checkpoint) and still be able to use masks?Solved2.4KViews0likes3CommentsMake Screenshot & compare
Hello, i want to make a screenshot (post to Log) while the keywordtest is running and then this screenshot should be compared withanother picture from the actual viewving. How can i set a folder vaariable for the current log directory at the image comparsion checkpoint? would be great if you can help.Solved2.3KViews0likes1CommentRead and compare MD5
I am newbie to TestComplete & automation, working with desktop app. My task is to create a script which verifies correct updating of the app. So somehow I have to: Extract md5 from downloaded files (malware signatures) in the particular hidden directory (one of the folders in 'Program data'), Go to url (server) that provides only md5 of the last signatures in the exact following format: [{"md5": "5dfb9f8a5332c420f8c9661634d3158d", "filename": "wl.c"}, {"md5": "8a68c46bcb7b995bb817b9e809450fe1", "filename": "rico.c"}]. NOTE (that is the difficulty): mds on the server are dynamic (changing at least once per hour), not static. Compare both md5s So the questions are: Does script require launching additional tools for extracting and checking md5? Is it possible to write a keyword scenario for this task? Could someone provide a script example of possible solution, preferably in Python. Thanks, AlexanderSolved1.4KViews0likes2CommentsComparing 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.2KViews0likes4Comments