Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
GetRowwithCellText(dataTable.Value())
#1
Not Solved
hi, can anyone help me with the below code...

Code:
Set oDesc = Description.Create
oDesc("micclass").value= Link
temp=DataTable.Value("A", dtGlobalSheet)
row=Browser("XYZ").Page(ABC").WebTable("MNO").GetRowWithCellText(temp,1,1)
set Link =Browser("XYZ").Page(ABC").WebTable("MNO").childItems(row,1,"Link",0)
Link.click

Running this code, i get either "object required" error or "invalid aruguments" passed error on Set link line.
my datatable has a integer value. Can GetRowWithCellText and Datatabale value go together?

scenario of the script is , I create a request and capture the request number say 005 in datatable. on a different web page, i open a web table which shows me the created requests. I need to click the link against the request 005. the web table has 5 coloumns and link to be clicked is in last coloumn
eg:
request decsription date Price
001 .... .... 100 Link
002 ... .... 100 Link
and so on..
so for every new request created a new row gets added in web table with the request number, i need to select that newely created request.
i tried using above script but it isnt working as expected...
Reply


Messages In This Thread
GetRowwithCellText(dataTable.Value()) - by uma87 - 07-29-2011, 06:48 PM

Forum Jump:


Users browsing this thread: 5 Guest(s)