Hello,

Having read your Selenium-Users messages since
version 4, and I am now trying tests in Selenium
5.  My plan was to use the assertLocation to 
make sure I was knocking on the right door before
running other test. The assertLocation command didn't
co-operate so I switched to verifyLocation.

In both Windows 98 and Windows 2000 with Explorer 6,
I can run the Main TestSuite and the GoogleTestSuite
(via an .hta testrunner)  In the Main TestSuite, Test
Open, the open and verifyLocation get the green light. 
The GoogleTestSuite runs with one acceptable error
because Google has changed the way they output titles.

When I add a verifyLocation to the Google Test Search,
it fails.  I tried Google.ca because Google kicks Cape
Bretoners into the Canadian site.  Can anyone explain
why verifyLocation works in the example code but not 
when added to the Google Test Search? 

(I have a second problem, but the answer to this might
cover both so I'll hang on to it for now.)

Thanks,
David 

Test result
_________________________

Test OpenGoogle Test Search

      | open| http://www.google.com|  
      | verifyTitle| Google|  
      | type| q| Selenium ThoughtWorks
      | verifyValue| q| Selenium ThoughtWorks
      | verifyLocation| http://www.google.com| 
                       Actual value '/' did not match 
                       '*http://www.google.com' 
      | clickAndWait| btnG|  
      ...
  


Google Test Search
      | open| http://www.google.ca|  
      | verifyLocation| http://www.google.ca| Actual value '/' did 
                        not match '*http://www.google.ca' 
      | verifyTitle| Google|  
      ...








        
                
______________________________________________________
Click here to donate to the Hurricane Katrina relief effort.
http://store.yahoo.com/redcross-donate3/
_______________________________________________
Selenium-users mailing list
Selenium-users@lists.public.thoughtworks.org
http://lists.public.thoughtworks.org/mailman/listinfo/selenium-users

Reply via email to