Can you include the ruby code you are using to retrieve the text? I
have never seen such behavior in firewatir.

On Wed, Feb 10, 2010 at 02:36, Betsy <[email protected]> wrote:
> Hi Tiffany,
>
> Waiting for your response on the issue with the .text method.
>
> On Feb 8, 8:40 am, Betsy <[email protected]> wrote:
>> Hi Tiffany,
>>
>> Hope you have received the source code and other details as required.
>>
>> Kindly help us out with a resolution.
>>
>> Thanks in advance,BetsyJoy.
>>
>> On Feb 5, 9:14 am,Betsy<[email protected]> wrote:
>>
>>
>>
>> > Hi Tiffany,
>>
>> > The source code is as below:-
>>
>> > <!doctype html public "-//w3c//dtd html 4.0 transitional//en">
>>
>> > <script>
>> > var searchKey = '355a3|0c|54|49|2ac92_';
>> > </script>
>>
>> > <script>
>> > var tripType = 'O';
>> > var isSpecial = false;
>>
>> > function selectAirline(airline){
>> >         var airline_arr = new Array();
>> >         var ct = 0;
>> >         airline_arr[0] = airline;
>> >         if(airline.indexOf("^") != -1){
>> >                 airline_arr = airline.split("^");
>> >         }
>> >         for(var m=0;m<airline_arr.length;m++){
>> >                 airline = airline_arr[m];
>>
>> >                                                 airlineCodes[ct] = 'G8';
>> >                                                 ct = ct+1;
>> >                                                 if(airline == "G8"){
>> >                                                         airline = "Go Air";
>> >                                                 }
>>
>> >                                                 airlineCodes[ct] = 'SG';
>> >                                                 ct = ct+1;
>> >                                                 if(airline == "SG"){
>> >                                                         airline = 
>> > "Spicejet";
>> >                                                 }
>>
>> >                                                 airlineCodes[ct] = '6E';
>> >                                                 ct = ct+1;
>> >                                                 if(airline == "6E"){
>> >                                                         airline = "IndiGo";
>> >                                                 }
>>
>> >                                                 airlineCodes[ct] = 'S2';
>> >                                                 ct = ct+1;
>> >                                                 if(airline == "S2"){
>> >                                                         airline = "Jet 
>> > Lite";
>> >                                                 }
>>
>> >                                                 airlineCodes[ct] = 'DN';
>> >                                                 ct = ct+1;
>> >                                                 if(airline == "DN"){
>> >                                                         airline = 
>> > "Kingfisher Red";
>> >                                                 }
>>
>> >                                                 airlineCodes[ct] = 'JK';
>> >                                                 ct = ct+1;
>> >                                                 if(airline == "JK"){
>> >                                                         airline = "Jet 
>> > Konnect";
>> >                                                 }
>>
>> >                                                 airlineCodes[ct] = '9W';
>> >                                                 ct = ct+1;
>> >                                                 if(airline == "9W"){
>> >                                                         airline = "Jet 
>> > Airways";
>> >                                                 }
>>
>> >                                                 airlineCodes[ct] = 'IT';
>> >                                                 ct = ct+1;
>> >                                                 if(airline == "IT"){
>> >                                                         airline = 
>> > "Kingfisher Class";
>> >                                                 }
>>
>> >                                                 airlineCodes[ct] = 'GC';
>> >                                                 ct = ct+1;
>> >                                                 if(airline == "GC"){
>> >                                                         airline = "Go 
>> > Business";
>> >                                                 }
>>
>> >                                                 airlineCodes[ct] = 'JL';
>> >                                                 ct = ct+1;
>> >                                                 if(airline == "JL"){
>> >                                                         airline = "Jet 
>> > Lite Codeshare";
>> >                                                 }
>>
>> >                                                 airlineCodes[ct] = 'IC';
>> >                                                 ct = ct+1;
>> >                                                 if(airline == "IC"){
>> >                                                         airline = "Air 
>> > India IC";
>> >                                                 }
>>
>> >                                                 airlineCodes[ct] = 'AI';
>> >                                                 ct = ct+1;
>> >                                                 if(airline == "AI"){
>> >                                                         airline = "Air 
>> > India";
>> >                                                 }
>>
>> >             var groupLength =
>> > document.getElementsByName('carrierName').length;
>> >             for (var i = 0; i < groupLength; i++) {
>> >                 if (document.getElementsByName('carrierName')[i].value ==
>> > airline) {
>> >                     document.getElementsByName('carrierName')[i].checked =
>> > true;
>> >                 }
>> >                 else if (airline == "selectAllAirline") {
>> >                 document.getElementsByName('carrierName')[i].checked =
>> > true;
>> >             }
>> >                 else if(m==0) {
>> >                 document.getElementsByName('carrierName')[i].checked =
>> > false;
>> >             }
>> >             }
>> >         }
>>
>> > }
>>
>> > function findPosX(obj){
>> > var curleft=0;
>> > if(obj.offsetParent){
>> >    while(obj.offsetParent){
>> >         curleft+=obj.offsetLeft;
>> >         obj=obj.offsetParent;
>> >         }
>> >    }else if(obj.x)
>> >     curleft+=obj.x;
>> >     return curleft;
>>
>> > }
>>
>> > function findPosY(obj){
>> >    var curtop=0;
>> >     if(obj.offsetParent){
>> >     while(obj.offsetParent){
>> >     curtop+=obj.offsetTop;
>> >     obj=obj.offsetParent;
>> >     }
>> >     }else if(obj.y)
>> >      curtop+=obj.y;
>> >    return curtop;
>> >  }
>>
>> > function
>> > showFareSummary(adults,childs,infants,aFare,cFare,iFare,aTax,cTax,iTax,base
>> >  Fare,tax,total,
>> > utmCharge, totalUtmCharges,evt)
>> > {
>> >         document.getElementById("showDetailsDiv").style.display = "block";
>> >         var x = evt.clientX - 120 ;
>> >         var y = evt.clientY + document.body.scrollTop + 4;
>>
>> >         var divObj = document.getElementById("showDetailsDiv");
>> >         divObj.style.position = "absolute";
>> >         divObj.style.left = x;
>> >         divObj.style.top = y;
>>
>> >         var innerHTMLBaseFare = "";
>> >         var innerHTMLTax = "";
>> >         if(adults > 0) {
>> >                 innerHTMLBaseFare = innerHTMLBaseFare + "<tr 
>> > style='font-size:
>> > 10px'><td>" + adults + " Adult(s) :</td><td> Rs. " + aFare + "</
>> > td><tr>" ;
>> >                 innerHTMLTax = innerHTMLTax + "<tr style='font-size: 
>> > 10px'><td>" +
>> > adults + " Adult(s) :</td><td> Rs. " + aTax + "</td><tr>" ;
>> >         }
>> >         if(childs > 0) {
>> >                 innerHTMLBaseFare = innerHTMLBaseFare + "<tr 
>> > style='font-size:
>> > 10px'><td>" + childs + " Child(s) :</td><td> Rs. " + cFare + "</
>> > td><tr>" ;
>> >                 innerHTMLTax = innerHTMLTax + "<tr style='font-size: 
>> > 10px'><td>" +
>> > childs + " Child(s) :</td><td> Rs. " + cTax + "</td><tr>" ;
>> >         }
>> >         if(infants > 0) {
>> >                 innerHTMLBaseFare = innerHTMLBaseFare + "<tr 
>> > style='font-size:
>> > 10px'><td>" + infants + " Infant(s) :</td><td> Rs. " + iFare + "</
>> > td><tr>" ;
>> >                 innerHTMLTax = innerHTMLTax + "<tr style='font-size: 
>> > 10px'><td>" +
>> > infants + " Infant(s) :</td><td> Rs. " + iTax + "</td><tr>" ;
>> >         }
>>
>> >         var innerHTML = "<table cellpadding='0' cellspacing='0' width='180'
>> > style='border: 2px solid #28166F;background-color: #FFFFFF;font-size:
>> > 10px;text-align: left;'>";
>> >         innerHTML = innerHTML+"<tr><td colspan='2' 
>> > bgcolor='#28166F'><b><font
>> > size=\"2\" color=\"white\">Fare Summary</font></b></td></tr>";
>> >         innerHTML = innerHTML+"<tr><td colspan='2' valign='middle'
>> > style='border-bottom:1px solid #7CBCE7;font-size: 10px'><b>Base Fare</
>> > b></td></tr>";
>> >         innerHTML = innerHTML+innerHTMLBaseFare;
>>
>> ...
>>
>> read more »
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Watir General" group.
> To post to this group, send email to [email protected]
> Before posting, please read the following guidelines: 
> http://wiki.openqa.org/display/WTR/Support
> To unsubscribe from this group, send email to 
> [email protected]
> 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 [email protected]
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/watir-general

Reply via email to