Uipath modern and classic selector

I am trying to check if a popup exists

In classic it is working fine however in modern it is not getting identified
Why so?

While using the modern activities use the check app state activity and indicate the pop up and then give the conditions according in the target appears block. @Ritaman_Baral

Regards

@Ritaman_Baral,

Why Classic Selectors might not work on Modern?

  1. Selector Differences:
  • The Modern experience in UiPath uses different or more advanced selector mechanisms compared to the Classic experience. This can lead to differences in how elements are identified on the screen.
  1. Modern Activities and Targeting Methods:
  • The Modern experience introduces new activities and methods for targeting UI elements, which might require different configurations or approaches.
  1. UI Framework Compatibility:
  • Some UI frameworks or applications might behave differently or be recognized differently by the Modern activities compared to the Classic activities.
  1. Timeout and Waiting Mechanisms:
  • The Modern activities might have different default timeout settings or waiting mechanisms, affecting how and when the popup is detected.

What’s the Solution to this?

To address the issue of identifying a popup in the Modern experience, you can try the following steps:

  1. Verify and Adjust Selectors:
  • Use the UI Explorer to inspect and adjust the selectors. Make sure that the selectors are robust and correctly identifying the popup in the Modern experience.
  • Use attributes like title, name, class, etc., to make the selector more reliable.
  1. Use Modern Activities:
  • Ensure you are using the correct Modern activities designed for popup detection, such as Check App State, Use Application/Browser, and Wait for Element.
  • These activities might offer better compatibility and options for handling popups.
    LLM helped me to write this but it’s verified by me.

Thanks,
Ashok :slight_smile:

Used that only but still it failed!!

What is the error that you are getting? @Ritaman_Baral