Actually for your HTML code the result returned by Firewatir is as per the
W3C standard. Check this link:
https://bugzilla.mozilla.org/show_bug.cgi?id=316063

I am working on how we can actually make the results similar.
- Angrez

On Thu, Dec 31, 2009 at 11:26 AM, Pallavi Sharma <write2pall...@gmail.com>wrote:

> Thanks Angrez.
>
> Rgds
> Pallavi.
>
> On Thu, Dec 31, 2009 at 11:18 AM, Angrez Singh <ang...@gmail.com> wrote:
>
>> I'll look into this issue.
>> - Angrez
>>
>>
>> On Thu, Dec 31, 2009 at 10:40 AM, Krishna saradka <
>> krishna.sara...@gmail.com> wrote:
>>
>>> <br> by virtue should break the line and what you observe while running
>>> in ie is correct. May be that firewatir is not treating it that way. [I have
>>> not explored firewatir to that extent to confirm this]
>>>
>>> If you can tell us what exactly you are intend to do after getting the
>>> text then we can think of some workaround until we get clarity on the above.
>>>
>>> If you are comparing the string to arrive at some decision then for the
>>> time being try making it compare depending on whether it is ie or ff. Though
>>> this is not a clean way of doing the things.
>>>
>>> Thanks & regards,
>>> KK
>>>
>>> On Thu, Dec 31, 2009 at 10:11 AM, Pallavi Sharma <
>>> write2pall...@gmail.com> wrote:
>>>
>>>> Hi Angrez
>>>>
>>>> Could you please give some time and help with this..
>>>>
>>>> Regards
>>>>
>>>> Pallavi.
>>>>
>>>>
>>>> ---------- Forwarded message ----------
>>>> From: Pallavi Sharma <write2pall...@gmail.com>
>>>> Date: Wed, Dec 30, 2009 at 9:21 AM
>>>> Subject: Re: [wtr-general] Re: Fwd: Regarding Getting Page Text in Watir
>>>> and FireWatir
>>>> To: watir-general@googlegroups.com
>>>>
>>>>
>>>> Hi
>>>>
>>>> My code looks like this:
>>>>
>>>> Say the input is:
>>>>
>>>> <h1> hello <br> bye <br> </h1>
>>>>
>>>> Now if you do from watir saying
>>>>
>>>> puts ie.text
>>>>
>>>> it will print
>>>>
>>>> hello
>>>> bye
>>>>
>>>> so text is seperated by new line
>>>>
>>>> but with firewatir
>>>>
>>>> ff.text
>>>>
>>>> output is:
>>>>
>>>> hello bye
>>>>
>>>> separated by space.
>>>>
>>>> So thats my problem. As the delimiter used by watir and firewatir is not
>>>> same, i cannot simply run my same watir scripts in fire watir.
>>>>
>>>> Any solution or feedback on it...
>>>>
>>>> Regards
>>>> Pallavi.
>>>>
>>>>
>>>> On Wed, Dec 30, 2009 at 4:52 AM, George <george.sand...@gmail.com>wrote:
>>>>
>>>>> Hello,
>>>>>
>>>>> What does your code look like?
>>>>>
>>>>>
>>>>>
>>>>> On Dec 27, 8:15 pm, Pallavi Sharma <write2pall...@gmail.com> wrote:
>>>>> > Hi
>>>>> >
>>>>> > Has anyone here answer for this please.
>>>>> >
>>>>> > Regards
>>>>> > Pallavi.
>>>>> >
>>>>> >
>>>>> >
>>>>> > ---------- Forwarded message ----------
>>>>> > From: Pallavi Sharma <write2pall...@gmail.com>
>>>>> > Date: Tue, Dec 22, 2009 at 10:23 AM
>>>>> > Subject: Regarding Getting Page Text in Watir and FireWatir
>>>>> > To: watir-general@googlegroups.com
>>>>> >
>>>>> > Hello
>>>>> >
>>>>> > If i try to get the page text for watir and firewatir a peculiar
>>>>> problem
>>>>> > arises;
>>>>> >
>>>>> > for watir if there is <br> tag then with the test a new line appers
>>>>> >
>>>>> > but for Firewatir this doesn't happen.
>>>>> >
>>>>> > I am not able to run directly my test cases made in watir into
>>>>> firewatir due
>>>>> > to this behaviour as the split fails on the output of this method .
>>>>> >
>>>>> > Is there is something we could do about it/ or any other way??
>>>>> >
>>>>> > Regards
>>>>> > Pallavi.
>>>>>
>>>>>  --
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "Watir General" group.
>>>>> To post to this group, send email to watir-general@googlegroups.com
>>>>> Before posting, please read the following guidelines:
>>>>> http://wiki.openqa.org/display/WTR/Support
>>>>> To unsubscribe from this group, send email to
>>>>> watir-general-unsubscr...@googlegroups.com
>>>>> For more options, visit this group at
>>>>> http://groups.google.com/group/watir-general
>>>>>
>>>>
>>>>
>>>>    --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Watir General" group.
>>>> To post to this group, send email to watir-general@googlegroups.com
>>>> Before posting, please read the following guidelines:
>>>> http://wiki.openqa.org/display/WTR/Support
>>>> To unsubscribe from this group, send email to
>>>> watir-general-unsubscr...@googlegroups.com
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/watir-general
>>>>
>>>
>>>  --
>>> You received this message because you are subscribed to the Google Groups
>>> "Watir General" group.
>>> To post to this group, send email to watir-general@googlegroups.com
>>> Before posting, please read the following guidelines:
>>> http://wiki.openqa.org/display/WTR/Support
>>> To unsubscribe from this group, send email to
>>> watir-general-unsubscr...@googlegroups.com
>>> For more options, visit this group at
>>> http://groups.google.com/group/watir-general
>>>
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Watir General" group.
>> To post to this group, send email to watir-general@googlegroups.com
>> Before posting, please read the following guidelines:
>> http://wiki.openqa.org/display/WTR/Support
>> To unsubscribe from this group, send email to
>> watir-general-unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/watir-general
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Watir General" group.
> To post to this group, send email to watir-general@googlegroups.com
> Before posting, please read the following guidelines:
> http://wiki.openqa.org/display/WTR/Support
> To unsubscribe from this group, send email to
> watir-general-unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/watir-general
>

-- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general

Reply via email to