On Tuesday, May 14, 2013 4:36:28 AM UTC-7, Željko Filipin wrote:
>
> On Tue, May 14, 2013 at 1:34 PM, v b baba kanchustambham 
> <[email protected]<javascript:>
> > wrote:
>
>> I mean to say the :class ' Abcc5464c1acc4c48b277f0e6d02c**e**75e12896 ' 
>> is dynamically changing every time we generate the report.
>>
>
> What is _not_ changing?
>
> Željko
>

Actually, lets ask that a slightly different way.  If you were a human, 
looking at the report in a browser, how would you verify it was correct? 
 what would you look at, how would you know where to locate things?  are 
there labels or identifiers that are in a fixed relation to the values you 
need to examine? 

Usually it's possible to construct your tests to mimic that logic, instead 
of looking for a specific cell location (row,column).

That or if testability is important, you may want to ask your developers to 
generate HTML that is easier to test and verify, such as giving predictable 
name or ID values to cells holding specific data that needs to be 
validated.  Potentially it could cost a LOT less developer time to make a 
few simple changes to make this stuff easier to automate, than having you 
have to review it manually, or create brittle unreliable tests that can't 
be trusted.  

-- 
-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

[email protected]
http://groups.google.com/group/watir-general
[email protected]

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to