Contributions
Want to update TC to newer dot version
Hi, Can we update our existing TestComplete 10.10 to TestComplete 10.40?Do we need to pay extra cost if we upgrade to newer dot version. Please confirm as we need to run our existing 10.10 scripts on latest version of chrome and FF urgently. We already have one floating user and one node locked license for TC 101.10 Thanks, Neha1KViews0likes1CommentRe: Not able to recognize all objects on web page using chrome 37 and TestComplete 10.10
Got a reply from smartbear,recommending to use TestComplete 10.40 to perform testing in Chrome v.37. TestComplete 10.40 supports this Chrome version out-of-the-box and has beenthoroughlytested with it. Thanks, Neha996Views1like0CommentsNot able to recognize all objects on web page using chrome 37 and TestComplete 10.10
We are usng Testcomplete 10.10 for our Project.My automation which runs correctly on IE 9 - 11 is failing on chrome 37. Testcomplete is not able to recoginise some of the objects on chrome browser. We are using NativeWebObject to identify objects. Do we need to use some other parameter to identify the objects?1.6KViews0likes1CommentRe: TestComplete automation framework
Thanks for the reply Saurabh. I am interested in knowing that do you update .mds file or .pjs file to enable or disable a script in project suite at runtime. Please share. Also as for XML then we are storing properties of each object as attributes in XML. Then we query XML to get all attributes and there values for a particular object. Code is something like : Set xmlObject = Doc.selectSingleNode( "//Page[@strObjUniq = '" & strPageName & "']/*[@strObjUniq = '" & strUniqueName & "']") '@@ Move forward in case of xmlObject is null on error resume next '@@ fetch out the attributes name and values from xmlobject '@@ check if the atribute is ID and the value is not null then initialize it into a dictionary Set pn_attribs = xmlObject.attributes For Each pnAttr in pn_attribs if (pnAttr.name = "id") AND Not((pnAttr.value) = "") Then dictObjectRep.Add "prop", pnAttr.name dictObjectRep.Add "value", pnAttr.value set getObjrep = dictObjectRep Exit for '@@ check if the atribute is name and the value is not null then initialize it into a dictionary Else if (pnAttr.name = "name") AND Not((pnAttr.value) = "") Then dictObjectRep.Add "prop", pnAttr.name dictObjectRep.Add "value", pnAttr.value set getObjrep = dictObjectRep Exit for End If End if3.6KViews0likes0CommentsRe: Calculate the total delay during the script run
Hi, You can initialise a global variable total_delay = 1000 and use this function to Add delay to objects.Log this after the end of every script and then reset it to 1000 before staring execution of next script. Function AddDelay(obj_type,obj_name) Set Window = Aliases.IE.Page("*") cycle = 120 count = 0 Do While Not (window.NativeWebObject.Find(obj_type,obj_name).Exists) Delay(1000) count = count +1 total_delay = total_delay + 1000 if count = cycle Then Log.Error("Required ' "&obj_name&" ' not found on page.Please look into the issue.") Exit Do End If Loop End Function Thanks, Neha762Views0likes0CommentsRe: TestComplete automation framework
Hi Saurabh, I see that you have also writen some control driver scripts which control Test items from an excel sheet.I was looking for a similar functionality. How do you control the testitems to be run from Excel sheets. Please share the details if you have implented this functionality. Thanks, Neha3.6KViews0likes0CommentsRe: TestComplete automation framework
Hi Murugan, We are using Hybrid Framework. We have object data stored in XML file in a folder. TestData in an excel file in another folder. We are using DLL's to implement some of reporting functions and they are in seperate folder. So our script on startup gets objects data from XML,testdata from excel and then using DLL reports TC Pass or Fail. Thanks, Neha7.3KViews2likes1Comment- 836Views0likes0Comments