Discussion

12
Replies
6575
Views
Close popover
Fayaz Chaudhari (Fayaz Chaudhari)
Aaseya IT Services
Pega QA Lead & Pega BA
Aaseya IT Services
GB
Fayaz Chaudhari Member since 2013 5 posts
Aaseya IT Services
Posted: April 16, 2018
Last activity: March 26, 2019

Anyways to use data-test-id for Selenium automation?

Below are the different types of Locators in Selenium :

  1. ID
  2. Name
  3. Class Name
  4. Tag Name
  5. Link Text
  6. Partial Link Text
  7. CSS Selector
  8. XPath

Selenium does not provide facility to use data-test-id, which is unique id provided by Pega. This is the biggest limitation with Selenium for Pega application.

If Selenium can find a way to use data-test-id then it would be very much helpful to automate Pega applications.

Kind Regards,
Fayaz Chaudhari
https://www.linkedin.com/in/fayazchaudhari/

***Updated by moderator: Lochan to add Categories and Group Tag***

DevOps Testing Applications Developer Knowledge Share