Hi, William, I tried 1 first, which was not found. So I presumed (incorrectly, it seems) that 0 might be the first form, and 0 was found. I'll go ahead and try other possible index numbers (starting with 2), and see if they are found, and if any of them correct the spurious clickButton "button not found" error. Thank you. David Klima
-----Original Message----- From: Soula, William [mailto:[EMAIL PROTECTED] Sent: Friday, February 15, 2008 9:20 AM To: Klima, David; [email protected] Subject: RE: [Webtest] Another clickButton "button not found" : bad HTML on the tested page? OR Am I doing something incorrectly with webtest? Did you try other indexes? I believe index of 0 is the main frame. William Soula QA Analyst Pointserve, Inc. 110 Wild Basin Road Suite 300 Austin, Texas 78746 O: 512.617.5311 F: 512.617.0466 _____ From: Klima, David [mailto:[EMAIL PROTECTED] Sent: Friday, February 15, 2008 8:11 AM To: Soula, William; [email protected] Cc: Klima, David Subject: RE: [Webtest] Another clickButton "button not found" : bad HTML on the tested page? OR Am I doing something incorrectly with webtest? William, I tried that yesterday, and still got button not found, and the steps prior to clickButton did not fail. >From my original e-mail: XML SHOWING clickButton step that fails to find a button: <selectForm index="0" /> <setSelectField name="orgCode" value="785" /> <clickButton name="OK" /> ---------------------------------------------------------------------------- I'm going to try to validate the HTML. In the meantime, If you have any insight or suggestions, they will be much appreciated. Thanks! David Klima:: -----original message----- From: Soula, William [mailto:[EMAIL PROTECTED] Sent: Friday, February 15, 2008 9:06 AM To: [email protected]; Klima, David Subject: RE: [Webtest] Another clickButton "button not found" : bad HTML on the tested page? OR Am I doing something incorrectly with webtest? Try using the index of the form and do a selectForm before you click the OK button. William Soula QA Analyst Pointserve, Inc. 110 Wild Basin Road Suite 300 Austin, Texas 78746 O: 512.617.5311 F: 512.617.0466 _____ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Klima, David Sent: Friday, February 15, 2008 7:56 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Cc: Klima, David Subject: RE: [Webtest] Another clickButton "button not found" : bad HTML on the tested page? OR Am I doing something incorrectly with webtest? Dennis, I'll try that. Thank you. David Klima -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, February 15, 2008 8:48 AM To: [EMAIL PROTECTED]; Klima, David Subject: AW: [Webtest] Another clickButton "button not found" : bad HTML on the tested page? OR Am I doing something incorrectly with webtest? If you don't know if it is bad HTML then you should check it with a HTML-validator. In the sourcefile there should be a description on which standard the page is coded. The validator checks that page against the description. Use this as the validator http://validator.w3.org/ or http://tidy.sourceforge.net/ as a firefoxplugin which. Best regards Dennis Winter -----Ursprüngliche Nachricht----- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Klima, David Gesendet: Donnerstag, 14. Februar 2008 23:18 An: [EMAIL PROTECTED] Cc: Klima, David Betreff: [Webtest] Another clickButton "button not found" : bad HTML on the tested page? OR Am I doing something incorrectly with webtest? Hi, In one test, I have a clickButton test that succeeds, and then later another clickButton step that cannot find the button, even though the button exists. I do not have sufficient knowledge to tell if the problem is due to bad HTML on the page being tested, or due to something I may be doing incorrectly in webtest. I noticed that the page being tested has the button placed within a form that is never named, as in: <form class="standardForm" action="perspective.htm" method="post">. There is no name specified for the form. Might that be the sole source of the problem? The faling XML webtest step is below, and under that is the relevant HTML from the page being tested, showing the button. Any insight or suggestions will be much appreciated. Thanks! David Klima:: XML SHOWING clickButton step that fails to find a button: <selectForm index="0" /> <setSelectField name="orgCode" value="785" /> <clickButton name="OK" /> ----------------------------------------------------------------------------- ===RELEVANT HTML FROM PAGE BEING TESTED:==== <h1>You have logged in to the Electronic Cohort Default Rate Appeal System.</h1> <p>Your user-id is: ---EDITED OUT</p> <p>Please select the organization code for your perspective</p> <form class="standardForm" action="perspective.htm" method="post"> <input type="hidden" name="userName" value="EDITED OUT"> <div class="row"> <label for="orgID"> Available Organizations </label> <select name="orgCode"> <option value= 785 > 785 - RAVINGLAW RELIEF </option> <option value= 888 > 888 - GRIMM STUDENTS ASSISTANCE </option> </select> </div> <div class="row"> </div> <br> <div class="buttons" align="center"> <input type="image" onmouseover="src='images/buttons/button_ok_over.gif';" onmouseout="src='images/buttons/button_ok_off2.gif';" name="Ok" id="upload" src="images/buttons/button_ok_off2.gif" alt="Ok" onclick="this.form.clicked.value='OK';this.form.submit()"> </div> </form>

