Many thanks for the suggestions, I think maybe I will just stick with
checking the class for the moment. I suppose the only thing that should
make it fail would be an accidental edit of the stylesheet or somehow
overriding the display property with another style.
Thinking about it there are lots
Colin Law wrote:
[...]
>> * Use JavaScript to check that display:hidden is properly set.
>
>
> I cannot see how to integrate this into an automated test.
Hmm, gotta think about that some more. But there should be a way.
>
>
>>
>> * Generate a PDF file with the browser's Print command, then
2009/5/8 Marnen Laibow-Koser
>
> Colin Law wrote:
> [...]
> > I cannot check that they actually will be hidden when printing. Is
> > there
> > any way to do this?
>
> Several ideas come to mind.
>
> * Use JavaScript to check that display:hidden is properly set.
I cannot see how to integrate th
Colin Law wrote:
[...]
> I cannot check that they actually will be hidden when printing. Is
> there
> any way to do this?
Several ideas come to mind.
* Use JavaScript to check that display:hidden is properly set.
* Generate a PDF file with the browser's Print command, then parse it
somehow.
*
4 matches
Mail list logo