11-10-2011, 11:51 AM
Hi Lekha,
Have you tried spying on the area where these output values are displayed in the application? If it is a webtable, your job gets easier.
If it is a webtable:
I am giving example for "FirstName Lekha" type.
Hope this helps you.
Have you tried spying on the area where these output values are displayed in the application? If it is a webtable, your job gets easier.
If it is a webtable:
I am giving example for "FirstName Lekha" type.
Code:
getRowCount = Browser("").Page("").WebTable("").GetROProperty("rows")
For counter = 1 To getRowCount
DataTable.SetCurrentRow(counter)
DataTable("Column1",dtLocalSheet) = Browser("").Page("").WebTable("").GetCellData(counter,1) //It will give you FirstName/LastName i.e values present under 1st column
DataTable("Column2",dtLocalSheet) = Browser("").Page("").WebTable("").GetCellData(counter,2) //It will give you Lekha/Das i.e values present under 2nd column
Next
DataTable.SetCurrentRow(1)
Hope this helps you.