how-to

How to handle pop-up windows in Oracle NCA?

Popup WindowsWe will see step-by-step procedure of how to handle the pop-up windows while using Oracle NCA protocol:

  1. Put the title of the pop-up window in nca_obj_status function.
  2. Find out where the pop-up is occurring, put the handling statement below it.
  3. The handling statement could be nca_popup_message_press or nca_message_box_press. To find out which function is suitable for your script, record a script using data that generates that popup window, click on the button and check which function gets recorded.

Example:

This piece of code will trigger a pop-up:

If title of the window is “Warning”, put it inside the nca_obj_status function. The code would be something like-

Discussion

One Response to “How to handle pop-up windows in Oracle NCA?”

  1. Hi,
    My question is “How to capture windows dialogues i.e pop-ups while recording web application?”

    Posted by Abiannd N | August 29, 2013, 12:27 pm

Post a comment

Archives

Grab My Banner

Learn LoadRunner