Thread Rating:
  • 1 Vote(s) - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QTP not selecting appropriate webelement from the webtable..Need Solution
#3
Solved: 11 Years, 4 Months, 4 Weeks ago
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..


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
Reply


Messages In This Thread
RE: QTP not selecting appropriate webelement from the webtable..Need Solution - by satishkumarm - 04-25-2011, 06:28 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Exclamation WebElement("WebElement").Click is not working sia sharma 7 24,041 09-28-2016, 08:58 PM
Last Post: supputuri
  Scrambled characters in uft Solution Explorer Dwarak Calayampundi 0 1,566 05-25-2016, 05:02 AM
Last Post: Dwarak Calayampundi
  QTP not recording script for webtable alpha1 4 2,942 07-20-2015, 03:47 PM
Last Post: alpha1
  Selecting values from drop down using QTP. prempujaripati 2 46,858 06-26-2014, 06:06 PM
Last Post: rasmirani
  Selecting file saved in a location excellentpawan 1 4,080 02-25-2014, 02:05 PM
Last Post: guin.anirban

Forum Jump:


Users browsing this thread: 1 Guest(s)