Trying to verify the content of a standard MVC dropdown using Test Studio.
Here's the DOM
<select id="PartnerSelectId" name="PartnerId" style="width: 240px" class="valid">
<option value="22">Bank B</option>
<option value="24">Bank C</option>
<option value="23">Switch A</option>
<option value="66">Telerik Test Partner</option>
</select>
Looking to verify if Telerik Test Partner exists, and hopefully will use this in an If/Else block to delete it if it does so that we can add it in again during the test.
Any help would be appreciated.
Here's the DOM
<select id="PartnerSelectId" name="PartnerId" style="width: 240px" class="valid">
<option value="22">Bank B</option>
<option value="24">Bank C</option>
<option value="23">Switch A</option>
<option value="66">Telerik Test Partner</option>
</select>
Looking to verify if Telerik Test Partner exists, and hopefully will use this in an If/Else block to delete it if it does so that we can add it in again during the test.
Any help would be appreciated.