Fayaz Chaudhari (Fayaz Chaudhari)
Link Group
Test Delivery Lead (Pega)
Link Group
Fayaz Chaudhari Member since 2013 5 posts
Link Group
Posted: April 16, 2018
Last activity: March 26, 2019
Posted: 16 Apr 2018 3:33 EDT
Last activity: 26 Mar 2019 14:33 EDT

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

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

DevOps Testing Applications Developer Knowledge Share