question

yih avatar image
yih asked yih posted

Snapshot image size

Hello there,

I'm working with Web session on iTest 4.1.2.
I  want to take a snapshot of whole page loaded by iTest, however it is only the part of page displayed on iTest is taken as an image  by Snapshot action.
The hidden parts of page caused by the window size or  scroll bar is not taken by Snapshot.
Nothing  such as captured image seems to be changed even if I configured Snapshot size by Session Properties> Snapshot> Maximum width/height to capture setting.
Is there any way to take a snapshot of whole of page?

iTestGUI Testing(Web-Java Swing-etc)
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
sreenath avatar image
sreenath answered sreenath posted

Hi,

 

I believe we cannot capture the image of the complete page from snapshot.

 

Snapshot is as same as printscreen that we do from the keyboard.

 

If we increase the snapshot size in the session properties then I believe we can get ony big image of what we see in the screen (i.e, resolution).

 

If you are really interested in getting the complete page then we can give a show page action by right clicking on the page and saving the response in document file. Then change the filename from .txt to .html This will open the complete page.

 

Hope it help!

5 comments
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

yih avatar image yih commented ·

Thank you for your response!

 

>Snapshot is as same as printscreen that we do from the keyboard.

I understand.

 

>if we increase the snapshot size in the session properties then I believe we can get ony big image of what we see in the screen (i.e, resolution).

It did not  make any difference, though I changed the size of snapshot size from Session property and confirm the saved image size in HTML report.

Do you have any idea what this configuration actually work for?

 

> then we can give a show page action by right clicking on the page and saving the response in document file. Then change the filename from .txt to .html 

Getting complete html image, it may be needed to get other extra files such as CSS, java definition and images linked by relative path.

Umm, it's okay as it is not seriously required for now, thank you!

 

0 Likes 0 ·
yih avatar image yih yih commented ·

Hi, :smileyhappy:

 

Session Properties> Snapshot> size setting

I tried 2 patterns of this settings, however I don't see any differences of image size on report.

I thought it would effect to the image size or resolution from comments, though..

Does anyone know the meaning of this setting?

 

0 Likes 0 ·
koelze avatar image koelze yih commented ·

I believe this setting is simply "the maximum height/width it will snap."  If the image that is being snapped is less than the maximum height/width, it won't do anything to it.

0 Likes 0 ·
PreetS avatar image PreetS koelze commented ·

KevinO is correct. 

0 Likes 0 ·
yih avatar image yih PreetS commented ·

Ok, I understand. Thanks!

 

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.