Tag: <span>automation</span>

When is a linked select list really ready? Watir::Wait

07/11/2011
Posted by
0

Population of select lists are often linked to the values of other entries on a page. Here is an example where the first field (text field) entry is used to do a search which populates the second field (select list) on hitting ‘Enter’. Selection of an option from that list populates the third field (also…

Read more

Gartner Best Practices for Test Automation…

06/28/2011
Posted by
0

Gartner research, is often used by high-ranking CTOs and IT Execs as the barometer to gauge, define and re-calibrate their long (and short) term IT initiatives. So it isn’t surprising that start-ups like ours (and especially those who target the Enterprise IT customer) are constantly referring to Gartner research to ensure that we’re staying ahead…

Read more

Parametrize Your Automation Scripts!

06/17/2011
Posted by
0

Our Customers typically have 4-7 “lower” environments where the underlying application is deployed and tested, multiple times by multiple teams before making it into “production”. One of the big benefits of using Awetest is the ability to create and test new environments on the fly using existing scripts. When an automation script is written, it…

Read more

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