:) It may not help. Some developers change object coordinates of the object
to negative values and it make the not visible.
But yes, the bottom line is to check with developers how they hide the
objects. Also it is important to know how "class" attribute used in HTML.
somewhere in .css file may be written
.notvisible{
position:absolute;
left:-999px;
top:-999px;
}
On Sat, Nov 5, 2011 at 1:49 PM, iRahulSingh <[email protected]>wrote:
> Hi Dan,
>
> You can " Browser().Page().WebObject().Object.style.display " property
> to get the value from <tbody style="display: none;">
> when object will be invisible, it will have value NONE and when it
> appears/visible it will have value as "" or something else.
>
> Hope it will be helpful.
>
> Cheers -
> Rahul
>
> On Nov 4, 6:56 pm, Dan Franko <[email protected]> wrote:
> > QTP appears to be reporting an element as visible, even though it's not.
> > The element itself doesn't have visibility set, but the entire tbody
> that
> > it's contained in us not. Any ideas why and how to get around this?
> >
> > <tbody style="display: none;">
> > <tr>
> > <td align="center" colspan="8">
> > <div class="progress">
> > <span class="notvisible">Don't show me.</span>
> > </div>
> > </td>
> > </tr>
> > </tbody>
>
> --
> You received this message because you are subscribed to the Google
> "QTP - HP Quick Test Professional - Automated Software Testing"
> group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/MercuryQTP?hl=en
>
--
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en