VisibleOnScreen is TRUE when row in grid control is not visible (need scrolling to view row)
I have a grid control with 100 rows. The grid control is placed in a small window where only 10 rows are visible with need to scroll up/down to see the desired row. Both 'Visible' & 'VisibleOnScreen' are TRUE even when the desired row is last in grid while viewing the top 10 rows. I am required to do a right-click to open a context menu on desired row. How should I proceed to check if row is truly visible else scroll till visible?Solved1.8KViews0likes4CommentsTestComplete will not go to Else - just throws error
Been experiencing some wierd issues with my IF statements lately in testcomplete.. IF the statement IS NOT true I will get an extremely long hang/timeout, or in this case with the code below, I will just get a error in log saying "object doesnt exist" when it is obvious that I want it to go to ELSE. Any advice for this? thanks if (Aliases.browser.webpage.cell0_grid.link.VisibleOnScreen == true) { Log.Message("Item ID is visible on screen") } else { Log.Message("Item ID is NOT on screen")Solved1.8KViews0likes3Comments