Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Unspecified error displayed
#1
Not Solved
Hi all

am executing one of the script against Oracle application and observing "Unspecified error" when we click on

- One of the tab name "Line Items"
Usually clicking this tab should display "Line Items" form with in 10 secs, whereas sometimes it will take 2 or more mins to display "Line Items" form.This is where we are seeing the error.

Line of code which is erroring out.
Code:
"OracleFormWindow("Sales Orders").OracleTabbedRegion("LineItems").Select

Note : when Line Items form comes within 10 sec, no error is displayed.

Kindly provide your valuable inputs.

thanks
Ravi.
Reply
#2
Not Solved
Is there any other tab within this tabbed region?
Want to fast track your QTP/UFT Learning? Join our UFT Training Course
Reply
#3
Not Solved
HI Ankur,

I am getting an “unspecified error” for the below code.
Code:
OracleFormWindow(“@#$@#$”).OracleButton(“Search”).Click
The application executes this action, but hanging at line 10 and because of the application is too slow (may need more than 5 minutes to respond), QTP throw out an “Unspecified Error” after about 2-3 minutes.

Any Wait statement doesn’t work, because QTP have no chance to go to the next line.
It will stay at Line 10 until error come out. When the application is not slow, my script can pass successfully.

Please give any suggestion for my issue.
Reply
#4
Not Solved
Hi Sunny,

Try using Do.. While loop to force QTP to wait until next window exists.

Do While Not Window(xyz).Exist
Wait 1
Loop
Reply
#5
Not Solved
Hi pvadwala,

It will not work, as the control is hanging at the button click operation and not moving forward to the next step. Within 2 mins the script is failing because the control didn't execute the wait statement.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  IE 11 has stopped working is displayed while running UFT 12 iahmad 0 1,813 04-06-2015, 06:44 PM
Last Post: iahmad
  qtp 11, Unable to prove the disappearance ofdynamic objects displayed on same screen. priyaang 1 2,279 03-24-2014, 12:53 AM
Last Post: supputuri
  UFT 11.5 throwing unspecified error while running for Delphi object rakeshsahay 0 3,518 12-25-2013, 10:43 AM
Last Post: rakeshsahay
  Unspecified error while connecting database kamalteja 0 5,076 12-04-2012, 10:05 PM
Last Post: kamalteja
  How to get uppermost java object displayed on screen using QTP shirkaan_2010 1 4,513 07-29-2011, 01:41 PM
Last Post: rajpes

Forum Jump:


Users browsing this thread: 1 Guest(s)