Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Way to check if a table is visible
#3
Solved: 11 Years, 3 Months, 3 Weeks ago
Rajpes,

You always give me such great ideas to try, including this time, thank you.

However, ;-) for whatever reason, even though I cant see the table, visible always will equal True. The code always is found to be True even if the table is hidden to the eye.

So I chatted with the developer on how they view and hide tables when we are looking at them.

His responce: "Look for the object with the name=“NestedGridx”. Check to see if there is a “style” property on that object. We are setting:

• style=”display:none;” – to hide the table
• style=”display:block;” – to show the table

If none of that exists, then QTP is probably providing an equivalent object/property with a different name – like a “visible:=True” which under the covers really is style=”display:block;”. All I can give you is what is actually happening in Image Access. From there, you’ll have to dig into QTP help to figure out how it exposes this."

I of course can see the Property of visble using QtP. I tried set to False then my code is always skipped, if True the code always run.

Have you had any similar issues to resolve before?

thx Rajpes
Reply


Messages In This Thread
Way to check if a table is visible - by mv8167 - 02-03-2012, 11:45 PM
RE: Way to check if a table is visible - by mv8167 - 02-06-2012, 09:39 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [UFT 12.52/VBScript] Test object exist, is visible and enabled before take an action sparkwanted 0 3,650 02-07-2017, 12:28 AM
Last Post: sparkwanted
Exclamation Retrieve the complete height and width of a browser beyond the visible part as wel learnQtptips 0 2,114 05-22-2013, 09:36 AM
Last Post: learnQtptips
  Disabled Webelement is showing up as Visible =True in GUI Spy Shwethareddy 3 3,854 11-07-2012, 02:45 PM
Last Post: Ankesh
Question Get total links visible on a webpage Sanjay_DP 5 6,465 02-16-2012, 10:30 PM
Last Post: Parke
  How to check for duplicate rows/items in table? Aestival 10 13,907 02-25-2011, 10:31 AM
Last Post: chandrashekhar_g

Forum Jump:


Users browsing this thread: 1 Guest(s)