07-09-2008, 11:07 PM
I have a similar problem.
On the web page is a number displayed. I have to check the number if it's correct. The Problem is that the number is dynamic:
<div style="height:15px;width:180px;margin-top:45px;font-weight:bold;text-align:right;">16.355 </div>
I don't know how to address the shown number to check wether it is right or wrong (for example a negative number or a number that is too high).
In the object spy the number is visible as a webelement: (e.g. 18.422).
The number is visible in the source code like above, because its a server-side filled variable and there is no name or html id, so i'm not able to adress the number.
Is there another way to solve the problem without a html id?
On the web page is a number displayed. I have to check the number if it's correct. The Problem is that the number is dynamic:
<div style="height:15px;width:180px;margin-top:45px;font-weight:bold;text-align:right;">16.355 </div>
I don't know how to address the shown number to check wether it is right or wrong (for example a negative number or a number that is too high).
In the object spy the number is visible as a webelement: (e.g. 18.422).
The number is visible in the source code like above, because its a server-side filled variable and there is no name or html id, so i'm not able to adress the number.
Is there another way to solve the problem without a html id?