Re: Re: Re: Httpunit-develop digest, Vol 1 #1536 -
"Mithun Ruikar" <[email protected]>
| Newsgroups | gmane.comp.web.httpunit.devel |
|---|---|
| Message-ID | <[email protected]> |
the difference i saw is that actual view source from IE browser: <div> <font .. </font> <div> ..</div> <div>..</div> <div> but after response.getText() call the source obtained is <div> <div> ..</div> <div>..</div> <font .. </font> <div> becuase of this change my other tool to which i provide this response as input is not working as it needs this div tag structure in proper originial order. Also changes for some style attributes: originial <select ... style="width:150;" .. obtained from getText() <select ... width="150" .. So can you tell me why this is happening and how can change my httpUnit settings to get exact response. thank you. -- mithun William Pietri <[email protected]> wrote: To: [email protected] Subject: Re: [Httpunit-develop] Re: Httpunit-develop digest, Vol 1 #1536 - 2 msgs Reply-To: [email protected] Mithun Ruikar wrote: > Thank you for reply, > But when i said about i am not getting response text same as original > text, i was using response.getText() itself. > My question is response.getText() is giving me text which is reordered > and slightly changed compared to text obtained when we say view source > in IE browser > So how to do this? > Could you say more about this, Mithun? I'd love to see a diff between the text you believe the server is emitting and what you get from the getText() call. I've used that a fair bit and never seen a difference. Thanks, William