Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
request for VB code for finding X in dynamic web table
#2
Solved: 11 Years, 3 Months, 3 Weeks ago
Code:
iRow = Browser().page().webtable().Rowcount
iColumn =  Browser().page().webtable().Columncount

For i= 0 to iRow
For j =0 to iColumn
        set objWebtable = Browser().page().webtable()
          if X = objwebtable.getcelldata(i,j)  
                       Msgbox "Row Number : " & i & " and Column number : " & j
                       Msgbox "Value of X : " & X
                       Exit For
          End if
Next    
Next
Syntext may be incorrect but the logic is right.

~ Jay
Reply


Messages In This Thread
RE: request for VB code for finding X in dynamic web table - by Jay - 04-15-2011, 10:07 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Can QTP handle slick grid table in a web page qtplearner88 2 4,491 10-01-2019, 10:44 AM
Last Post: shilpi952
  unable to rowcount in web table manoj84monu 1 2,901 06-13-2016, 04:46 PM
Last Post: Anu1234
  Finding a cell Location on a datatable rhozeski 0 2,030 11-23-2014, 02:38 AM
Last Post: rhozeski
  How to select dynamic checkbox from web dropdown QA_Newbie 2 4,670 07-20-2014, 09:40 PM
Last Post: QA_Newbie
  Request Help | Usage of Oracle Add-In for Oracle SQL Developer Nasir Ahmed 3 3,542 06-18-2014, 04:28 PM
Last Post: vinod123

Forum Jump:


Users browsing this thread: 1 Guest(s)