Make 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 Write in Excel sheets using VBScripts
I am creating a framework using Excel Sheets for a Desktop application. I am new to TestComplete. I have seen the syntax from Help in Testcomplete. But still I am not able to bring up a solution. For example I have 5 testcases to be executed. I have created an excel with 2 sheets namely Sheet1 and Sheet2 with 4 testcases with headings in Sheet1 as TestCases and Status. In sheet2, i have createdTestcase ID,TestCase,Expected Result,Actual Result,Status,Screenshots,Start Time,End Time,Time Taken. In sheet1, if the status column value is 1 then the Testcase will be executed. If it is 0 then it will not be executed. In sheet2, the actual result should be PASS or FAIL. PASS should be in green color and FAIL should be in RED color. And if both the actual and expected are same then PASS should be mentioned in Status column. And how to add screenshot path for the respective Testcase? Also, I would like to know how to fetch the start time and end time and compare both of them and calculate the total time taken. I need a sample code to fetch details from the excel sheet and to write the same results in that excel sheet. I know it is difficult for me at this stage, but I need your help guys. Awaiting for the answers soon. I have attached the excel sheet for reference.1KViews0likes1Comment