Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem with Grab Runner
#1
Solved: 11 Years, 4 Months ago
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
Reply
#2
Solved: 11 Years, 4 Months ago
what is a + here are you trying to concatenate if yes please use &
Reply
#3
Solved: 11 Years, 4 Months ago
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")
Reply
#4
Solved: 11 Years, 4 Months ago
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 ....
Reply
#5
Solved: 11 Years, 4 Months ago
Hello there,
I have attached the grabrunner.zip.Please use this and let me know what can be the solution asap.

Regards,
Rachna


Attached Files
.zip   grabrunner.zip (Size: 136.24 KB / Downloads: 93)
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Grab multiple line data from log file haziqwebs 0 1,801 10-19-2016, 01:28 PM
Last Post: haziqwebs
  Not Able to Grab Objects pacific316 2 2,434 05-23-2014, 04:13 PM
Last Post: excellentpawan123
  How can i get all test results of all scenarios through "Test batch runner" atanu 0 3,233 05-13-2011, 11:23 PM
Last Post: atanu
Exclamation need information regarding test batch runner galstar 1 4,878 09-03-2010, 04:24 PM
Last Post: venkatbatchu
  Test Batch Runner for SAP environment MVChowdary 0 1,689 04-14-2009, 06:33 PM
Last Post: MVChowdary

Forum Jump:


Users browsing this thread: 1 Guest(s)