Question
Scenario Test Case not recording elements which are within repeating section
Hi Team, We are on Pega 8.3.2 and trying to use Scenario Test Cases for Smoke Testing application. We are facing challenge in recording elements which are within repeating section e.g. Suppose I'm working on a Loan application I added my first Loan Then I click button to add another loan The same section is repeated to enter the values for Loan 2; just below Loan 1 (as we capture only minimum details) BUT when I click to enter values, it says 'This element does not have unique selector and cannot be captured. Please go to your section and generate Test ID from General tab of the element properties.' and doesn't record.
Could you please suggest how to overcome this issue?
Hi Kumar,
when you say repetition element. In section configuration what kind of repetition layout you have chosen.
Screen shots of section configuration would help us to understand the issue more.
Also if repetition elements(list) are having the same "data-test-id" generated in the DOM, then during recording of the secnario test case, it show the message that you have added as part of question. scenario test would be able to capture the elements on the UI if element has unique "data-test-id" generated in the DOM.