Micro Focus QTP (UFT) Forums
Unable to click on checkbox in webtable having scrollbars - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: Unable to click on checkbox in webtable having scrollbars (/Thread-Unable-to-click-on-checkbox-in-webtable-having-scrollbars)



Unable to click on checkbox in webtable having scrollbars - eltee - 03-25-2011

Hi,

I have a webtable with vertical and horizontal scrollbars (10 columns with 20 odd rows) in the web application (which incidentally also has vertical and horizontal scrollbars)

I'm unable to click on the checkbox of an element in the 8th row of the webtable, as we need to scroll down the table to do so and QTP is unable to do it, I believe.

Here's the part of the code which I use to click on the table checkbox:

Code:
Dim abc
Set abc = Browser("").Page("").Frame("").Webtable("").ChildItem(row,col,WebCheckbox,1)
abc.click

Please help.


RE: Unable to click on checkbox in webtable having scrollbars - basanth27 - 03-25-2011

Does it have a scrollbar?


RE: Unable to click on checkbox in webtable having scrollbars - eltee - 03-25-2011

Hi Basanth,

Code:
Web application having scrollbar = Yes
Webtable having vertical and horizontal scrollbar, inside the web application = Yes

Thanks,
Liju