ContributionsMost RecentMost LikesSolutionsRe: curious problem with TestComplete 9.2Problem is solved now, by software repeairing function. curious problem with TestComplete 9.2I've made an upgrade from 9.0 to 9.2. Since the upgrade was done, sometimes a message comes up "List index out of bounds(0)". Additionally some functionality of TestComplete tools is missing. Does anyone have any idea about this problem???? Best Regards, StephanieTelerik ControlsSome Teleric Controls are supported for Silverlight 5 and other Controls are not supported, for example "RadExpander". But I can see RadExpander with Testcomplete 9 in ObjectBrowser. Does it makes any sense, what is the difference to the supported one? We need access to all Teleric Controls urgently, because our application works with all of them and we like to use TestComplete furthermore. So, maybe anyone can help me to get more information about working telerik controls. best regards, StephanieRe: FindAllChildren does not working correctlyI am despairing with this problem.... It seems to me that my object hasn't the correct elements. But when I check the name of object by Log message, it is correctly. But even if I search for all objects what ever object it is, not all childs found. I don't understand this behavior because I also used the method since TestComplete 8. The onliest difference is that I have another application, Silverlight 5 as Out-Of-Browser. What is wrong? Should I use another function or anythink other is needed? Re: TC problem when application’s window name is changingIn addition to my last post: ================= Object should be found if you use the wildcards as in following example: => Sys.Process("myappl").SWTObject("Shell*", "Myapplication - *").SWTObject("Composite", "", 5) But I'd like to give you a notice for better scripting. It's not a patch on you! 1) you shouldn't use capture and replay without changing some code. This is because names or indexes and so on may change during test and test script has to be changed evry time. This is not effective :-) 2) Use variable and check if object exists, then further on with next steps. That makes more stable the testrun. => Example: var appName = "myappl"; var application = Sys.Process(appName); //use any unique property or more if neccessary if(application["FindChild"]("ObjectIdentifier", "Myapplication - *", 10, true)["Exists"]){ myApp = application["FindChild"]("ObjectIdentifier", "Myapplication - *", 10,false); //if you need the index too, then define array with params and values myApp["FindChild"]("Name", "Composite", 5, true); } Re: TC problem when application’s window name is changingYou can use wildcards * in the name (Shell*). Or you don't define the object by his name. Use the Find or FindChild Method and search for Property/Value which is available of this object. Hope it helps.FindAllChildren does not working correctlyHi, I have to test our new Silverlight 5 software, which is an Out-Of-Browser application. After starting the tool, I'd like to click every tab or register and then I have to found all Buttons within this page. Here is my simple Testfunction: ------------------------------ function startTest(){ var slLauncher_Proc = Sys["Process"]("sllauncher"); var slcontrol = slLauncher_Proc["FindChild"]("ObjectIdentifier","silverlightControlHost", 8, true); var pageParentChilds = new Array(); toolname = "ConfigurationTool Application"; //get register names cPages = definePages["pagesConfig"]; tool = slLauncher_Proc["FindChild"]("WndCaption",toolname, 5, true); tool["Maximize"](); register = slcontrol["FindChild"]("ObjectIdentifier", "ExtendedTabControl", 20, true); Log["Message"]("Anzahl der Register:" +itemsNumConfig); for(i=0; i<itemsNumConfig;i++){ helper_references.createLogFolder("Register "+i); c = i+1; pagename = cPages["Page"+(c)]["Items"](1); helper_references.createLogFolder("Pagename: "+pagename); pageObj = register["FindChild"]("ObjectIdentifier",pagename+"*",100, true); pageParentChilds = new Array(); if(pageObj["Exists"]){ pageParent = pageObj["Parent"]; Log["Message"]("Parent Object of this Page = "+pageParent["Name"]); pageParent["Click"](); Log["Message"]("pageParent clicked"); register["Refresh"](); Delay(2000); pageParentChilds = pageParent["FindAllChildren"]("ClassName", "Button", 100, true); pageParentChilds = (new VBArray(pageParentChilds))["toArray"](); Log["Message"]("pageParent childs searched." ); if(pageParentChilds["length"]>0){ Log["Message"]("found: " +pageParentChilds["length"]); }else{ Log["Message"]("found nothing"); } }else{ Log["Warning"]("Page not found!"); } helper_references.closeLogFolder(); helper_references.closeLogFolder(); } } ----------------------------------------- The object from where the childs have to be searched is always the current tab (for example => ["UIAObject"]("TabItem", 6)). I dont see any problem in code, normally it should work?! But it always find buttons from only one tab ( the first one or the last one) and sometimes no buttons. In Object Tree all elements are displayed. I thought it could be a problem of refreshing or timing. But both I've changed and it has no effect. So, I have no solution for my problem and hope you can help me!.... Please have also a look to attached picture with the object Tree structure. Thanks! Re: Activation problem with TestExecuteHi Lexi, thx for your reply. Unfortunately the test PC is in another network as my development PC where TestComplete is running. If I understand you correctly: I have to deactivate the TestComplete license and though automatically also the TestExecute license will be deactivated. And after this, I'm able to get a new license. But the same and new license is only possible to use, if both, TestComplete and TestLink are running at the same PC or they are in the same network??? Best regards, Steffi Activation problem with TestExecuteHi everybody, I have following problem: - at one pc TestComplete Enterprise 8.10 is installed and registered - also the included TestExecute version (with Floating license?) is installed at the same PC - now I'd like to move the TestExecute License to another computer As I know, this is automatically a Floating license, right? And for moving I have to deactivate it first. But the deactivation works only for both products. So I tried to deactivate my TestExecute license but it doesn't work, because it is automatically licensed at PC where TestComplete is activated. Also, I have tried to activate TestExecute with the License Manager tool at the new PC. The message is "The license key has already been used for activation". Does anybody know, how I can do this????? Best regards Steffi Re: Problems with events click or clickButtonI've found out now, that it happens only by using the clickButton() method. I replaced ClickButton with Click and DoDefaultAction method and both are working fine. As soon as I use ClickButton mostly the nullpointer exception occurs. I mean this is perhaps a timing problem with windows events when the method was called. It is possible? My solution for this time is, to use one of the functions above, but I'm not happy about this, because it is very unclear for me why it happens since shortly time... Stephanie