Vbscript - QTP - handle DB table column of type Image

34 views
Skip to first unread message

oscar velasco

unread,
Apr 20, 2012, 12:06:07 PM4/20/12
to google qtp groups, Munoz, Juan Pablo
hi everyone,
 
i'm using QTP to connect to a database to first get the value from the column and later verify that value against another DB and everything is working fine until i come across a column that has an image.
 
the actual db table column has something like this to represent the image: 0x5B506861736520446573637.......................................................... and when i run QTP in debug mode, i see the value transforms into an array of bytes
 
i have tried having a for each loop to iterate the array of bytes but it never goes into my for each loop.
 
i guess i'm not sure how to verified this value against another db, any ideas about my scenario

--
Thank You
Oscar.Velasco
 

Deepak Kumar Mahapatro

unread,
Apr 22, 2012, 3:43:17 AM4/22/12
to mercu...@googlegroups.com
why can't you compare those byte arrays. i think if those are equal then the images are also equal

Thank You
Oscar.Velasco
 

--
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to Mercu...@googlegroups.com
To unsubscribe from this group, send email to
MercuryQTP+...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en



--
Regards,
Deepak
Reply all
Reply to author
Forward
0 new messages