Inserting XPATH expressions into script - Web Based app
Looking for information on inserting XPATH expressions into my scripts. What is happening is that I am getting errors after playing back my script that pertain to clicking on an edit button inside an angular grid page (table). In the developers tools, it’s showing as a <button id="btn_edit_25" type="button" class="btn btn-primary btn-xs ng-binding ng-scope" ng-click="grid.appScope.editItemClick(row.entity.id)" ng-if="grid.appScope.isUser">Edit</button> so need to use an XPATH expression or locator since it is a dynamic field.
Is there a way to do this within Test Complete? We have a field mapping csv file that we used in selenium/Jspringbot to located these button/id’s but not sure how to do that in Test Complete. Any information is greatly appreciated!
Cheers!