Problem with Grab Runner - 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: Problem with Grab Runner (/Thread-Problem-with-Grab-Runner) |
Problem with Grab Runner - Rachna - 04-03-2009 hello, I am working on QTP 9.2 with Java application.I want to use grabrunner for error handling. After following the steps mentioned above I am getting Type mismatch error GrabRunner = 'C:\QAToolBox\GrabRunner\GrabRunner.exe' GrabBitmapSave = 'd:\Grab.jpg' Exec(GrabRunner + ' /SCREEN' + ' /SAVE=' + GrabBitmapSave + ' /PRINT') Type mismatch error occuring at EXEC statment.Kindly let me know how to rectify it .I also have the ijl11.dll in my grabrunner folder. Would appreciate a quick response. Thanks -Rachna RE: Problem with Grab Runner - kishoreinchennai - 04-07-2009 what is a + here are you trying to concatenate if yes please use & RE: Problem with Grab Runner - Rachna - 04-07-2009 Hello, I have used & operator for concatenation instead of + .But still after executing th below mentioned lines I am getting a "Type mismatch error for EXEC" GrabRunner = "C:\GrabRunner\GrabRunner.exe" GrabWindowText = "Notepad" GrabBitmapSave = "C:\ Bitmap.bmp" Exec(GrabRunner&" /WINDOWTEXT=" &GrabWindowText& " /SAVE=" &GrabBitmapSave& " /PRINT") RE: Problem with Grab Runner - kishoreinchennai - 04-09-2009 1)ok how would you run this manually 2)print "GrabRunner&" /WINDOWTEXT=" &GrabWindowText& " /SAVE=" &GrabBitmapSave& " /PRINT" and see bo the parameters are same i strongly feel the parameter you are passing doesnt match........just hardcode everything and call the grabrunner . give me a link or download of this tool i can try .... RE: Problem with Grab Runner - Rachna - 04-10-2009 Hello there, I have attached the grabrunner.zip.Please use this and let me know what can be the solution asap. Regards, Rachna |