Posts: 516
Threads: 17
Joined: Jul 2009
Reputation:
3
09-16-2009, 06:50 PM
Hi eroshan,
please run the QuicktestProfessional.bat file present in the bat file. Might be this will resolve your situation.
Let me know if you need any more info.
Thanks,
SUpputuri
Posts: 52
Threads: 13
Joined: Sep 2009
Reputation:
0
09-17-2009, 09:35 AM
Hi
I think you advise me to start QTP using .bat file isn't it?
I tried it but not success,
don't you have any other solution?
Thanks
Posts: 1,199
Threads: 5
Joined: Nov 2008
Reputation:
0
09-17-2009, 10:22 AM
Not sure what could be the reason, Your code is working fine at my side.
I have also observed the issue many times and on another run it works.
what I can suggest that -
-Make sure you have provided the correct Test path.
-Try putting the statement 'qtpApp.Launch ' before making it visible
let me know if it helps.
Posts: 52
Threads: 13
Joined: Sep 2009
Reputation:
0
09-17-2009, 10:58 AM
Hi Saket
As i mention earlier sometimes it works well. i add your code and run. so this time also it works well.i don't know it fixed or not. anyway thanks a lot
Posts: 1,199
Threads: 5
Joined: Nov 2008
Reputation:
0
09-17-2009, 11:18 AM
Make sure the QTP Automation Agent is not running at the Windows Task Manager, before starting your second run.
May be that is causing the issue.
Posts: 52
Threads: 13
Joined: Sep 2009
Reputation:
0
09-17-2009, 02:00 PM
Hi
Saket there is no problem to run in the second time , this error appear only for first time
thanks
Posts: 1,003
Threads: 1
Joined: Jul 2009
Reputation:
5
09-17-2009, 02:31 PM
(This post was last modified: 09-17-2009, 02:32 PM by basanth27.)
Which version of QTP are you using ??
Quicktestproffesional.bat is avaiable only uptil 9.2 ver.
Did you uninstall and Re-install QTP ??
If you havent got a solution yet, Search this forum to see how you can perform a clean un-install and reinstall of qtp.
nope. QTPKing wants you to navigate to C:\program files\Mercury Interactive\Quick Test Proffesional\bin\QuickTestProffesional.bat
double click on that .bat file.
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Posts: 52
Threads: 13
Joined: Sep 2009
Reputation:
0
09-17-2009, 05:24 PM
Hi QTPKing
I did what you ask , after that error appear rate is getting increased. it came 3 times out of 4. What should i do now ? i am using QTP 9.0
Posts: 1,003
Threads: 1
Joined: Jul 2009
Reputation:
5
09-17-2009, 05:30 PM
1. Uninstall-Reinstall QTP. Search on this forum and you will get the clean un-install instructions.
2. IF the issue persists, Log it up with HP.
Contrarily, Any specific reason you are with QTP 9.0 ?? Maybe you can upgrade it to the higher version and see if the error still persists. - Just a suggestion.
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.