Any help on this?


On Tuesday, March 19, 2013 9:03:20 AM UTC-5, Pavan Turlapati wrote:
>
>
> Hello,
>                I got one more problem which I need some experts to help 
> me. I have a radiobutton which is present under the iFrame but when I try 
> any of the below lines I am getting the 
> *"Watir::Exception::UnknownFrameException: 
> Unable to locate element, using {:tag_n" error. *
>
>
> The HTML tag when I copied from IE developer tool looks like :
>  <input name="$PpyWorkPage$pMakeMeaningfulContact" class="Radio" 
> id="$PpyWorkPage$pMakeMeaningfulContactN/A" style="vertical-align: middle;" 
> type="radio" value="N/A"/>
>
> I also tried to save the html but the saved Html does not contain the 
> field I was looking(May be I should even know how to get the HTML). So, an 
> alternative I have got three image files which is the only reference I have.
>
> Could somebody suggest me some solution.
>
> *What I tried.*
>
> 1==> $ie.iframe(:name => 'actionIFrame',:title=>'Take 
> Action').radio(:id=>'$PpyWorkPage$pMakeMeaningfulContactN/A').set 
>
> 2==> $ie.iframe(:name => 
> 'actionIFrame').radio(:id=>/\w*MakeMeaningfulContactYes\w*/).set
>
> 3==> $ie.iframe(:id => 'PWGadget5Ifr').frame(:name=>'actionForm').html
>
> Any help is highly appreciated. 
>
> Thanks,
> Pavan T
>
>
>

-- 
-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

[email protected]
http://groups.google.com/group/watir-general
[email protected]

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to