How to use keyword statement While Loop based on if an Onscreen Object is visible?
I am testing a desktop app and trying to use a while loop to run a series of steps if an object is visible on screen, in this case it is an error that shows up if I a username has been used. Right now I have tried the verifying the object is enabled when that did not work I tried verifying the object was visible. Both in both cased the test did not recognize the object on screen and jumped out of the loop. My loop details are set as follows Aliases.LocationManager.HwndSource_Window3.WindowLocationManagerQaHw20151Version11431.PrismShellWindowContent.ContentRegion.ModalRegionsControl.MainContainer.DockPanel.ContentRegion.SPMContentRoot.Grid.SPMContentRegion.DefaultViewUserControl.BarManager.RootPanel.RootLayoutManager.LayoutRoot.Properties.ContentControl.Site.LayoutRoot.DockPanel.SiteInformationExpander.ContentPresenter.Border Equals Aliases.LocationManager.HwndSource_Window3.WindowLocationManagerQaHw20151Version11431.PrismShellWindowContent.ContentRegion.ModalRegionsControl.MainContainer.DockPanel.ContentRegion.SPMContentRoot.Grid.SPMContentRegion.DefaultViewUserControl.BarManager.RootPanel.RootLayoutManager.LayoutRoot.Properties.ContentControl.Site.LayoutRoot.DockPanel.SiteInformationExpander.ContentPresenter.Border.Visible If I change the condition to “Does Not Equal”, then the test stays within the loop running the steps over and over again. Any help on how to successfully perform a While Loop based on Onscreen Object would be appreciated. Thanks, ChrisSolved3.9KViews0likes10CommentsTestComplete data driven loops not working for second row of an xls file
Hi Does anyone know of any simple misktakes that could stop a data-driven loop from and xls file stop working for a web page? My data loop successfully takes the data from the first row of a spreadsheet (to set up new users in a web app), but fails to find the data in the second row. When watching the script on the second iteration I can see that TestComplete goes to the correct field to enter the new username, but nothing happens ans it continues without erroring. Alternatively, does anyone know whoe to debug a data-driven loop to see if I can understand what is happening in the background. Many thanks, Dom.1.5KViews0likes4Comments