ClickElement

chocn roll <[email protected]>
Newsgroups gmane.comp.web.canoo.webtest
Message-ID <[email protected]>
Hello,

My action 'ClickElement' isn't an error but this action is no effect.

My HTML Page is :

<div class="command" id="_c_12">
<div class="img">
<img src="ts_/hfs/img/large/viewDay.png?_ts_=1028093472">
</div>
<div>Vue Jour</div>
</div>

If my cursor is on the picture, my HTML is

<div class="command_enter" id="_c_12">
<div class="img">
<img src="ts_/hfs/img/large/viewDay.png?_ts_=1028093472">
</div>
<div>Vue Jour</div>
</div>

And one click, my page load.

With Ctrl+U in FF, i have this line :
R("CommandBarItem","_c_12",{"$events$":{"onexecute":$eh_15}});

In webtest, i tried :
<clickElement xpath="//div[@id='_c_12']"/>
<clickElement xpath="//div[@id='_c_12']/div[1]/img"/>

Selenium is OK with this line
Click //div[@id='_c_12']/div[1]/img

I don't understand...

Thanks for the help.

PS : I use webtest 3.0.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.