How to find Image Height and width

uiautomation
studio

#1

Hi,
How to find height and width of an image. Example:
http://www.wireframesolutions.com.au/project.php?name=Carpet-Cutters This don’t have IMG attributes.


#2

Hi @vickyms57,

Refer this xaml file.
ImageHeight.xaml (14.8 KB)

image

Regards,
Arivu


#3

Hi @arivu96 ,

Im getting this error pls help.

Data has thrown an exception

Source: HTTP Request

The process cannot access the file ‘190318.png’ because it is being used by another process.
Exception Type: IOException
ImageHeight.xaml (20.9 KB)


#4

Hi @vickyms57,

Your image file is already opened.can you close that image and try again.

Regards,
Arivu


#5

How to close the image. Im not using open image activity.


#6

try this one @vickyms57,
ImageHeight.xaml (22.3 KB)

Regards,
Arivu


#7

Im getting File not found Exception.

Regards,
V


#8

Hi @vickyms57,

Its Because of download image taking time to download so keep delay for some time.
Refer this one.
ImageHeight (1).xaml (22.5 KB)

Regards,
Arivu