I am having a problem with handling browser pop up using IBM RFT. I don't know how to check whether the pop up appears or not in this tool. enter image description here
I have tried this code to click on the pop-up and its work but I don't know how to check if it appears or not.
IWindow activeWindow = getScreen().getActiveWindow();
if (activeWindow !=null){
activeWindow.activate();
activeWindow.inputKeys("{Enter}{Enter}");
}