Forum Discussion

NLESM5's avatar
NLESM5
New Contributor
4 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 an option to always give a feedback and press send when this screen appears.

Emiel

1 Reply

  • Humashankar's avatar
    Humashankar
    Champion Level 2

    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