Contributions
Exception error while selecting value from dropdown using "Click Item" operation
Hi, I am getting the below error message while selecting a value from the dropdown using "Click Item" Operation.. I facing this issue after updating my Test complete version... Error Details: 458 0x80020009 (Exception occurred.) 0 The object invoked has disconnected from its clients Can someone help me on this please..224Views0likes1Comment- 805Views0likes0Comments
How Identify a file name with time stamp in Test complete using Python Scripts
Hi , I have a scenario to validate whether the downloaded file exists in a folder ,I have used the below script to validate whether the file name exist or not. However the downloaded file has a name reference with date and time as a result the below script is failing to identify the file name since the date and timestamp changes whenever the respective file is downloaded. Can someone help me on this as i am new to Test complete and Python. def FileExist(): filepath="C:\\Users\\dkaliyugavarathan\\Downloads\\Order_Extract_Export_2022-03-10_20-42-32.csv" if aqFileSystem.Exists(filepath): Log.Message("Order extract export file downloaded successfully! ") elif not aqFileSystem.Exists(filepath): Log.Message("Order extract export file does not exists") Thanks in advance!..1KViews0likes3CommentsPython Script to validate received mail subject in outlook inbox or folder
Hi, I am new to test complete and using Python as scripting language to develop the test script. Have a scenario where I need to verify the mail has been received successfully in my outlook inbox or folder. I have referred the supporting documents in test complete but couldn't find the suitable reference. It will be helpful if someone can share the test complete python script to validate the received email subject in outlook inbox or folder.. Thanks in advance!..2KViews0likes5CommentsCapturing Test Case Name while generating mail
Hi , I have a scenario where failed test case name to be captured in the mail subject which gets generated when there is a test failure. I have used "OnLogError event" to generate email when ever the test fail by using the below script as mentioned in Support document. def Test(): if SendMail("ClareJ@clarejeffersoncorp.com", "mail.johnsmithcorp.com", "John Smith", "JohnS@johnsmithcorp.com", "Notification", "Hello Clare, Your application is nice.", "C:\\File1.txt", "C:\\File2.txt"): Log.Message("Mail was sent") else: Log.Warning("Mail was not sent") Is there any way to capture the name of the test case name in the mail that gets generated on test failure? Thanks319Views0likes1Comment