Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I want to not fail on handeled run error in web service test
#3
Solved: 10 Years, 10 Months ago
Thank you Jenny,
Really excuse me about my poor English.
exactly my problem is about < WebService("ServicesService_2").login XMLWarehouse("userBean") > ..when it run this line it return a run error but for me it is true and expected error that i handled in my webservice and i want to pass it. what is the solution?
for example in script above when i enter a Incorrect username and password for the login service, the expected error is "User name or password is incorrect!". i want when it return this error message i pass it but it return a run error because of Incorrect password. no deference between unhandled error and handled error ... Sad
I attached a print-screen of my test result that may be useful for problem understanding. Smile


Attached Files Image(s)
   
Reply


Messages In This Thread
RE: I want to not fail on handeled run error in web service test - by sanavab - 03-07-2011, 11:29 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to send/pass UFT Run Error Dialog as output value to main driver script lravi4u 0 364 11-05-2023, 03:55 PM
Last Post: lravi4u
  Send automatic email notification when test run started helmzshelmz 0 941 04-03-2020, 07:54 AM
Last Post: helmzshelmz
  How to identify an error page occurring in server in between the qtp run. aswini 1 1,657 05-04-2017, 03:52 PM
Last Post: Ankur
  Test runned from QualityCenter generated an error "Attempted to divide by zero." robertosalemi 1 2,381 10-14-2016, 08:38 PM
Last Post: robertosalemi
  Exe invoked through UFT is unable to access IIS and SQL Server service bkdevise 0 1,991 08-25-2015, 05:49 PM
Last Post: bkdevise

Forum Jump:


Users browsing this thread: 1 Guest(s)