Contributions
Re: Object Identification Issue
Hi Rudolf Bothma, Thank you for your reply. These dates are genereted dynamically and we are using a variable to store the "Template*" value and this variable is being used across the scripts everywhere. I will verify the "*" missing in the client machine. Is there any other possibility for objects are not getting recognized. Please advise. Thanks & Regards, Sreekanth1.9KViews0likes2CommentsRe: Object Identification Issue
Hi Robert Martin, Thank you for you reply. I have attached two mht file here which will provide you with more details. the file which is named as "tcResults1_Error" is the log file generated from the machine where it got issue. The other file is from my machine where it works fine. Please let me know if this help you in any way. We are using descripting programming and directly accessing the objects through code and there is no mapping done. Thanks & Regards, Sreekanth2KViews0likes5CommentsObject Identification Issue
I have created multiple automation scripts suites for a WPF application using Test Complete 12.41 version. All the suites run perfectly in my machine and all the machines in my environment. When we try to execute the same scripts in the client environment, all the suites except one suite will not run properly. The suite which is having issue will run properly for some time (probably 5 - 10 minutes) and after some time, it is not able to identify the objects properly and most of the steps are getting failed due to this. Client enviornment uses Virtual Machines for script execution. Could you please suggest on what could be the reason for the same.Solved2KViews0likes7Comments- 1.7KViews0likes0Comments
Re: Issue with scripts upgrade from Test Complete 11 to Test Complete 12
Thank you for your immediate reply and providing a solution. These were legacy scripts which were developed from Test Complete 8 version onwards and were upgraded upto Test Complete 12.31. So the same type of code is used in many places and we will have lot of rework on the existing code. Is there any other work around for the same. Please advice.1.7KViews0likes2CommentsRe: Issue with scripts upgrade from Test Complete 11 to Test Complete 12
I am using Vb Script for scripting. Following is one of the sub which we are using Sub TestSub(engName,Ftype) If Sys.Process("*").WPFObject("HwndSource: DesignerHost").Exists Then Sys.Process("*").WPFObject("HwndSource: DesignerHost").Close End if BuiltIn.Delay(4000) If Sys.Process("eAudIT").WPFObject("HwndSource: eAudITMessageBox", "").Exists Then Set msgBox = Sys.Process("eAudIT").WPFObject("HwndSource: eAudITMessageBox", "").FindChild(Array("Name","Visible"),Array("WPFObject(""btnYes"")", True),10) If msgBox.Exists Then Call msgBox.Click End If End If Engagement="Engagement:"+engName Builtin.Delay (2000) End Sub Here in the first If condition if the object does not exists, it will have the mentioned error in Err. Description and it will come out of the Sub without going to the remaining code. Please let me know if you require any further information.1.8KViews0likes6CommentsIssue with scripts upgrade from Test Complete 11 to Test Complete 12
Hi, I have recently upgraded my test complete version from TC 11 to TC 12.31. I am facing now issue with my existing scripts which was developed in TC 11 and which was running fine in TC 11. Where ever I try to click on any object which does not exists it is getting an error in Err Object as "Object required: 'Sys.Process(...).WPFObject(...)'" and it comes out of that specific Function/Sub skipping the remaining code of the Function/Sub. In TC 11, for the same code, execution go to the next code even if the object does not exists. Please help on this. Thanks in advance, Sreekanth1.8KViews0likes8Comments