Discussion

12
Replies
5416
Views
Fayaz Chaudhari Member since 2013 5 posts
Aaseya IT Services
Posted: 2 years ago
Last activity: 1 year 7 months ago

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***

Low-Code App Development Testing Applications Developer Knowledge Share
Share this page LinkedIn