selenium-ide icon indicating copy to clipboard operation
selenium-ide copied to clipboard

captureEntirePageScreenshot command is not available

Open QA1MTG opened this issue 8 years ago • 18 comments

My automation testing relies heavily on screenshot generation as a part of our testing capabilities. Currently it's not available. Is there an alternative or will this feature be added in?

QA1MTG avatar May 03 '18 15:05 QA1MTG

Taking screenshots is not a problem. The problem is that other than downloading them we can't save them. Much like the way when you save the project it downloads instead. Would downloading screenshots suffice?

Cheers, Tom

On 3 May 2018, 18:00 +0300, QA1MTG [email protected], wrote:

My automation testing relies heavily on screenshot generation as a part of our testing capabilities. Currently it's not available. Is there an alternative or will this feature be added in? — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

corevo avatar May 03 '18 15:05 corevo

Thanks for answering these so quickly. This has been really helpful.

When I execute the old screenshot command, the screenshots are saved locally and then we make PDFs to distribute to our teams. It's been a real vital part of our testing strategy, and it's helped us quickly establish visual coverage of our systems.

If it's automatically making screenshots and downloading them, how would the mechanism work? Would the screenshots be automatically numbered? Would there be a limit to the number of screenshots made?

Is there a reason the old command can't be added back (just asking out of curiosity)

QA1MTG avatar May 03 '18 15:05 QA1MTG

No limits on any number of screenshots I was thinking a command like so takeScreenshot | name of screenshot | format.
This gives the most flexibility imo.

I'll answer the curiosity in the other issue, where it's more relevant.

corevo avatar May 03 '18 15:05 corevo

thanks. as long as I can access that screenshot and use it for the PDF docs when I need that would be perfect.

QA1MTG avatar May 03 '18 15:05 QA1MTG

Hi.

Is there an ETA on the screenshot functionality? My organization and I depend on using the screenshots for visual confirmation of functionality, and it's one of the features preventing me from upgrading to new Selenium.

QA1MTG avatar Jun 24 '18 14:06 QA1MTG

We have just released a plugin system, I can't give you an ETA on when we'll ship something like this.
But it is absolutely possible to use this plugin system for that.

corevo avatar Jun 25 '18 07:06 corevo

Just as a pointer: The kantu ide supports captureEntirePageScreenshot. It stores the screenshots in the browser local storage (and can export them).

But it is absolutely possible to use this plugin system for that.

Not me, but maybe someone that knows more about Javascript can write a plugin ;)

idefix1 avatar Jun 26 '18 15:06 idefix1

Hi. Just a follow up regarding the request for screenshots. In most of my suites we rely on screenshots to help with verification. Is there a timeframe to have this added to selenium IDE?

QA1MTG avatar Sep 21 '18 00:09 QA1MTG

Selenium is an opensource project, and as such work on community issues is based on contributors free time.
The project does not give timeframes on any pending ticket, if it is highly urgent, I suggest sending a pr.

corevo avatar Sep 21 '18 08:09 corevo

I'd like to describe case we have in our company that may help shape this feature.

In our company Selenium IDE is used by manual QA testers who often have troubles adding any verification logic, even basic one. Second point is that many bugs we face are problems with html layout and can't be automatically verified easily. So we rely on screenshots.

A nice feature would be to have a "screenshots log" like Katalon Recorder for Chrome does. So you run tests and then manually go through all screenshots to check that everything looks okay. Although not fully automated, it saves a lot of time when a single test case requires filling 20 forms with 10 fields each.

Perhaps screenshot command should take an optional "comment" argument to describe expected state for manual verification like "shopping cart should have 2 products in it", so that newcomer tester can quickly check if screenshot shows correct state.

dmitrymurashenkov avatar Jan 27 '19 16:01 dmitrymurashenkov

Great idea

Sent from my iPhone

On Jan 27, 2019, at 11:38 AM, Dmitry Murashenkov [email protected] wrote:

I'd like to describe case we have in our company that may help shape this feature.

In our company Selenium IDE is used by manual QA testers who often have troubles adding any verification logic, even basic one. Second point is that many bugs we face are problems with html layout and can't be automatically verified easily. So we rely on screenshots.

A nice feature would be to have a "screenshots log" like Katalon Recorder for Chrome does. So you run tests and then manually go through all screenshots to check that everything looks okay. Although not fully automated, it saves a lot of time when a single test case requires filling 20 forms with 10 fields each.

Perhaps screenshot command should take an optional "comment" argument to describe expected state for manual verification like "shopping cart should have 2 products in it", so that newcomer tester can quickly check if screenshot shows correct state.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

valentfj avatar Jan 27 '19 16:01 valentfj

The captureEntirePageScreenshot feature would be great!

bugb avatar Jan 28 '19 04:01 bugb

+1

cnrun avatar Apr 29 '19 15:04 cnrun

++++1

Would really love to see this ... I can't find it in the latest IDE

digital-soul18 avatar Jun 20 '19 00:06 digital-soul18

+1

wagnerteixeira avatar Oct 15 '19 19:10 wagnerteixeira

+1

mortezaalizadeh avatar Apr 05 '20 21:04 mortezaalizadeh

Appreciate the interest on getting the feature added. There's currently no ETA for adding it. If someone wants to contribute a PR to add it we will happily accept it.

tourdedave avatar Apr 07 '20 07:04 tourdedave

Closing this, if anyone needs this on v4 they can raise a new issue.

toddtarsi avatar Nov 10 '22 05:11 toddtarsi