sorry for the delayed response...i already added this site as "Trusted
site" still it is not working,But for the particular screen it shows
"Unknown Zone (Mixed)"
On Nov 26, 11:56 am, Ethan <notet...@gmail.com> wrote:
> You can try adding the relevant domain(s) you are using to the list of
> trusted sites in IE options.
>
>
>
> On Thu, Nov 26, 2009 at 08:13, kumar <gki...@gmail.com> wrote:
> > Hi,
> >  You can not able to access the frame as your frames says access
> > denied.
> >  This is cross domain issue which you can solve by adding the IP
> > address in host file(Not sure whether it works in your case)
> >  Talk to your developers regarding this issue.They might help you.
>
> > Regards,
> > Kiran.
>
> > On Nov 23, 11:32 pm, mohe <j.mohanpra...@gmail.com> wrote:
> > > I  need to fill the 2 fields in my application(“Requester ID”,”Policy
> > > Number”).
> > > The issue is. these 2 fields are not recognize by watir and it throws
> > > error like
> > > “ c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/frame.rb:40:in
> > > `locate': Unable to locate a frame with name Main
> > > (Watir::Exception::UnknownFrameException)
> > >                 from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/
> > > watir/frame.rb:47:in `initialize'
> > >                 from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/
> > > watir/container.rb:102:in `new'
> > >                 from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/
> > > watir/container.rb:102:in `frame' “
>
> > > I went through all the forums and nothing is worked out
>
> > > My Observations:
>
> > > 1.When I highlight the field by Developer tool bar it shows only the
> > > frames, not element properties. Means I am not able to open
> > > highlighted frame(screenshot below)
>
> > > 2. “ie.show _frames” gives below result.
> > > there are 2 frames
> > > frame  index: 1 name: Top
> > > frame  index: 2 Access Denied
> > >  3.i tried all the combinations of code like below.
> > > $ie.frame(:name,"Main").text_field(:name,"txtRequestor").set("ABC")
> > > $ie.frame(:name,"Main").frame(:name,"Top").text_field
> > > (:name,"txtRequestor").set("ABC")
> > >                 $ie.frame(:src,"illustrations_body.aspx?
> > > PolicyNumber=").text_field(:name,"txtPolicyNo").value="ABC"
>
> > > 4.i have added this site as a trusted site in internet options. and
> > > also I tried to navigate this page by using “go to “ syntax
>
> > > I have attached my html code also .Could you me to get resolve
> > > this..Thank you.
>
> > > Html Code:
>
> > >                                 </select></td>
> > >                         </tr><tr id="TableRow5">
> > >                                 <td id="tableCell5" align="left"
> > colspan="1"><span id="Label2"
> > > style="font-weight:bold;">Requestor ID:</span></td><td id="tableCell6"
> > > align="left" colspan="1"><input name="txtRequestor" type="text"
> > > maxlength="3" id="txtRequestor" onblur="return ToUpperCase
> > > ( txtRequestor , 3)" style="width:50px;" /></td>
> > >                         </tr><tr id="TableRow6">
> > >                                 <td id="tableCell7" align="left"
> > colspan="1"><span id="Label3"
> > > style="font-weight:bold;">Policy Number:</span></td><td
> > > id="tableCell8" align="left" colspan="1"><input name="txtPolicyNo"
> > > type="text" maxlength="10" id="txtPolicyNo" onblur="return IsNumericlen
> > > ( txtPolicyNo , 8)" style="width:80px;" /></td>
> > >                         </tr><tr id="TableRow7">
> > >                                 <td id="tableCell9" align="left"
> > colspan="1">
> > >                                     &nbsp;
> > >                                     </td><td id="tableCell10"
> > > align="left" colspan="1"><input type="submit" name="btnEnter"
> > > value="   Enter   " onclick="Form_Validator();" id="btnEnter" /></td>
> > >                         </tr>
> > >                 </table>
> > >                         </fieldset>
>
> > --
> > 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- Hide quoted text -
>
> - Show quoted text -

-- 
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