12 messages in com.canoo.lists.webtestRe: [Webtest] Is there any way to ver...| From | Sent On | Attachments |
|---|---|---|
| lisa...@att.net | 23 Feb 2004 15:05 | |
| Marc Guillemot | 24 Feb 2004 01:23 | |
| Dierk Koenig | 24 Feb 2004 02:12 | |
| lisa...@att.net | 24 Feb 2004 11:11 | |
| Marc Guillemot | 24 Feb 2004 11:48 | |
| lisa...@att.net | 24 Feb 2004 13:05 | |
| lisa...@att.net | 24 Feb 2004 14:44 | |
| lisa...@att.net | 24 Feb 2004 16:21 | |
| Marc Guillemot | 25 Feb 2004 09:48 | |
| lisa...@att.net | 25 Feb 2004 12:24 | |
| Marc Guillemot | 25 Feb 2004 13:22 | |
| Stefan Armbruster | 25 Feb 2004 13:58 |
| Subject: | Re: [Webtest] Is there any way to verify popup PDFs![]() |
|---|---|
| From: | lisa...@att.net (lisa...@att.net) |
| Date: | 02/24/2004 04:21:29 PM |
| List: | com.canoo.lists.webtest |
I noticed the 'previousresponse' element. I'm able to clicklink on the PDF file
link, and use previousreponse to go back to the actual page and I can click more
PDF links or click to move off the page. If the PDF doesn't come up, I do get an
error, so this is a useful test. And, I can look at the result files to verify
that I got the correct PDFs. But I still can't test within my WebTest test
whether I got the correct PDF. If there is any way to do this, I would love to
know!
Thanks,
Lisa
Hi Lisa,
what about just using a <verifylinks/> ? Or do you need a more precise check, like content-type, or something else, on the pdf files?
Marc.
lisa...@att.net wrote:
Hi Marc, I'm not sure if this is what you need, but this is the code around the relevant links in the html source. Thank you! -- Lisa
<span class="tblLabelText3">Plan Documents (Print, Sign and Return)</span></th> </tr> <tr class="tblCellBox3" align="left" colSpan="2"><td colspan="2"><hr class="tblSeparator"></td></tr> <tr class="tblCellBox3"> <td valign="top" class="tblCellBox3" align="left" width="50%"> <ul> <li class="body"><a class="bodyLink" target="_blank" href="/pdfsend?type=4103&ts=90792">Program Agreement</a></li> <li class="body"><a class="bodyLink" target="_blank" href="/pdfsend?type=4105&ts=90792">Services Agreement</a></li> <li class="body"><a class="bodyLink" target="_blank" href="/pdfsend?type=4102&ts=90792">Plan Adoption Agreement</a></li> <li class="body"><a class="bodyLink" target="_blank" href="/pdfsend?type=4113&ts=90792">Group Trust Adoption Agreement</a></li> </ul> </td> </tr> <tr class="tblCellBox3" align="left" colSpan="2"><td colspan="2"><hr class="tblSeparator"></td></tr> <tr class="tblHeadBox3"> <th colSpan="2" class="tblCellBox3" align="left">
Can you give an extract of the html + javascript code?
Marc.
lisa...@att.net wrote:
I saw a posting on this ("Newbie needs help") from January but no final
answer.
The application I'm testing has a lot of links to let the user view PDF
files.
I can bring up the PDF files by clicking the link in a WebTest file, but I don't know how to verify that the PDF file actually popped up? Is there any way? This is an area where we have a lot of errors, so I would like to test this in my regression tests.
Thank you, Lisa
_______________________________________________ WebTest mailing list WebT...@lists.canoo.com http://lists.canoo.com/mailman/listinfo/webtest
_______________________________________________ WebTest mailing list WebT...@lists.canoo.com http://lists.canoo.com/mailman/listinfo/webtest
_______________________________________________ WebTest mailing list WebT...@lists.canoo.com http://lists.canoo.com/mailman/listinfo/webtest
_______________________________________________ WebTest mailing list WebT...@lists.canoo.com http://lists.canoo.com/mailman/listinfo/webtest




