WaitAliasChild Timeout Not working
Did anyone face issue with WaitAliasChild method ? It seems execution will move on after default time out regardless of what is supplied in Method parameters. For example Default Timeout is 10000 ( 10 Sec) and When i specify timeout in method as 20000 , i am expecting Execution to wait for 20 sec before moving on , but its not doing that. It wait for 10 Sec only no matter what timeout is specified in method. Here is the Code 'Verify Key Charactestics If Aliases.firefox.PitchbookHomePage.panelE14d830c3.panelSlide.WaitAliasChild("vg",20000).Exists Then Call Regions.Characteristics_00R_Prospect_Jan_2015.Check(Aliases.firefox.PitchbookHomePage.panelE14d830c3.panelSlide.vg,false,false,50,50) End If837Views0likes1CommentTest Complete takes too long to find an object
Hi, There's something it's bothering me and it's making my tests run slower than I'd like to. I'm having (performance) problems finding an object in the screen. The application under test (as any other) shows MessageBoxes to confirm/ask for user interaction. To find such view I use the following code: var base = Sys.Process("MyProcessName"); base.FindChild("ClrClassName", "MessageBoxView", 3); There's nothing wrong with it and it works just fine. There's only one quirk. It takes almost 2seconds to be able to find the view. BUT, during my investigation I found out that the second time Test Complete tries to find the view, it takes only about 50ms. That second-time behaviour doesn't benefit my tests at all, because that view is always destroyed (dismissed upon user interaction) and it's always "the first time" when Test Complete needs to find another MessageBox. Why is that happening? Why is it taking soooo long the first time? Is there a way to fix this behaviour? It doesn't take that long to find any other view within the main window of the application.4.3KViews0likes9Comments