02-06-2014 02:04 PM
I have used a function to close browser for many months. But recently, it will return error sometimes. I said sometimes mean somethings it still works but sometimes not.
Here is the error message:
Function file: C:\Automation Test Cases\UpgradeProductVerification_share\Function Libraries\CloseALLBrowser.qfl
Line (61): " objProcess.Terminate()".
In fact, I'm prety sure that the function lib .qfl is there in that path and the Line61 is "objProcess.Terminate()".
Any idea about this?
02-07-2014 05:48 AM
Are you using QTP or UFT?
Which browser version are you using?
Have you made any changes in your system, script, etc. at the time the problem started occurring?
Also, is only this library failing, and is only this method from the library failing?
How are you calling it? It would be great if you could provide more details about the libarary, the specific function and how you are using it from test script, if possible.
In addition, are you observing the problem under any specific circumstances?
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.”
02-07-2014 08:50 AM
QTP 11, win7 64bit, IE 8
This is the only function failing
The only change made recently is to save the test case with rescoure to local and run it from local.
It works well sometimes while not well sometimes.
02-09-2014 09:50 PM
Verify whether the locally saved solution also has reference to correct function. If you are calling an action of different solution from another action of different solution, then the function library should be referenced in both the solutions.
02-10-2014 01:25 PM - edited 02-10-2014 01:26 PM
I'm pretty sure that the function is there in the local drive. And it works most time which also proves that the connection between test case and resource function is still good.
But it may fail sometimes which is a big trouble for us.