autoit::watir outlook web access login pop up



Hi

I have a script to login into outlook Web access

When I run this

def logon(title,name = 'Connect to 192.2.24.88',password = 'john doe')
@autoit.WinWait title, ""
@autoit.Send "devabrat"
@autoit.Send "{TAB}"
@autoit.Send "wow"
@autoit.Send "{ENTER}"
end

it looks for windows login box which comes as a pop up box (on Internet
Explorer) having title,
'Connect to 192.2.24.88'

it then writes onto first field with text "devabrat" corresponding to
line

@autoit.Send "devabrat" then the script presses tab and then writes
"wow"
corresponding to
@autoit.Send "wow"

Th problem:

Somtimes it happens that when you type outlook webaccess IP at address
bar(after a wrong login) the username field is already filled with the
previously attempted username so that the cursor starts from
password field. The cursor should start from username field. If it
starts from the password filed then the script takes it as first filed
and wrongly writes intended username in password field then presses tab
and attempts to write password at a element on which u cannot write.

Hence login process fails.

If you are are familiar with outlook web access then you must be knowing
that when you write outlook web access IP or address on the address bar
and press enter then a box comes for credentials. Now this box is not
not on HTML page so I cannot find the name of element (textfield) and
supply credentials.

Is there any solution to my above problem?

Can we identify the name of TextField elements in the above box and
press OK button????Remember it appears as a separate box so you cannot
view source and know the name of the element.

Also please suggest a way to access elements by name on such a box.

Thanks
--devabrat
Devabrat.Kumar@xxxxxxxxxx
--
Posted via http://www.ruby-forum.com/.

.



Relevant Pages

  • Re: Hacker activity?
    ... >login to a server, most as root but some are attempts to login to ... >telnet, all come from the same remote server, and all fail. ... >getting some odd cgi calls to a script on a secure ssl server. ... Make sure root cannot login to your system via ssh. ...
    (freebsd-questions)
  • Abusing poor programming techniques in webserver scripts V 1.0
    ... $login = Request.Form ... fool the database parser. ... verified in the script of access to the database, ... The SQL statement will be parsed by the database manager, ...
    (SecProg)
  • [Full-disclosure] iDEFENSE Security Advisory 06.14.05: Microsoft Outlook Web Access Cross-Site Scrip
    ... Microsoft Outlook Web Access Cross-Site Scripting Vulnerability ... script code into a users session, ...
    (Full-Disclosure)
  • e107 remote commands execution
    ... Login bypass / remote code execution / cross site scripting ... "e107 is a content management system written in php and using the popular ... a script byrgod at <a href="http://rgod.altervista.org " ... //so, you see, we activate public uploads and .php extensions for attachments ...
    (Bugtraq)