Contributions
After Upgrading to Test Complete V12, Utilities.FileExists not Working, What is the alternative
Hi, I have upgraded to Version 12 and face up gradation problem in test script. Previously i was using the following script to find whether any bmp image is available in the folder. This was working fine until i upgrade to v12 Dim Destination_Files_Name Destination_Files_Name = "E:\Image\2016-9-21\#TC_0013#\Fail\*.bmp" If Utilities.FileExists(Destination_Files_Name) Then log.Checkpoint("Failed Images created") Else Log.Error("Failed Images Not Created") End IF The function Utilities.FileExists returns whether bmp image with any name (wildcard) doesexists or not. But after upgrading i have to change my coding as below since FileExists is not supported any further in Utilities. Dim Destination_Files_Name Destination_Files_Name = "E:\Image\2016-9-21\#TC_0013#\Fail\*.bmp" If aqFile.Exists(Destination_Files_Name) Then log.Checkpoint("Failed Images created") Else Log.Error("Failed Images Not Created") End IF The aqFile.Exists is not returning value whether any bmp image is available in the folder when using wildcard (*). Instead it return value only when i give the full Image name with path i.e. Destination_Files_Name = "E:\Image\2016-9-21\#CMN_0013_100102#\Fail\AC_50X50.bmp" Question: What function should i use to find out whether the destination folder contains any image or not. Thanks and Regards Rajesh ThomasSolved880Views0likes1CommentHow to use CSVDriver to write in a csv file and read it later
Hi i have using test complete for 7 years and until now i didn’t have any need to use data storage. Now there is a requirement to record memory for every version we release and compare it with future release. All this data will be helpful to watch is there is any memory jump between versions. To sum up above, i need a place to store memory against each version and use it later. Can i use CSVDriver to write the memory details in storage and retrieve it back? Is there is any better way to handle this Regards Rajesh Thomas1KViews0likes2CommentsSlient Mode (in Task Scheduler command-line) is not working in Test Complete 11
Previously i was using Test complete v10 and i had scheduled a daily test run through windows schedule task. This worked very fine as it automatically trigger test complete at that time, continue testing and when testing is completed, the Test complete is closed automatically (since i set Slient mode, the test complete will not wait for my input in the Save window). Eversince i upgraded to Test Complete v 11. i think the test complete is not supporting slient mode. After the schedule test is completed , the test complete is not closingby itself and wait for the user input. Sincethere is no user input, the test complete remains open and next day test could not be triggered.Solved1.7KViews0likes1CommentRe: Testcomplete error - Cloned HASP SL secure storage detected
Hi Support Team, I face this problem Currently. Our company have purchased Test Complet and using it fine until now. Recently We need to Change motherboard for the PC. In order to that i deactivated the existing licenses through https://my.smartbear.com/ web page. I had sucessfully deactivated licenses. Then i changed the motherboard (only motherboard-not HDD). This i tried to re-activate the licenses thourgh same procedure. And sucessfully Activated. I got a message stating The Licenses is sucessfully activated.But when i start the Test Complete, i get message stating "Cloned HASP SL Secure Strage Detected. Error Code: hasp_login, 64". when i check my Account i stats the license is activated. But when log though "http://localhost:1947/_int_/products.html", it stats Disabled due to Cloning. When i want to trouble shoot online, unfortunately the link need a valid subscription to provide solution from Smart Bear. This is very hard for customer like us who needs to contact SmartBear in presure suitation. My job is deeply troubled by this, Please help me Fix this ASAP. Attached is my Licenses information. Please help3.5KViews0likes0Comments- 1.2KViews0likes0Comments
Re: How to find whether a test item in enabled or not through script
Hi Tanya, Thanks for your assistance. I am actually using the same script you have mentioned with some modification. But still it is too big when I see with my requirement. For example:I just want to find out that "TC_001_45666" is Enabled or Not".Your script gives me the whole tree of test case and all its property. With my limited knowledge in scripting, i have modified the script in such a way that it can directly give me the answer whether the mentioned test cases is enabled or Not. But i know this is longest method to find out it. Can you please help me in finding the shortest method to find whether the particular test case ("e.g. TC_001_45666")which i ask is enabled or not. Note: Attached my script in a Zip file regrads Rajesh Thomas998Views0likes0Comments