Re: R: R: [Httpunit-develop] getLinks
Brought to you by:
russgold
From: Alejandro R. <ara...@ca...> - 2003-07-30 15:17:14
|
Are you using something like getLinkWith("Link Text Goes Here"); ??? I have had problems with using this approach, but none when using WebLink array[] = response.getLinks() Alejandro On 7/30/03 10:10 AM, "massimiliano mauri" <mas...@wi...> wrote: > > it's the same. > > "getLinks()" is a successive step that already I did (and I omitted in the > code example) > > -----Messaggio originale----- > Da: htt...@li... > [mailto:htt...@li...]Per conto di > Alejandro Ramirez > Inviato: mercoledi 30 luglio 2003 16.45 > A: htt...@li... > Oggetto: Re: R: [Httpunit-develop] getLinks > > > You can get all the links on your page/frame with something like this: > > WebLink allLinks[] = response.getLinks(); > > This will be an array of all the links in your page/frame. > > Alejandro > > > On 7/30/03 8:36 AM, "massimiliano mauri" <mas...@wi...> > wrote: > >> Hi >> I have a similar problem. >> Using HttpUnit-1.5.3, in a dinamic page (JSP) containing a frameset, it > does >> not find some links in nested tables contained in frames pages. >> I operate correctly? >> >> String[] frameNames = webResp.getFrameNames(); >> for(int i=0; i<frameNames.length; i++){ >> ... >> WebResponse frameResponse = webResp.getSubframeContents(frameNames[i]); >> ... >> } >> >> >> >> -----Messaggio originale----- >> Da: htt...@li... >> [mailto:htt...@li...]Per conto di >> Russell Gold >> Inviato: martedi 22 luglio 2003 23.51 >> A: htt...@li... >> Oggetto: Re: [Httpunit-develop] getLinks >> >> >> >> On Thursday, July 17, 2003, at 10:12 PM, Hee (Ann) Ngu wrote: >> >>> Does getLinks() returns links embedded in table? >> >> It should. >> >>> I used getLinks() to retrieve the links of >>> an html page with tables, but the no of links returned are not equal >>> to what is displayed in netscape version 7.0 browser. Anybody >>> encounter similar problem before? >> >> I would need more information to help you here. >> >> >> >> ------------------------------------------------------- >> This SF.net email is sponsored by: VM Ware >> With VMware you can run multiple operating systems on a single machine. >> WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the >> same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 >> _______________________________________________ >> Httpunit-develop mailing list >> Htt...@li... >> https://lists.sourceforge.net/lists/listinfo/httpunit-develop >> >> >> >> ------------------------------------------------------- >> This SF.Net email sponsored by: Free pre-built ASP.NET sites including >> Data Reports, E-commerce, Portals, and Forums are available now. >> Download today and enter to win an XBOX or Visual Studio .NET. >> > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 >> _______________________________________________ >> Httpunit-develop mailing list >> Htt...@li... >> https://lists.sourceforge.net/lists/listinfo/httpunit-develop > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Httpunit-develop mailing list > Htt...@li... > https://lists.sourceforge.net/lists/listinfo/httpunit-develop > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Httpunit-develop mailing list > Htt...@li... > https://lists.sourceforge.net/lists/listinfo/httpunit-develop |