07-20-2010, 08:19 PM
HI Hima,
you can get out this issue by following the below steps
1) Add the WebTable object to OR and then use then select "column names" as property and value should be
".*Client Number;.*"
2) Now use the index value to identify the webtable ( I think it should be around 2 or more)
3) Now try to use the "GetRowWithCellText" method to get the row number of with the desired test
Please try this and let me know if you need any more info.
you can get out this issue by following the below steps
1) Add the WebTable object to OR and then use then select "column names" as property and value should be
".*Client Number;.*"
2) Now use the index value to identify the webtable ( I think it should be around 2 or more)
3) Now try to use the "GetRowWithCellText" method to get the row number of with the desired test
Code:
RowNumber = Browser("II").Page("II - Client_2").WebTable("ClientSearchResults").GetRowWithCellText("00371896")
CellData = Browser("II").Page("II-Client_2").WebTable("ClientSearchResults").GetCellData(ColumnNumber,RowNumber)
'U can give ColumnNumber as "1" if no other blank columns are exist.
Browser("II").Page("II - Client_2").WebElement(CellData).Highlight
Browser("II").Page("II - Client_2").WebElement(CellData).FireEvent "ondblclick"
'I think there are certain cases where we have to double click on the rows inorder to open if it is only selection then you can use .click"
Thanks,
SUpputuri
SUpputuri