Selecting a Combo box item when playing back .side macro

24 views
Skip to first unread message

RSCADEV DEV

unread,
Sep 2, 2024, 12:56:17 AM9/2/24
to Selenium Users
I have D365 form  with the following combo box

<input id="my-customerid.fieldControl-LookupResultsDropdown_customerid_0_textInputBox_with_filter_new" aria-label="Customer, Lookup" aria-required="true" aria-expanded="false" aria-haspopup="tree" role="combobox" data-id="customerid.fieldControl-LookupResultsDropdown_customerid_textInputBox_with_filter_new" title="Select to enter data" placeholder="" autocomplete="off" aria-autocomplete="list" type="text" class="class-um pa-un pa-gi " value="---" data-pa-landmark-active-element="true">

I typed in the value , and selected it from the combobox. 

This is recorded as 

Command : Type     

id = my-customerid.fieldControl-LookupResultsDropdown_customerid_0_textInputBox_with_filter_new Value:rsc...@mysite.com


When I play back the script, it objects and says that the field needs to be completed. I have tried using multiple send keys to send an [Enter] . However that cant find the id on the page . I have also tried a select using rsc...@mysite.com   None of these successfully populate the field. 

Can any one suggest how to make a combo box work, thanks in advance


Reply all
Reply to author
Forward
0 new messages