In UFT 14.0, on error pop up message does not display - uft14

In UFT 14.0, on error, my pop up message does not display.
I had kept the setting File > Setting > Run > while run if error occurs, pop up message is to be displayed.
Still on error it moves to the next step and execution continues. Please suggest how this could be corrected.

Related

An unexpected error has occurred. Try again. (7D865D4B)

An unexpected error has occurred. Try again. (7D865D4B)
I get this message every time I go to the main screen
And when I click on the "Verify Identity" button

Debug.print statement causes a System.Configuration.ConfigurationErrorsException?

I am writing a VB.net application and in the form load I have a simple debug.print statement as per below:
Debug.Print("Application Started " & Format(Date.Now, "dd-MMM-yyyy hh:mm:ss tt"))
The application was running fine and I didn't have any errors but then I did something and I started getting an error. The last thing I did before noticing the error was I did a search and replace of a variable name start and I renamed this to startSearchIdx and I think it replaced text in my form1.designer.vbcode as I had to back out this change.
First this error only occurs on this current project. If I create a new VB.net windows form project with a button and this code then all is good, so it must be a setting or something in a configuration file which is causing the error?
When I run the application in debug mode, the application stops on the DEBUG.PRINT line as per the below image and I also receive the message:
A first chance exception of type 'System.Configuration.ConfigurationErrorsException' occurred in System.Configuration.dll"
in the Immediate window. However if press F5 and continue then the application starts, and I see:
Application Started 16-Oct-2019 04:55:24 PM"
in the debug window.
The application then runs fine and any future debug.print statement appears to work in other code locations? I am hoping someone may be able to provide some light on this strange error?
Image of the VB IDE debug.print Configuration Error:

Timeout after 30000ms in Selenium IDE

I'm trying to open a page (target: /selenium#/login), but I keep getting a timeout error. The page seems to be done loading so I don't get why I keep getting the error. Also, the error only occurs when I'm playing the entire test suite. When I try to run each test case individually, the error doesn't appear.
EDIT: Forgot to mention, the error doesn't occur when I open a new tab right before the next test case starts (before the open command is read), so each test case has to be on an entirely new tab/window. Here's a screenshot: http://i.imgur.com/pF2e6iU.png

UFT showing some popup error's while running the scripts

Am using descriptive programming, while running the scripts in some playback UFT showing some error popup message. So we need to manually handle that uft window and after that script playback starts. Is there any solution to avoid this poop up messages? Attaching snap shotsof UFT error popup's
You can disable popUp error messages by :
File->Settings-> Run and set the "When error occurs during run session " to "proceed to next step".
I hope this answer your question

Match two strings in automation testing UI - iOS

I am writing automation test scripts using Automation tool in instruments for my iPad app. In the login screen, when user taps on login button without entering any information, I display an error message. This error message is displayed on a label which is initially invisible and when the error message has to be displayed, it is made visible and the error is shown in that label. I want to check if the error message displayed in that label is the same as the one I am expecting to receive. How do I do that ?
First write the script so that error message appears on screen and then write
target.logElementTree();
So you will be able to see its element hierarchy and then just compare it with your expected error message like
if (mainWindow.staticTexts()[0].name() == "expected_alert_message") {log_Pass} else {log_Fail}