Hello,

I have the following VB script in my page, line 106:

if (trim(document.all("txtInitialDate").value) = "" or 
trim(document.all("txtFinalDate")) = "")

This script performs fine when clicked on manually, however when i click on it 
through watir, i get a runtime error in the vbs engine:

--------------------------------
Error:
A runtime Error has occurred.
Do you wish to debug?
Line: 106
Error: Object doesn't support this property or method: "value"
--------------------------------

I know document.all is not the greatest of functions but it is how the 
application is working currently and I do not have the option of changing the 
source code... any ideas???

Thank you.
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=6554&messageID=18688#18688
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to