Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
css sprited image checking
#1
Not Solved
Hi,

have you any idea on how checking a sprite image (from CSS) ?

I would like to check if the good part of the sprite is visible.

The html code is like :
Code:
<td class="gridCell " tabindex="-1" headers="th-dependencies_grid_dependencyStatus">
<span>
<span class="xxxGridIcon xxxGridValid"> </span>
</span>
</td>

The css code is like:
Code:
.xxxGridIcon {
    background-image: url("images/xxx/xxxGrid.png");
    background-repeat: no-repeat;
    height: 16px;
    text-align: center !important;
    width: 16px;
}
.xxxGridValid {
    background-position: 0 center;
}

Attachment : the sprite image

Regards


Attached Files Image(s)
   
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  spell checking of web objects kriday 3 3,958 07-05-2013, 01:37 PM
Last Post: Staff
  Does CSS in QTP can help identifying objects only ??? keeper_13 5 5,449 06-07-2013, 02:19 AM
Last Post: keeper_13
  QTP 9.2 Checking values in a dropdown list Poonam 5 21,053 11-29-2011, 04:40 PM
Last Post: vibhakhandelwal
  Checking docs into Sharepoint using QTP Brian.Osborne 2 5,919 02-17-2011, 02:04 AM
Last Post: Brian.Osborne
  Negative Tests - Checking for links which should NOT be present. Kartal 3 3,170 12-09-2010, 09:25 PM
Last Post: Kartal

Forum Jump:


Users browsing this thread: 1 Guest(s)