2

I have two drop down fields that are parallel and there is a button as well from where more fields can be added at every row. There is no limit on the fields to be added and have to fetch values from the database with; separated.

Xpaths are the same and I can not use different xpaths:

//select[contains(@name,'RoleList$l1$pClassification')]
//select[contains(@name,'RoleList$l1$pName')]
  • 2
    Can you share the HTML DOM structure as well please. – Sandeep Chandra Sekhar Sep 13 '19 at 4:33
  • What is your goal? "Handle" is a pretty generic term – João Farias Sep 13 '19 at 5:12
  • XPath aren't the same. Once You add new node do DOM, it will have it's own XPath. The ones you provided are written wrongly. – Michal Dobrzycki Sep 13 '19 at 10:41

Browse other questions tagged or ask your own question.