Hi,

I have problem with a Canoo or a groovy when I'm trying to use a webpage
google.
Does somebody use www.googlecom/ncr for the experimentation?? And can
help me? :)

When I do it on IE manually the google suggests me some items in listbox
and I can choose one of the items - I click on the item.

I try set easyajax to "true" or "false".
I try to increase the time.
But the Groovy or the Canoo does not work.


I try easy steps (but it does not work):
<invoke
        description="Go to International google.com"
        url="http://www.google.com/ncr"/>
        
<groovy>
  step.context.currentResponse.getElementByName('q').type('1234')
  step.context.currentResponse.getElementByName('q').focus()
</groovy>
<sleep  
 description="Wait for 10 s."
 seconds="10"/>
<clickElement
  description="click on first item in listbox"
  xpath="//div/table/tbody/tr[2]/td[1][contains(text(),'1234')]"
/>

<groovy>
  step.context.currentResponse.getElementByName('q').type('1234 feist')
  step.context.currentResponse.getElementByName('q').focus()
</groovy>
<sleep
  description="Wait for 10 s."
  seconds="10"/>

<sleep
  description="Wait for 2 s."
  seconds="2"/>
<clickElement
  description="click on first item in listbox"
  xpath="//div/table/tbody/tr[2]/td[1][contains(text(),'1234')]"
/>

Any suggestions are welcome.

Regards,
Mato
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to