Author Topic: QTP 10.0 Crashing with Screencapture API while Converting from bmp to jpg  (Read 1859 times)

Offline Prasanna Hegde

  • Sr. Member
  • ****
  • Posts: 392
    • http://
Hi ,
I tried this example

Code: [Select]
Set oScreenCapture = CreateObject("KnowledgeInbox.ScreenCapture")
'Convert the image to PNG format
oScreenCapture.ConvertImage "C:\ggg.bmp","C:\ggg.jpg"
'Destroy the object
Set oScreenCapture = Nothing
When I execute code QTP crashes as shown in snap

I am using QTP 10.0 with .NET and web add-ins Please advice..

Screen capture API version 1.1.1
« Last Edit: August 28, 2009, 06:11:46 AM by Prasanna Hegde »

Offline Tarun Lalwani

  • Administrator
  • Hero Member
  • *****
  • Posts: 3001
    • KnowledgeInbox
I will try it on QTP 10 and get back to you on this
Regards,
Tarun
KnowledgeInbox Administrator

KnowledgeInbox" style="border:0

Offline Tarun Lalwani

  • Administrator
  • Hero Member
  • *****
  • Posts: 3001
    • KnowledgeInbox
Re: QTP 10.0 Crashing with Screencapture API while Converting from bmp to jpg
« Reply #2 on: September 01, 2009, 11:27:23 PM »
I didn't get this error but my QTP crashed some how. I will check it again next week sometime and try and fix this issue
Regards,
Tarun
KnowledgeInbox Administrator

KnowledgeInbox" style="border:0