Hi,
using Watir,I want to check whether image on a page is loaded or not?
But my image is basically point to a URL.('showSmallProductImage.htm?
productId='+prodID)
How I will use this to check whether image is loaded or not? Below is
the html code:-
prodID = '4028480d2332b52801233b8e92d30414';
prodName = 'Varian CP-3800 and CP-3900 GC';
productImage = 'showSmallProductImage.htm?
productId='+prodID;
productCode = 'DC-00100045';
releaseDate = '21-May-2009';
description = 'The 3900 GC is a single channel, fixed
configuration GC incorporating the same outsta';
cdsName = 'OpenLAB';
instrumentName = 'Varian 3800 GC';
vendor = 'Persistent Systems Inc.';
cdsColor = '#FFFFCC';
isPublished = 'true';
var productLink = "product.htm?id="+prodID;
var product = new Object();
product.prodID = prodID;
product.productLink = productLink;
product.productImage = productImage;
product.productCode = productCode;
product.releaseDate = releaseDate;
product.cdsName = cdsName;
product.instrumentName = instrumentName;
product.vendor = vendor;
product.cdsColor = cdsColor;
product.isPublished = isPublished;
if(description.length > 72)
description = description.substring(0,72) + '...';
if(prodName.length > 52)
prodName = prodName.substring(0,52) + '...';
product.productName = prodName;
product.description = description;
Thanks
Maumita
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To post to this group, send email to [email protected]
Before posting, please read the following guidelines:
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---