![]() |
|
QTP Error - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners) +--- Thread: QTP Error (/Thread-QTP-Error--2369) Pages:
1
2
|
QTP Error - eroshan - 09-16-2009 Hi all I used this .vbs file to start my QTP test Code: Dim qtpApp when i run it sometimes at the first time it generates a error. (I attached error in snapshot) then i rerun the .vbs and it works well What can be the reason ? thanks RE: QTP Error - supputuri - 09-16-2009 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. RE: QTP Error - eroshan - 09-17-2009 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 RE: QTP Error - Saket - 09-17-2009 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. RE: QTP Error - eroshan - 09-17-2009 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 RE: QTP Error - Saket - 09-17-2009 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. RE: QTP Error - eroshan - 09-17-2009 Hi Saket there is no problem to run in the second time , this error appear only for first time thanks RE: QTP Error - basanth27 - 09-17-2009 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. RE: QTP Error - eroshan - 09-17-2009 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 RE: QTP Error - basanth27 - 09-17-2009 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. |