02-06-2012, 09:39 PM
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
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