validate Entire table Text(comes on mouseover) in 1 step
Posted: Thu Sep 06, 2012 11:09 am
Hello,
I am trying Ranorex to check if it works well for automating tests for my website.
In the site, we are having some links that show a popup containing some information on mouse over.
I have to validate this information. Please refer the attached image file.
From the developer tool, I am getting following information:
<a onmouseover="ShowPopUp(this,'<table><tr><td>[[Image: Landscape2.jpeg]] [[Image: Landscape1.jpg...</td><td>12</td></tr><tr><td>[BLANK]</td><td>12</td></tr><tr><td>Landscaping Considerations</td><td>12</td></tr><tr><td>[BLANK]</td><td>12</td></tr><tr><td>April 1, 2012</td><td>12</td></tr><tr><td>[BLANK]</td><td>12</td></tr><tr><td>Landscaping can be a pleasurable and rewarding exp...</td><td>12</td></tr><tr><td>Landscaping as a Weather Barrier</td><td>10</td></tr><tr><td>When designing landscaping as a weather deterrent,...</td><td>12</td></tr><tr><td>Landscape garden hedges can be formal or informal ...</td><td>12</td></tr><tr><td>Time is also a factor when selecting weather-resis...</td><td>12</td></tr><tr><td>Willow hybrid</td><td>12</td></tr><tr><td>American Holly</td><td>12</td></tr><tr><td>Lombardy Poplar</td><td>12</td></tr><tr><td>Landscaping that Attracts Butterflies</td><td>12</td></tr><tr><td>[[Image: Picture 6]] </td><td>12</td></tr><tr><td>Landscape design is not limited to the selection o...</td><td>12</td></tr><tr><td>Planting nectar flowers for butterflies and food p...</td><td>12</td></tr><tr><td>Planting flowers in abundance.</td><td>12</td></tr><tr><td>Selecting flower-species of various heights—some b...</td><td>12</td></tr><tr><td>Including flowers that bloom at various times of t...</td><td>12</td></tr><tr><td>In addition to the above steps, it is important to...</td><td>12</td></tr><tr><td>Landscaping to Minimize Water Use</td><td>12</td></tr><tr><td>One final consideration when designing a landscape...</td><td>12</td></tr><tr><td>When developing a water-conscious landscape, “Plan...</td><td>12</td></tr><tr><td>Regardless of what individual preferences determin...</td><td>12</td></tr><tr><td>[BLANK]</td><td>12</td></tr><tr><td>[BLANK]</td><td>12</td></tr></table>')" jQuery1704521690633913788="395">
The only way I am getting now to validate this information is to validate each cell text. But as there are too many cells and I need to validate similar info at a number of other places also, this way wont be suitable for me.
I would like to know if there is some way to validate the entire table information(entire text) in a single step.....OR some way to get information about the script(the code) used for "onmouseover" event.
Thanks and Regards,
Shruti
I am trying Ranorex to check if it works well for automating tests for my website.
In the site, we are having some links that show a popup containing some information on mouse over.
I have to validate this information. Please refer the attached image file.
From the developer tool, I am getting following information:
<a onmouseover="ShowPopUp(this,'<table><tr><td>[[Image: Landscape2.jpeg]] [[Image: Landscape1.jpg...</td><td>12</td></tr><tr><td>[BLANK]</td><td>12</td></tr><tr><td>Landscaping Considerations</td><td>12</td></tr><tr><td>[BLANK]</td><td>12</td></tr><tr><td>April 1, 2012</td><td>12</td></tr><tr><td>[BLANK]</td><td>12</td></tr><tr><td>Landscaping can be a pleasurable and rewarding exp...</td><td>12</td></tr><tr><td>Landscaping as a Weather Barrier</td><td>10</td></tr><tr><td>When designing landscaping as a weather deterrent,...</td><td>12</td></tr><tr><td>Landscape garden hedges can be formal or informal ...</td><td>12</td></tr><tr><td>Time is also a factor when selecting weather-resis...</td><td>12</td></tr><tr><td>Willow hybrid</td><td>12</td></tr><tr><td>American Holly</td><td>12</td></tr><tr><td>Lombardy Poplar</td><td>12</td></tr><tr><td>Landscaping that Attracts Butterflies</td><td>12</td></tr><tr><td>[[Image: Picture 6]] </td><td>12</td></tr><tr><td>Landscape design is not limited to the selection o...</td><td>12</td></tr><tr><td>Planting nectar flowers for butterflies and food p...</td><td>12</td></tr><tr><td>Planting flowers in abundance.</td><td>12</td></tr><tr><td>Selecting flower-species of various heights—some b...</td><td>12</td></tr><tr><td>Including flowers that bloom at various times of t...</td><td>12</td></tr><tr><td>In addition to the above steps, it is important to...</td><td>12</td></tr><tr><td>Landscaping to Minimize Water Use</td><td>12</td></tr><tr><td>One final consideration when designing a landscape...</td><td>12</td></tr><tr><td>When developing a water-conscious landscape, “Plan...</td><td>12</td></tr><tr><td>Regardless of what individual preferences determin...</td><td>12</td></tr><tr><td>[BLANK]</td><td>12</td></tr><tr><td>[BLANK]</td><td>12</td></tr></table>')" jQuery1704521690633913788="395">
The only way I am getting now to validate this information is to validate each cell text. But as there are too many cells and I need to validate similar info at a number of other places also, this way wont be suitable for me.
I would like to know if there is some way to validate the entire table information(entire text) in a single step.....OR some way to get information about the script(the code) used for "onmouseover" event.
Thanks and Regards,
Shruti