Page 1 of 1

break routine if text box not detected on website

Posted: 03 Mar 2023, 01:37
by deets
I'm doing data entry automation and sometimes the website will lag, which means data may get pasted without properly focusing on the text box first.

there are no focused controls I can use and this is one of the sample html:

Code: Select all

<input type="text" id="ava_givenname_i" attrname="ava_givenname" attrpriv="7" maxlength="100" title="" class="ms-crm-InlineInput" aria-labelledby="ava_givenname_c ava_givenname_w" controlmode="normal">

how can I check for the presence of either 1. a generic textbox or 2. a named textbox like above?