Odin Technology - Automated Software Testing

Axe Test Automation Platform

General discussion relating to the Axe Test Automation Platform from Odin Technology

Posts by Odin employees marked:

Verifying Window title when no ID is present

Hi
I am using AXE 1.5.4 & Rational Robot 2003

I am trying to verify a window title where no id exists - here is an extract from the code:

<head>
    <title>AA1111 - Legislation | ABC Online | CompanyA &amp; Bee</title>

using the object map, I have tried both:

a)
name = 2-2_AA1111-Legislation
class = HTML Window
recstring = HTMLTitle = AA1111 - Legislation | ABC Online | CompanyA &amp; Bee

b)
name = 2-2_AA1111-Legislation
class = HTML Window
recstring = Type=HTMLTitle; HTMLText=AA1111 - Legislation | ABC Online | CompanyA &amp; Bee

Both of these result in an Abort with error code 1003 (Object not found is what I believe this means)

Any ideas how I can verify the title?

Thanks
Mark
Mark Winspear Send private email
Wednesday, March 31, 2010
 
 
Hi Mark,

It sounds like you may need to use some kind of regular expression to match the window. Support for regular expressions in Robot is pretty limited compared to other GUI tools but I think you can do basic wild card matches.

Since this is purely a Robot question you might have more luck checking out an IBM/Rational Robot forum such as http://www.sqaforums.com/postlist.php?Cat=0&Board=UBB11

Sam
Sam Warwick Send private email
Saturday, April 3, 2010
 
 

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics