Hi Alexander, look at: http://webtest.canoo.com/webtest/manual/verifyProperty.html
With the name-attribute you will define the property to test. initialDialog is not a property name it is a string .... . So the error-message say's: Expected property "initialDialog" to be defined! yours Michael Habbert Von: [email protected] [mailto:[email protected]] Im Auftrag von Alexander Tabilog Gesendet: Freitag, 5. November 2010 21:19 An: [email protected] Betreff: [Webtest] Expected property "initialDialog" to be defined! Hi, I wonder if someone can help me with this. I have these steps in my test: <expectDialog dialogType="confirm" saveProperty="initialDialog"/> <verifyProperty regex="true" name="initialDialog" text=".*This page type has been depricated.*"/> and I am getting this error: Expected property "initialDialog" to be defined! This is the part of the code that I am testing: if ((JQ("input[name='ContentType']").val() == "SPT1" || JQ("input[name='ContentType']").val() == "SPT5") && JQ("input[name='newCreate']").val() == "true") { confirmed = window.confirm("This page type has been depricated. It has been replaced with the Hi-def. landing page type." + "\nNo new documents are allowed to be created using this template." + "\n\nClick OK to goto the Hi-def landing page template." + "\nClick Cancel to go back to the previous page."); if (confirmed) { window.location = "/tools/cm/ecm/cmentry/advancedSearchSql?cType=GTM&srch=mc&cDesc=Go+to+market"; } else { window.history.back(); } } I will really appreciate any help I can get. Thanks. Michael Habbert Key-Work Consulting GmbH | Kriegsstr. 100 | 76133 Karlsruhe | Germany | www.key-work.de<http://www.key-work.de> Fon: +49-721-78203-269 | E-Mail: [email protected]<mailto:[email protected]> | Fax: +49-721-78203-10 Key-Work Consulting GmbH, Karlsruhe, HRB 108695, HRG Mannheim Gesch?ftsf?hrer: Andreas Stappert, Tobin Wotring

