Gen run error when executing Business Component
I have a function that takes a object and button name as parameters. It then clicks the button displayed within the object passed (window, dialog , etc....)
The function works find with executed from a scripted component or test. But when I call the function as an operation in a business component I get a "general run error".
If Final_Action <> "<SKIP>" Then
objtype = obj.GetTOProperty("NativeClass")
If left(objtype,10) = "ThunderRT6" Then 'select vbwindow button
Elseif left(objtype,9) = "#32770" Then 'select dialog button obj.WinButton(Final_Action).Click
Re: Gen run error when executing Business Component
add a msgbox err.number below where you get the error after addding an on Error Resume statement at the begining of the script. THis will allow you to see an error id which you can then google. Might be somthing simple like an undeclared var or something much more complex. This will allow you to get a better description than just general run time error.