[NUnitAsp-devl] RE: CVS check-in: Added UrlReferrer support to the Browser (HttpClient) object.
Brought to you by:
jlittle82
From: Venkata R. Y. <vr...@sa...> - 2004-09-09 05:12:58
|
Hi Levi, Thanks a lot for Your fix. It is working fine.=20 My next major concern is regarding Datagrid.=20 Data Grid issues * Unable to pickup row number with a particular cell value in = Data Grid. * Links dynamically generated on the Data Grid cannot be = clicked. =20 If u can help me with these issues it will be of great help for me in = using NUnitAsp on my project successfully. =20 Thanks once again. =20 Venkata Ramana yekasi =ACSapient | Making Technology Matter =20 #31, 4th Floor, Grape Garden, 6th Block, 17th H Main, Koramangala, Bangalore 560066 Tel: (080)-51217793 Email: vr...@sa... =20 -----Original Message----- From: Levi Khatskevitch [mailto:lkh...@ho...]=20 Sent: Thursday, September 09, 2004 12:40 AM To: Venkata Ramana Yekasi; nun...@li... Subject: CVS check-in: Added UrlReferrer support to the Browser = (HttpClient) object. =20 Venkata, =20 I've checked a fix into CVS today, but you'll have to recompile NUnitAsp = yourself until the next release (about 2 months at least). I've added=20 UrlReferrer field to HttpClient (Browser object) similar to=20 HttpRequest.UrlReferrer property in .NET Framework so that you can=20 explicitly set referrer too it if you need to. Also to correctly emulate = real browser's behavior Browser.GetPage does not track the referring URL = (it's like entering a URL in browser's address bar) while all other page = transitions like links and buttons do. =20 Regards, - Levi =20 ----- Original Message -----=20 From: "Venkata Ramana Yekasi" <vr...@sa...> To: <nun...@li...> Sent: Tuesday, September 07, 2004 11:08 AM Subject: [NUnitAsp-devl] URL Referrer Issue =20 =20 Hi All, I am facing one major issue in using NUnitAsp for my project. Typically I wrote automation script for 1. Login in to the portal with username and password 2. User lands on Home page. 3. On my home page I am clicking on a link to go another page. =20 When I click on the Anchor link on my home page instead of going to the respective page it is landing on Errorpage defined in my project. After so much of debugging I came to know the issue is with " Request.UrlReferrer" that is written in the code behind of the Page. NunitAsp is unable to keep track of UrlReferrer. This means that UrlReferrer is null and hence that page is unable to load. =20 Did anyone encounter this issue and Is there any work around for this issue? =20 Thanks in advance, Ramana =20 |