I am entering data from excel files into a web form. If the client's name already exists, a Javascript bootstrap displays an error.
HTML is <div class="alert alert-danger">New client failed to save. Clientname has already been taken. </div>
Dim $oAlert boolean
$oAlert = Send("^fNew client failed to save. Clientname has already been taken{ENTER}")
MsgBox($MB_SYSTEMMODAL, "", $oAlert)
I tried sending Ctrl + F to find the string "New client failed to save. Clientname has already been taken." and that finds the text. The attempt to generate a true or false state failed.
The string is highlighted in the web page but I can't figure out how to tell if it was found.
Thank you.