02-03-2012, 11:45 PM
I need a better way to check if a table is visible or not. Currently, if the WebTable is not visible, I open it. I determine which WebTable is needed by finding the "html id" but so far, my code always triggers.
My code is such:
Can anyone give me a better idea?
thx ;-)
My code is such:
Code:
NGNum = Browser("Wisdom").Page("Wisdom IA").Frame("parent").WebTable("innertext:=" & GroupName &".*", "visible:=True").WebTable("innertext:=" & "Document Type.*", "visible:=True").GetROProperty("html id")
If Not Browser("Wisdom").Page("Wisdom IA").Frame("parent").WebTable("innertext:=" & GroupName &".*").WebTable("innertext:=" & "Document Type.*", "visible:=True", "html id:=" & NGNum ).Exist(0) Then
Browser("Wisdom").Page("Wisdom IA").Frame("parent").Link("name:=" & GroupName, "visible:=True").Click
thx ;-)