Ebola57 0 Posted June 12, 2019 (edited) Hi community I am intending to send text in an input box that lacks of both id and name (code below) <input class="form-control ng-pristine ng-valid ng-empty ng-touched" role="textbox" aria-invalid="false" type="text" ng-model="c.shortDescription"></input> Since then I have great difficulties to catch it I tried to catch it with "ng-model" directive (that is unique in my page), but I got a syntax error as autoit missunderstand this For $oTag In $oTags If $oTag.Ng-model = "c.shortDescription" Then ExitLoop Next _IEAction($oTag, "click") May you have some idea to catch this tag ? Regards Edited June 12, 2019 by Ebola57 Share this post Link to post Share on other sites
Subz 689 Posted June 12, 2019 Try something like $oTag.getAttribute("ng-model") = "c.shortDescription" or $oTag.ClassName = "form-control ng-pristine ng-valid ng-empty ng-touched" 1 Ebola57 reacted to this Share this post Link to post Share on other sites
Ebola57 0 Posted June 12, 2019 $oTag.getAttribute("ng-model") = "c.shortDescription" Worked flawlessly $oTag.ClassName = "form-control ng-pristine ng-valid ng-empty ng-touched" Didn't work, anyway previous one fits my needs Thanks a lot Share this post Link to post Share on other sites