In the web app I'm testing, there is a button which appears multiple times on a page, attached to dynamic objects. There is no identifier for each unique instance. I want to click a specific instance of it, but the identifier for this button is in a sibling section of the HTML.
Simplified model:
<div class = "whole">
<div class = "top">
<p title = "Identifier"></p>
</div>
<div class = "bottom">
<button>ButtonIWantToClick</b>
</div>
</div>
Is there a way to use nested finds to determine which button to click, and if not, what might be the best way to tackle it in code?
I've done some digging in the forums to see if there was a solution to this specific issue. I'm new to Telerik, so here's to hoping that there's a reasonably simple way of achieving what I want to do.
Thanks in advance.