Is there any kind of functionality to skip test items/unnecessary waits (I.e. Alt+Right/Ctrl+Right)?
My company only uses one license for TestComplete that I watch over and since I already am watching the tests I was wondering if there was any functionalitywith TestComplete (I.e. a shortcut command, Dedicated button, or option) that would allow me to skip test steps without adding extra code? (Unfortunately I know very little in terms for/with coding)I ask because sometimes our site runs slower thanusual, usually after posts and it has effected my testing, I had to input a bunch of wait commands (which is great, but not always needed on each page) but I cannot tell ahead of time when ill need to disable/enable them to smoothen test times. If anyone knows a simple command or way to skip test items or an unneeded wait, any assistance/knowledge would be greatly appreciated.4.6KViews0likes4CommentsA Skip Function or Button
I understand that 'ideally' no one is watching their tests as they run, but unfortunately that is what I have to do with my company. Our site performance can get slower/faster as the day goes by, so I have a lot of Wait commands in my scripts that I would like to be able to skip during the testshould I need to when our system is running exceptionally2.7KViews0likes1Commenttimeout while waiting for a window (such as explorer, etc).
I have a main method in C# using Visual Studio. The important part is public void reprice() { ... try { test1(); } catch(Exception ex) { System.Diagnostics.Debug.WriteLine("place a break point here"); } ... } with the expectation that anything in test1() causing an exception I can catch. test1() has my Test Complete (12) code in it. The entire test worked fine. A teeny subset: pubclic void test1() { ... Connect.NameMapping["Sys"]["Keys"]("[Hold][Win]e[Release]"); wndCabinetWClass = explorer["wndCabinetWClass"]; } the second line beginning with wnd depends on the [Win]e above it top open a windows explorer window. To simulate an error, I commented out the Connect line. When I run it, I get the message "waiting for the wndCabinetWClass...", which is exactly what I would expect. The problem is, it does not seem to time out. It gives the message, and when the dots get to the end, it starts over again, and never seems to timeout. As you can see from the attached picture, my auto wait timeout is 10000 ms (10 sec), but this thing is still waiting after minutes. It takes a while for some windows to come up, but I would think 60 seconds is good enough. I found a suggestion to do "Options.Run.Timeout = 30000;", however my code cannot find Options. So I am not sure what to do. I guess it will eventually time out when the test has reached its maximum time, but that could be 30 minutes.1.6KViews0likes1CommentWaitAliasChild Timeout Not working
Did anyone face issue withWaitAliasChild 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 If835Views0likes1Comment