Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to get values of childItem of a webtable
#15
Solved: 10 Years, 9 Months, 4 Weeks ago
hi friends,

Need help!!


1st Problem:
As suggested i am getting outerhtml of webtables.
Now i want qtp to wait until outerhtml of my webtable changes

I am using the below code:
Code:
Browser("Name:=CDD").Page("Title:=CDD").WebTable("name:=Refresh View").WebTable("name:=Ignore").Object.rows(1).cells(1).waitproperty "outerhtml", micRegExpMatch("<TD style=" & "COLOR: \#([f|F|0]{6})"& ">[\w\W]*?</TD>")

Error message:: "Object doesn't support this property or method"


2nd Problem:
I am having problem in asking qtp to wait until a button appears:-
but button appears when my outerhtml of above cell is blue(td color), and if it is red then button doesn't appear(that means there is some error)

problem is when button is red my second webtable name changes to "Delete" and when it is blue it changes to "Ignore"

so if i tell qtp to wait until button is visible, then qtp fails when there is some error(because button will not visible if it is failed)
Please suggest the correct way..

(I know my question is not related to this post but as a reference of code snippets posted earlier, posting in this thread )

Thanks & Regards
Zeeshan

Reply


Messages In This Thread
RE: how to get values of childItem of a webtable - by zeeshanyshaikh - 02-28-2012, 02:10 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Link in a webtable in a webtable Soulwalker 1 2,718 07-19-2017, 01:44 PM
Last Post: Ankur
  Webtable actions are not getting recorded, but ObjectSpy is able to identify webtable sahilarora2000 2 3,669 06-13-2014, 04:27 PM
Last Post: vinod123
  Unable to read numeric values from WebTable into Datatable Akhila 2 4,488 11-26-2013, 03:43 PM
Last Post: Akhila
  Webtable().GetCellData() Returns hidden values of Cells ssvali 4 5,700 06-07-2013, 08:37 PM
Last Post: kawsar
  How to compare local sheet values with run time data table values? test71 2 8,162 03-14-2008, 07:09 PM
Last Post: test71

Forum Jump:


Users browsing this thread: 1 Guest(s)