Micro Focus QTP (UFT) Forums
test display value of englobing Span - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: test display value of englobing Span (/Thread-test-display-value-of-englobing-Span)



test display value of englobing Span - gerfred - 01-28-2011

Hi,

on web appli, i try to check if a button is visible on screen.

This button is hidden by a sub level SPAN with a display=none style value, or is available if display=inline-block.
I was able to add the button to OR but how to check display value from upper SPAN

something like:


Code:
<span class="bla bla ..." [color=#FF4500]style="display: none;"[/color]> [color=#FF69B4]<== WHAT I WANT TO CHECK[/color]
   <span class="djfhjdfvjh"
       <span class="sdfsdfdf sdfgg"
             <[color=#32CD32]button id="myButton"[/color] class="dfjsdfj" type="button" .... style="-moz-user-select: none;">   [color=#FF69B4]<== THE BUTTON[/color]
             </button>
      </span>
   </span>
</span>



RE: test display value of englobing Span - gerfred - 02-14-2011

hi,

no ideas ?