ws = WScript.CreateObject('WScript.Shell'); buttonCaption = " Generate "; ws.Popup("//button[text()='" + buttonCaption + "']"); ws.Popup("//button[text()=\"" + buttonCaption + "\"]");
Now if either of the above strings used with the Popup method (that generates a Window's Alert popup) you will get an error message identifying the first char where the syntax is supposed to be bad.
-Hope this helps, Terry Horwath
Thanks for sharing it Terry.
We will consider adding this tip in TruClient documentation.