Tag: <span>AutoIT</span>

Attaching an IE window that isn’t ready

06/09/2011
Posted by
0

There are times, we hope rare, when we need to attach an Internet Explorer window where not all of the ready states are complete. Here is an example where the window contains several frames and one of the frames never gets beyond ready state ‘loading’. Watir‘s normal #attach method waits for the overall document to…

Read more

Attaching an IE window that isn't ready

Posted by
0

There are times, we hope rare, when we need to attach an Internet Explorer window where not all of the ready states are complete. Here is an example where the window contains several frames and one of the frames never gets beyond ready state ‘loading’. Watir‘s normal #attach method waits for the overall document to…

Read more

AutoIT and Basic Authentication on Locked Machines

02/25/2011
Posted by
0

When doing automated testing, it’s common to run into a basic authentication window before you can access the application. WATIR can’t handle these authentication windows very well because it’s basically a modal popup with no associated DOM. That’s where AutoIT can be used to handle these authentication windows. You can use AutoIT to send basic…

Read more

Retrieving Text from a Modal Dialog

01/11/2011
Posted by
0

If your test case requires you to validate the text of a modal dialog, you can use the AutoIT function WinGetText.

However, this method only works for IE modal popups. When using Firefox, the WinGetText function will output a nil. One possible solution around this is to highlight the text, copy it, send it…

Read more

Modal Dialogs and AutoIT

01/10/2011
Posted by
0

Modal dialogs are pop-ups that need attention before the user can go back to their testing window. Modal dialogs are difficult to automate using only Ruby and Watir because you can’t access the html source code of a modal dialog. Since AutoIT does not require any source code to operate, it is a viable tool…

Read more