04-25-2011, 06:28 PM
(This post was last modified: 04-25-2011, 06:50 PM by satishkumarm.)
Hi Saket,
May i know the reason for using '4' in childitem(nRow,4, "WebElement",0)
i ran the script which you gave but its giving error as statment contains one or more invalid function arguements..please help me out
Thanks in advance
Sorry Now there is no error appeared to me but at the sametime no action takes place..I have used your code as below..
O/P values:
r=4
c=1
May i know the reason for using '4' in childitem(nRow,4, "WebElement",0)
i ran the script which you gave but its giving error as statment contains one or more invalid function arguements..please help me out
Thanks in advance
Sorry Now there is no error appeared to me but at the sametime no action takes place..I have used your code as below..
Code:
Set AdmissionRequests = Browser("browsername").Page("Inpatient").Frame("Admission Requests")
nrow = AdmissionRequests.WebTable("Requested Admission Date").GetRowWithCellText("AR1100000113")
PRINT r
c = AdmissionRequests.WebTable("Requested Admission Date").ColumnCount(nrow)
PRINT c
Set oElem = AdmissionRequests.WebTable("Requested Admission Date").ChildItem(nrow, c, "WebElement", 0)
oElem.Click
O/P values:
r=4
c=1