Question

1
Replies
132
Views
PradeepK0960 Member since 2018 2 posts
Cognizant Technology Solutions India PVT Ltd
Posted: 2 years ago
Last activity: 2 years 3 months ago
Closed

iframe name are dynamically changing from PegaGadget0Ifr to PegaGadget1Ifr

In automation selenium scripts we used to fetch the iframe name to locate the various components to automate the PEGA application. But some time the iframe name are dynamically changing from PegaGadget0Ifr to PegaGadget1Ifr and back to PegaGadget0Ifr or PegaGadget3Ifr .. on different page navigation.

1. Is there any static attribute can refer from iframe?

2. why the iframe name are changing randomly?

Please guide us to proceed further.

Example:

<iframe name="PegaGadget0Ifr" id="PegaGadget0Ifr" border="0" frameborder="0" src = "not provided the information"></iframe>

Low-Code App Development Testing Applications
Moderation Team has archived post
Share this page LinkedIn