Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Web Testing and Unexpected Server Errors
#1
Not Solved
I am doing Automation Testing of a website using UFT 12.51 Build 4766.

We occasionally for various reasons have Server Errors throughout the site.  The Server Error page is displayed and the type of error is usually a Runtime Error.

I would like my code to check for this error after every action especially mouse clicks which are usually web buttons.  I want UFT to text me and I actually did find a way to do this part.  

After each button click a new page is displayed.  For each new page, I usually start my code with a Do Loop until expected object on that page Exists and this works well unless I get a Server Error.

How can I detect these unexpected Server Errors after each action (when they do occur) so that I can kick off my texting subroutine have it text me?

Currently I have a couple specific items that are expected failures and I have them text me.  They are supposed to text me the Error Details also but it send me a text with a '0' as the details but that is separate issue I am working on.

Thank you,
Zunebuggy
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Smile Very Complex Web Testing zunebuggy 1 1,504 11-22-2017, 02:26 PM
Last Post: supputuri
  Testing Web Services sohalshah 10 8,736 04-17-2014, 01:29 AM
Last Post: Tp123
  Very confused on how to deal with run errors atester 0 1,525 03-07-2014, 04:03 PM
Last Post: atester
  QTP Automation testing steps for .net web applications? Ramadas 0 2,479 10-30-2013, 12:54 PM
Last Post: Ramadas
  Web Services Testing using QTP VVKumar 0 1,984 10-01-2013, 01:13 PM
Last Post: VVKumar

Forum Jump:


Users browsing this thread: 2 Guest(s)