Python Forum
[split] Pytest-html add screenshots help
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[split] Pytest-html add screenshots help
#2
I have added the above code and this code is working fine for me in python.

This code can show the failed screenshot just below the failed Script/Test Cases in the same Test Cases/Scripts folder.

Please any one tell me i want to save the same screenshot in other directory/folder in my framework how should i do this. The structure naming and formatting of screenshot would be same but i want to change the location of saving the screenshot.

please help me to resolve this issue what and where should i change in the code to change the location of failure screenshot.
Reply


Messages In This Thread
RE: [split] Pytest-html add screenshots help - by Gourav - Apr-30-2020, 07:16 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Help with screenshots for each 'div class' paunshotts 0 397 Feb-05-2024, 10:19 AM
Last Post: paunshotts
  I am trying to run pytest and getting error that doesn't show up when running pytest. uobouhb 1 2,065 May-20-2022, 02:19 AM
Last Post: uobouhb
  HTML multi select HTML listbox with Flask/Python rfeyer 0 4,686 Mar-14-2021, 12:23 PM
Last Post: rfeyer
Question Selenium Screenshots store in Database Nuwan16 3 2,041 Oct-05-2020, 02:55 PM
Last Post: Nuwan16
  Python3 + BeautifulSoup4 + lxml (HTML -> CSV) - How to loop to next HTML/new CSV Row BrandonKastning 0 2,392 Mar-22-2020, 06:10 AM
Last Post: BrandonKastning
  [split] Using beautiful soup to get html attribute value moski 6 6,345 Jun-03-2019, 04:24 PM
Last Post: moski
  Taking screenshots with http authentication with username and password from website onenessboy 3 4,157 Nov-30-2018, 04:17 AM
Last Post: onenessboy
  Mocks with pytest Vector22 1 2,520 May-21-2018, 10:45 AM
Last Post: Vector22
  Pytest-html hook help flashnet1 5 10,715 Jan-19-2018, 01:52 PM
Last Post: buran
  Visiting websites and taking screenshots implicitly? bigmit37 4 4,484 May-01-2017, 04:26 PM
Last Post: bigmit37

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020