Read 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.1KViews0likes1CommentSlow grid operation
Hi All, Needhelp. Application is developed using Stingray Grid. TC able to read & perform actions correctly on control. However, TC taking more time (30-40 sec) for reading information from debug file and also taking 8-10 sec for any action on grid. Any one faced & solved this type of issue in project. Please share your experience/solution/suggestion on same. Thanks in Advance ! Vahid706Views0likes1Comment