Select Country from drop down on website:

find a reworked XAML here:
Main_PPR.xaml (9.8 KB)

the problems came from following:

  • webpage is loaded slower then the BOT works, so some uielements were not proper available
    • demonstrated with msg box for synchronizing with the load
    • waiting after click for the country list

the list construct is nested / combined with a
unordered list
hidden select with the country list

so I did:

  • find children - readout the countries
  • injected this as options to the input dialog as an array - creating a select with all available countries
  • clicked on select triangle
  • did wait a little time
  • selected country from list via LI element and innertext attribute value same to the county of choice
1 Like