Ah, the html didn't have the iframe in it. so:

browser.iframe(id: 'ws').text_field(id: 'claveConsultiva').set "foobar"


On Mon, Nov 24, 2014 at 1:33 PM, Alberto Magalhaes <aacmagalh...@gmail.com>
wrote:

> Thanks Titu..
>
> Bu i think is probably because of the iframe.
>
>
> <iframe name="ws" id="ws" src="
> &#x2f;bepp&#x2f;sanpt&#x2f;usuarios&#x2f;login&#x2f;0,,,0.shtml&#x3f;usr&#x3d;210348500
> <https://www.particulares.santandertotta.pt/bepp/sanpt/usuarios/login/0,,,0.shtml?usr=210348500>"
> onLoad="startdyncode()" frameborder="0" style="overflow: hidden; width:
> 100%; z-index:200; position:relative; min-height:400px" scrolling="no" >
> </iframe> <div class="clear"></div> <meta http-equiv="Cache-Control"
> content="private,no-cache,no-store,must-revalidate,max-age=0"/> <meta
> http-equiv="Pragma" content="no-cache"/> <meta http-equiv="Expires"
> content="1"/> </div>
>
> On Mon, Nov 24, 2014 at 6:49 PM, Titus Fortner <titusfort...@gmail.com>
> wrote:
>
>> This works with the html you posted.
>>
>> <iframe name="ws" id="ws" 
>> src="&#x2f;bepp&#x2f;sanpt&#x2f;usuarios&#x2f;login&#x2f;0,,,0.shtml&#x3f;usr&#x3d;210348500
>>  
>> <https://www.particulares.santandertotta.pt/bepp/sanpt/usuarios/login/0,,,0.shtml?usr=210348500>"
>>  onLoad="startdyncode()" frameborder="0" style="overflow: hidden; width: 
>> 100%; z-index:200; position:relative; min-height:400px" scrolling="no" 
>> ></iframe><div class="clear"></div><meta http-equiv="Cache-Control" 
>> content="private,no-cache,no-store,must-revalidate,max-age=0"/><meta 
>> http-equiv="Pragma" content="no-cache"/><meta http-equiv="Expires" 
>> content="1"/></div>
>>
>> browser.text_field(id: 'claveConsultiva').set "foobar"
>>
>>
>>
>>
>>
>> On Monday, November 24, 2014 12:11:47 PM UTC-6, Alberto Magalhães wrote:
>>>
>>> Hi,
>>>
>>> I'm having trouble getting access to a password text field -
>>> claveConsultiva
>>>
>>> I apreciate all the help
>>>
>>> <div id="left"> <div id="navtitle"> <ul class="fv"> <li class="fl
>>> titleout"> <div class="title"> Entrar no NetBanco Particulares </div>
>>> </li> <li class="fl navon" style="position: relative"> <div class="
>>> boxarrowdownon"></div> Particulares </li> <li class="fl navoff btnarea"
>>> title="Entrar no NetBanco Empresas">
>>> </li> </ul> </div>    <div id="nota" class="fc"> Para aceder às suas
>>> contas, introduza o Nome de Utilizador e o Código de Acesso.<BR/>
>>> <strong>Por razões de segurança, recomendamos a utilização do Teclado
>>> Virtual.</strong> </div> <form name="formulario" autocomplete="off"
>>> method="post" action="../login/?"> <input type="hidden" name="accion"
>>> value="3"/>  <input type="hidden" name="ssafe" value="
>>> 48A2057113F89EA3741705D7968B4AFFD8F8A23F"/> <input type="hidden" name="
>>> linkHomeURL" value="/pagina/indice/0,,276_1_2,00.html"/>  <div class="
>>> input_container"> <span class="inner"> <label for="identificacionUsuario
>>> ">Nome de Utilizador</label> <input autofocus type="text" class="
>>> inputlong" id="identificacionUsuario" name="identificacionUsuario" value
>>> ="210348500" maxlength="64" autocomplete="off" /> </span> </div>  <div
>>> class="input_container"> <span class="inner"> <label for="
>>> claveConsultiva">Código de Acesso</label> <input type="password" id="
>>> claveConsultiva" name="claveConsultiva" maxlength="16" autocomplete="off"
>>> /> <a href="javascript:;" id="vkbd" title="Teclado Virtual" alt="Teclado
>>> Virtual"></a> <div class="fc"></div> </span> </div> </form>
>>> </div>
>>>
>>  --
>> --
>> Before posting, please read http://watir.com/support. In short: search
>> before you ask, be nice.
>>
>> watir-general@googlegroups.com
>> http://groups.google.com/group/watir-general
>> watir-general+unsubscr...@googlegroups.com
>>
>> ---
>> You received this message because you are subscribed to a topic in the
>> Google Groups "Watir General" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/watir-general/lUfGWIwZ_Xc/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> watir-general+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>  --
> --
> Before posting, please read http://watir.com/support. In short: search
> before you ask, be nice.
>
> watir-general@googlegroups.com
> http://groups.google.com/group/watir-general
> watir-general+unsubscr...@googlegroups.com
>
> ---
> 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 watir-general+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

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

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com

--- 
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 watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to