Cannot identify cells in VSFlexgrid of Componentone
Testcomplete is not recognizing the objects inside the vsflesgrid. It is recognizing as the whole grid but not rows or columns inside it. Can someone please how to iterate ot find values or text in cells. Any code example would be helpful. Please find the attached screenshots of grid as well as properties.4.2KViews0likes4CommentsHow to measure SQL hits due to my application
Use case: I'm working on a form in development environment and everything works fine. aqPerformance tells me everything is quick. I make a change in my form. aqPerformance still tells me everything is quick. Users suddenly report that everything has slowed down and the system is unusable and they want me to personally drive over to their offices and make coffee while they wait for the form to load. After testing, I find that the small change in my form suddenly added 200 SQL queries each time you move your mouse. This isn't a problem in production or our test servers, but the users are on a network with high latency. Each single SQL connection is quick, but it adds up. Is there a way to monitor these SQL hits by, say, using profiler and profiling during the form load/ item select etc. then report back the amount of SQL queries ? I know developers could keep profiler open while developing the application, but sometimes it doesn't behave the same on you machine as on live and you want to know if something has dramatically changed. Also, if you could catch this before it gets to users that would save alot of fuel.4.1KViews0likes6CommentsTestComplete failing to detect the overlapping window that is on the screen
I need to interact with an Overlapping Window in a Silverlight application. Which I believe means that the window is considered a borderless window. Test Complete is also able to detect the buttons on the window that I need to interact with, as Exists or as Visible. The problem is that when I try to click on the button, I get a popup saying that Test Complete is waiting on the overlapping Window to become visible. From what I can tell, it is, and I have already found the UIAObject that is actively on the screen that I need to interact with, but TestComplete will tell me that it is waiting for the overlapping screen to become visible. While diving through Object Browser, I found that this particular window only exists within the Tree while it is on the screen. So if I found that the object does exists, and that the button on that screen itself exists, I am not certain which window TestComplete believes it's waiting for. The worst part of all of this is, that it fails probably about 60% of the times I run it. For sometime I thought it was a timing issue, so I put a 2 second delay in, but that didn't really change the success/failure rate. I went diving through community posts, but I haven't been able to locate anything similar to what I am seeing. I am paste the code below. I get the 'Waiting on the overlapping window to become visible' message for TestComplete at the btnLogYes.Click() line. After it has already detected that the logWindow exists, otherwise it skips over the button press, because if the logWindow doesn't exist, the Yes Button doesn't exist either. I am also attaching the screen shot of my Overlapping Windows parameters in Playback. I suspect that this is going to be some form of weird Memory issue with SilverLight... Any help would be greatly appreciated! Log.Message("Pressing the Log Button"); global.commsLog.click(); Delay(2000); Log.Message("Looking if the Log Window 'Yes' button is on the screen"); var parent = NameMapping.Sys.sllauncher.wndMyAvail.ShellEmbedding.ShellDocObjectView.browser.Silverlight_Control.Initializing_Application var logWindow = parent.FindChild("ObjectIdentifier", "RadBusyIndicator"); var btnLogYes = logWindow.FindChild("ObjectIdentifier", "Yes", 0, true); // Finish Logging the message Log.Message("Pressing the Yes Button to finish logging the messages"); if (logWindow.Exists) { Log.Message("The Yes Log Button was visible, Click it!"); btnLogYes.Click(); } else { Log.Message("The Yes Log Button was not visible"); }Solved2.6KViews0likes5CommentsTest Complete12.50 doesn't recognize windows objects Windows10
While running a test via jenkins TestComplete reads random generated Object name as below Sys.Process("DBInstall").Window("WindowsForms10.Window.8.app.0.141b42a_r40_ad1", "Eze PMA - TradarBE Setup", 1).Window("WindowsForms10.Window.8.app.0.141b42a_r40_ad1", "", 2).Window("WindowsForms10.BUTTON.app.0.141b42a_r40_ad1", "&Next >", 2).Name But if I open TestComplete manually, it works fine and reads the same objects as below: Sys.Process("DBInstall").WinFormsObject("TradarDatabaseInstallWizard").WinFormsObject("buttonPanel").WinFormsObject("nextButton") This is happening on Windows10 while works fine on Windows7 Has anyone encountered similar issue? What could be the reason and solution?2.3KViews0likes4CommentsAdvanced TestComplete SmartBear Academy class!
Hello everyone! We are really excited for ouradvanced TestComplete 301coming up next week! The class isTestComplete 301: Testing Web-Services with TestComplete(8/29@ 2-3pm ET). If you want to join, register athttps://smartbear.com/academy/ Hope to see you there!2.3KViews0likes0CommentsGetRowWithCellText method for Grid
Hi, I am working on an application which has a documents Grid. The grid has more than 10000 rows, we have option to filter but even on filtering the row no of specific row does not change eg, my intended row to work on is at 105 position, if i apply filter and get only 2 visible rows, the row no of intended row still shows as 105. Is there any method in testcomplete which can return us row no of gird using searching specific unique text like we have a method in UFT as GetRowWithCellText("String_Text") ?2.2KViews0likes3CommentsKeyword Test - Get new Id value from textbox
I apologize ahead of time in case the answer to my question should be obvious. I have not been able to find it. I want to run a desktop app that creates a new widget. Once the widget is saved, the new Id appears in a textbox. I want to get the Id from this textbox and save it in a csv file to use as input to another test. Recording the test works great. How do I hook to the textbox, get the value from it, and write it to a file?Solved2.2KViews0likes3CommentsDetermining the coordiante position of a certain gui item
I would like to know if there is any way to determine what the coordinate position of a specific text or gui Item in a form. I have this window: I want to know how I can find the coordinates of the text "AVB" so I can drag the "TraPromoItem1" onto it. This item is a component of class TLogGrid and directly clicking on the item doesn't even give me properties. The Text property "AVB" in this case is located at: Aliases.System.bvsclient.LogViewForm.pnlMain.pnlGridMain.pnlGrid.TLogGrid.AbsoluteVisibleItems[3].Texts[6] Anyway I can click on this text, and find the cursor position?Solved2.1KViews0likes5Comments