> Thanks for the reply,
> I cant use the website without javascript because it checks for
> it at login
> and will prevent you from entering the site. The 'onkeypress'
> code is shown
> below, I cant see why it would matter if it is executed though, it only
> seems to check if the user has pressed the return key and submit
> the form if
> so, otherwise there is a submit button to click.
But if that is true, the JS behaves like filling the field and
pressing the button, which is what
<setInputField ..
<clickButton ..
does in WebTest, even if the JS is ignored.
cheers
Mittie
>
> function handleKeys() {
> if (window.event && window.event.keyCode == 13) {
> handleSearchButton();
> return false;
> }
> return true;
> }
>
> function handleSearchButton() {
> openSearchWindow('Homer',
> document.forms[0]['EntitiesNavigation.SearchText'].value, '');
>
> document.forms[0]['EntitiesNavigation.SearchText'].value="";
> }
>
> Thanks for your help,
> Christian
> --
> View this message in context:
> http://www.nabble.com/Webtest-not-filling-in-Input-box-tf1899812.h
tml#a5216755
Sent from the WebTest forum at Nabble.com.
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest