Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Capture alert screenshot #1510

Closed
sureshgube opened this issue Oct 21, 2019 · 2 comments
Closed

Capture alert screenshot #1510

sureshgube opened this issue Oct 21, 2019 · 2 comments

Comments

@sureshgube
Copy link

sureshgube commented Oct 21, 2019

Expected behavior

Tell us what should happen

Actual behavior

Tell us what happens instead

Steps to reproduce

Gauge version

Run gauge -v on your system and paste the results here.

Added from topic
Gauge report not capturing the alert popup image. Can someone please help me to resolve this issue. In Gauge html-report, while the spec is failing with alert popup, the screenshot doesn't capturing the alert popup image. Does the gauge having the support to capture the image. Or I need to enable the settings with any code?

@sureshgube sureshgube changed the title Can someone please help me to resolve this issue. Gauge report not capturing the alert popup image. Can someone please help me to resolve this issue. In Gauge html-report, while the spec is failing with alert popup, the screenshot doesn't capturing the alert popup image. Does the gauge having the support to capture the image. Or I need to enable the settings with any code? Oct 21, 2019
@nehashri nehashri changed the title Gauge report not capturing the alert popup image. Can someone please help me to resolve this issue. In Gauge html-report, while the spec is failing with alert popup, the screenshot doesn't capturing the alert popup image. Does the gauge having the support to capture the image. Or I need to enable the settings with any code? Capture alert screenshot Oct 22, 2019
@nehashri
Copy link
Contributor

@suresheck What frame work are you using with Gauge? Taiko or Selenium or something else? What language are you using?
Have you configured to use Gauge's custom screenshot functionality? If so, please provide a code snippet.

PS: It would help us if you filled the above template with the correct steps to reproduce the issue, and the Gauge version

@nehashri
Copy link
Contributor

nehashri commented Nov 6, 2019

By default Gauge captures the active desktop screenshot and hence it should capture the alert popup if it appears.

The alert popup should be captured by the screenshot function used by the test automation framework if the custom screenshot is configured. If you don't see it capturing the alert popup please raise an issue in the test automation framework you are using.

@nehashri nehashri closed this as completed Nov 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants