ContributionsMost RecentMost LikesSolutionsRe: Test execution hangs on standard Open file... dialog openingFound the answer here: http://www.sqaforums.com/showflat.php?Cat=0&Number=666863&an=&page=-1&vc=1Test execution hangs on standard Open file... dialog openingHello! I have a test in which menu item is clicked & standard Open file dialog is opened after that. Here's a piece of code: 10 var MenuItemLevel3 = MenuItemLevel2.DropDownItems.Item_2(l) 20 MenuItemLevel3.PerformClick() 30 is_found = true 40 break The click in string 20 is successfully performed so that I have standard Open file dialog opened but execution just stops there while Open file dialog is opened (without any errors). So that string 30 is never reached. After closing of Open file dailog execution continues. I tried to add WaitWindow for Open file dialog ( WaitWindow("#32770", "*", 1, 500) ) after string 30 but execution still never reaches it. Please advice. Re: SQL Query results export (CreateADOQuery, exec xp_cmdshell bcp)I've solved the problem by using IAQAADOConnection object: http://community.smartbear.com/forum/post/?mode=singleThread&thread=9d68b3fb-6772-4218-a47a-34a146f593be SQL Query results export (CreateADOQuery, exec xp_cmdshell bcp)Hello! I'm trying to execute SQL-query which export the result to txt-file: var Qry = ADO.CreateADOQuery(); Qry.SQL = "exec xp_cmdshell \'bcp \"SELECT * FROM EpicorDBEtalon.dbo.COA\" queryout \"c:\\sqlout.txt\" -c -Usa -P!****1\'"; Qry.Open(); Result: [object Error]: Parameter object is improperly defined. Inconsistent or incomplete information was provided The same query is successfully executed in SQL Server Management Studio. Also simple queries are successfully executed from TestComplete script. Please, advice. Probably there are another objects in TestComplete which support queries of this type.Re: Drag action fails from time to timeDear Jared, thank you for your help! It looks like WindowToScreen function was the key. Everything works fine and stable now. I don't mean Drag action but your way with LLPlayer functions.Re: Drag action fails from time to timeHi, thanks for your answer! I'm trying to drag tree nodes within the same control (ultre tree). So that I call Drag method for tree control: tree.Drag(X, Y, deltaX, deltaY) where (X, Y) - source tree node coordinates (nodeDrag.Bounds.Left+nodeDrag.Bounds.Width/2; nodeDrag.Bounds.Top+nodeDrag.Bounds.Height/2); (DeltaX,DeltaY) - the difference between destination tree node and source tree node. Tree nodes are properly identified and clicked - it can be seen during playback. So that I guess coordinates are correct. I also tried to adopt your code for my script and it looks like no effect (I can't see any actions during playback). Drag action fails from time to timeHello! I'm using Drag action for dragging nodes of Infragistic ultratree control. It works fine during debug & mostly fails during playback. I've tried to set delay before Drag action execution and also played with Project delays (dragging delay, etc.) - nothing works. Please, advise. Thanks! In my script I do the following: 1. Select start node and finish one, expand them if necessary (works stable). 2. Get nodes' bounds. 3. Calculate start/finish points (left+width/2;top+height/2). 4. Calculate moving distance. 5. Call Drag action applying it to tree control.