18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
_assert in the content of a pdf
Hi all,
I try to make an _assert in the content of a .pdf.
I generate my .pdf, it is published on a site (i can call it on a browser) but...
When i call this .pdf with _navigateTo on my Sahi-firefox session it is not open, just downloaded (download_lastFile).
When i use _readURL("mypdf"); the content is binaries
I save it, when i use _readFile("mypdf"); the content is still binaries
It must to contain some strings but not other strings. I want to be sure that is correct.
How can i make a assertText by example on the content of a pdf ?
Thanks
Fabrice
I try to make an _assert in the content of a .pdf.
I generate my .pdf, it is published on a site (i can call it on a browser) but...
When i call this .pdf with _navigateTo on my Sahi-firefox session it is not open, just downloaded (download_lastFile).
When i use _readURL("mypdf"); the content is binaries
I save it, when i use _readFile("mypdf"); the content is still binaries
It must to contain some strings but not other strings. I want to be sure that is correct.
How can i make a assertText by example on the content of a pdf ?
Thanks
Fabrice