Skip to content

Commit

Permalink
try a raw string
Browse files Browse the repository at this point in the history
  • Loading branch information
damies13 committed Oct 16, 2024
1 parent 30d1af8 commit 79822ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/Regression/Reporter/GUI_Bugs.robot
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ Template with Start and End Dates
# ${html}= Parse XML ${resultfolder0}${/}${resultdata0}.html
# import lxml.etree
# tree = lxml.etree.parse("/home/dave/Downloads/Reporter-windows-latest-3.11/Issue-#250/20240626_130059_jpetstore-nomon-quick/20240626_130059_jpetstore-nomon-quick.html", lxml.etree.HTMLParser())
${html}= Evaluate lxml.etree.parse("${resultfolder0}${/}${resultdata0}.html", lxml.etree.HTMLParser()) modules=lxml.etree
${html}= Evaluate lxml.etree.parse(r'${resultfolder0}${/}${resultdata0}.html', lxml.etree.HTMLParser()) modules=lxml.etree
# ${rawhtml}= Get File ${resultfolder0}${/}${resultdata0}.html
# ${html}= Evaluate lxml.etree.fromstring('${rawhtml}', lxml.etree.HTMLParser()) modules=lxml.etree
${sectionid}= Get Element Attribute ${html} id .//h1[text()='2 Test Result Summary']/..
Expand Down

0 comments on commit 79822ef

Please sign in to comment.