Forum Discussion

NLESM5's avatar
NLESM5
New Contributor
7 months ago

Optional screens

Hi, Is it possbile to put a screen to optional throughout the script? As background, my application can have a customer satisifaction popup at any given moment in the user flow, would like to have ...
  • Humashankar's avatar
    5 months ago

    Hi NLESM5 

    Handling optional screens, such as a customer satisfaction popup, requires a flexible script that can adapt to its presence or absence without disrupting the test flow.

    Try implementing conditional logic that checks for the existence of the popup element on the page using LoadNinja's built-in functions.

     If the element is present, the script can execute the necessary steps to interact with it, ensuring a seamless testing experience.

    Hope this helps - Happy to help further!!
    Thank you very much and have a great one!
    Warm regards