Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Reading Editboxes in Table
#1
Not Solved
Hello,

I am trying to read values in edit boxes that are in a webtable.

There are 8 rows and 2 columns in the table, and each cell has an edit box. If I write a look to go from 1 to 8. The loop is looking at each row, instead of going through entire column.

My question is, how can I loop through the each column in a table before looping through the next column. Please see code below and the attachment.

Thanks,
Raj

Code:
Set a = Browser("Asset Price Verification").Page("Asset Price Verification").WebTable("Tiered Dealer Dispersion")

RowCount = a.GetROProperty("rows")
ColumnCount = a.GetROProperty("Cols")


Set oEdit = Description.Create()
oEdit("micclass").value = "WebEdit"

set Childobj = Browser("Asset Price Verification").Page("Asset Price Verification").WebTable("Tiered Dealer Dispersion").ChildObjects(oEdit)

    For j = 1 to RowCount

For i = 1 to ColumnCount

Next
            eValue = Childobj(j).GetRoProperty("value")
                IF eValue <>""  THEN

                    Reporter.ReportEvent 0, "All the data has be populated "&eValue, "Successful"
                                    ELSE

                    Reporter.ReportEvent 1, "All the data has NOT been populated "&eValue, "FAIL"
                                END IF

    Next
Next


Attached Files Image(s)
   
Reply


Messages In This Thread
Reading Editboxes in Table - by Raj20091 - 07-08-2010, 09:40 PM
RE: Reading Editboxes in Table - by Saket - 07-09-2010, 09:48 AM
RE: Reading Editboxes in Table - by Raj20091 - 07-09-2010, 07:18 PM
RE: Reading Editboxes in Table - by Arun Prakash - 07-10-2010, 02:10 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Reading XML Data from a WebPage shaan.mishra87@gmail.com 1 2,300 09-28-2016, 09:16 PM
Last Post: supputuri
  Reading an amount from statement shipu 0 1,949 12-24-2013, 01:42 AM
Last Post: shipu
  reading a value for GIF image sujaravi123 1 2,581 03-29-2012, 07:47 PM
Last Post: Ankesh
  Reading the position (x,y) of a text in WebElement writetoprabha 2 6,579 05-30-2011, 02:08 PM
Last Post: Sathiya
Exclamation I wanted to automate the process of reading new emails amit198026 2 3,117 09-07-2010, 09:45 AM
Last Post: Arun Prakash

Forum Jump:


Users browsing this thread: 1 Guest(s)