--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/562bb363-2dba-48c5-8891-5c2c69f722a7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/fc38c61f-5139-4a75-92aa-658e971b6a35%40googlegroups.com.
Hi Ravikumar,
Since two web elements are getting identified because of this Xpath //input[contains(@id,"dialogForPositionChange")] which you have tried.
Kindly try to use this pattern matching Xpath which checks two conditions
1. Starting with "pt1:USma:0:MAt
2. & Containing "dialogForPositionChange"
Kindly try below Xpath and let me know if this resolves your problem
//input[starts-with(@id,'pt1:USma:0')][contains(@id,'dialogForPositionChange::yes')]
Regards,
Abhishek
Hi,
Use contains tag in xpath. Not ends-with
//*[contains(@id,'pt1:USma:0:MAt3:')][contains(@id,'dialogForPositionChange::yes')]
//*[contains(@*,'pt1:USma:0:MAt3:')][contains(@*,'dialogForPositionChange::yes')]
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/1ce2499d-14c6-4001-9d06-75a92a4349cd%40googlegroups.com.