While running a script on QTP 8.2 i got this run time error "General run error". What may be the cause for this error? and How to resolve this error?

Showing Answers 1 - 7 of 7 Answers

Kallol Raha

  • Mar 16th, 2006
 

It might be due to some syntax error. Pls check ur syntax.

  Was this answer useful?  Yes

bala

  • Mar 20th, 2006
 

If QTP cannot identify the object (object properties are not matching) while running a script, then we get General run error.

  Was this answer useful?  Yes

Narendra

  • Apr 4th, 2006
 

This is occurred due to wrong syntax used or missing something while writing it. So check it for particular syntax where error occurred.

 

  Was this answer useful?  Yes

pavan

  • Apr 5th, 2006
 

Hi,

  If the error number is 1024 then it is the problem with the repository... while loading the repository it would have got some error...

Pavan.

  Was this answer useful?  Yes

satish karanam

  • May 2nd, 2006
 

Hi,

General Run Error Comes in the Following Instances..

1)If ur Going with Data Driven Approach,If it could not find the External Data Sheet like Excel,Notepad etc.

2) If any Functions that u r calling in the script has some changes made..for example,if u use a function to open an exe as "Open Application",if the path of the Build has changed to New path, and not updated in the function "Open Application",then also QTP invokes the General Error!

These are the above Instances,where i come accross with this error.There could be more!!

plz feel free ,if u need further clarifications!!

  Was this answer useful?  Yes

Gogo

  • Oct 26th, 2006
 

Hi Friends,

I got an general run error too. But it is really very, very weird.

I just create a row of script by recording:

SystemUtil.Run "explorer","","C:Documents and SettingsAdministrator",""

But when I run it, General run errro comes out. Can somebody tell me more about this error? :(

  Was this answer useful?  Yes

jasvant singh

  • Nov 6th, 2007
 

In have used code given below to identify all the child object of type 'Webelement'
in a perticuler web table but

In Line 4 i am getting genral error ,can you please let me know what is the solution for this error.  
 
1.Set oDesc = Description.Create()

2.oDesc("Class Name").Value = "WebElement"   
3.    oDesc("html tag").Value = "TD"
4.Set Lists = Browser("Browser").Page("Gmail - Inbox (9)_2").Frame("v1").ChildObjects(oDesc)    '

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions