TESTEVERYTHING

Saturday, 23 July 2011

Get Column Names of WebTable using QTP

REM  Get Column names from webtable


Select Date ConfirmationNumber    User Name Organization Name


17-SEP-2008

      13761


        SMITH'S LP SUPPLY CO. 

Here first row of table is considered as column so using getcelldata method for first row of web table
 For clmNo =1 to mGetColumnCount
    msgbox   Browser("XYZ").Page("OBC").WebTable("Request Summary").GetCellData(1,clmNo)
 Next

No comments:

Post a Comment

Which one is right ?

Translate







Tweet