Hi,

canonical XPath are evil. What about following ones:
//inp...@name = 'customize']
or
//inp...@title = 'Customize  your needs']

Concerning WebDriver, yes I want to use in WebTest since a long time. Most of the work is already done on my laptop... but it's not complete. I just need more free time... or a client interested to pay me for this feature. Just drop me a mail if you want to finance this implementation.

Cheers,
Marc.

Ali, Haneef a écrit :
Hi,

I have a strange case, which I’m not sure how to test it. Can someone give me a hint? Btw I’m a newbie to webtest.

I have button to click which is not part of any form and it doesn’t have an id attribute. How to click this button? Is xpath only way? Also is there a easy way to figure out the xpath of the element? It is nested within so many div/table/span tags. Is there something like <callJavascriptFunction name=” lowestConfig.submit()” />

<input name="customize" title="Customize your needs" class="commButton115_20" style="width: 120px;" onclick="lowestConfig.submit();" type="submit" value="Customize & Buy »"/>

Also is there any proposal to have pluggable webdriver? Something similar to JWebunit which can be used either with Selenium instead of HtmlUnit .

Thanks,

Haneef



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

Reply via email to