Regions.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.4KViews0likes3CommentsCompare test step
Purpose The process of testing often requires to compare test results to expected values. When we need to check a specific value, we can use assertions. However, there are often occasions when we need to compare one documents to another (e.g. XML, JSON). I propose to introduce a new type of test step: Compare test step. Functionality Compare test step would allow: Select documents: users would select source and target document from test step requests, responses, properties and other document holders in SoapUI environment, similarly as the Property Transfer test step does. Type of comparisson: the user could choose whether the documents have to be identical (both structure and values) or similar (only the structure should be same). Also the user could choose to ignore differences in whitespaces, attributes, or namespaces, or even data types which to ignore (e.g. xsd:dateTime is typically different). List of items to compare/ignore: the user could list the items which should be ignored, represented by XPath statements. Also there would be an opposite option: a list of XPath statements to check and to ignore the rest of the documents. Suggestions The Compare test step can utilize the XMLUnit library for XML and thus expose its function via SoapUI user interface. The Compare step can be similarly used for JSON documents.9KViews8likes3Commentscomparing two xml response
hi i am shifting my svc service to different platform and i would like to test both services the original and the new one with same request and compare the response. the response is not 100% identical i have element with execution time that i need to ignore. also the response contain UTF-8 Characters, any suggestions for simple solution?2.9KViews0likes6CommentsComparing 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.2KViews0likes4CommentsRun 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.2KViews0likes9CommentsRead 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.4KViews0likes2CommentsMake 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.3KViews0likes1Comment