How do you use Selenium against html where the ID's change?
It can be very usefull sometimes to use xpath queries:
xpath=//a[@title='Click to View Main Menu'
You can use this with a clickAndWeight method for example.
John M.
http://www.rockfloat.com/board/post/?id=532
August 04, 2006 @19:51
(Replies: 0)
how do you change the default value of an html ordered list, like an offset or something?
example:
<ol start="5">
<li>foobar</li><li>foobar</li><li>foobar</li><li>foobar</li>
</ol>
John M.
http://www.rockfloat.com/board/post/?id=106
September 15, 2003 @13:14
(Replies: 0)
Re: how to you uncheck a bunch of radio buttons?
This should help:
<pre>
function unCheck(){
if(document.formname.fieldname.length){
intCount = document.formname.fieldname.length
}
else{
intCount = 1
}
if(intCount > 1){
for(i=0;i < intCount;i++){
document.formnam
[...]
http://www.rockfloat.com/board/post/?id=417
April 10, 2002 @19:47
(Replies: 0)
how to you uncheck a bunch of radio buttons?
I have some radio buttons, but i need to be able to "clear them all"
John M.
http://www.rockfloat.com/board/post/?id=468
April 10, 2002 @19:42
(Replies: 1)