473,383 Members | 1,876 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

Application testing

Hi,

I have developed my application using VS.NET and used project properties to
both IE and Netscape. I am testing my application on IE and Netscape.
The pages appear perfect on IE but totally messed up on Netscape.
can anyone please suggest me how to solve this problem?

Thanks,
Stephen
Nov 18 '05 #1
2 1153
The following may help.

Summary:

Essentially, ASP.Net is configured to treat all browsers
other than IE as down-level browsers. This means that
while Opera 7, NN6+, and a host of other browsers are
perfectly capable, ASP.Net's HtmlTextWriter will generate
down-level HTML for these browsers. From link one below:
-------------------------
intro: ASP.Net -- its Request.Browser object is useful for
easy browser detection. Request.Browser uses the
<browserCaps> section of the machine.config XML file (and
the optional web.config XML file) to match the current
browser's User-Agent string with its matching
capabilities.

problem: just like ASP's browscap.ini before it, nobody
official is taking responsibility to update this info.
Microsoft pawns the job off on Cyscape.com, which doesn't
care about doing the world a service (it's busy making a
buck on its competing BrowserHawk product instead). As a
result, machine.config is already woefully out-of-date,
and unaware of newer browsers like Netscape 7, Safari, and
Konqueror, so Request.Browser believes that they
are "Netscape 5" (though Safari and Konqueror are wholly
unrelated rendering engines).

problem 2: I went searching and searching for a newer
<browserCaps> section updated by someone else. I found
some possibilites (linked below), but I didn't like that
they don't identify Netscape as Gecko (extrapolating the
Netscape brand's marketing version from the real Gecko
engine's version). Since Gecko is the rendering engine
underneath, that's what we webdevs should care about.

solution: ...so I rolled my own. I swiped a starting
point (also linked below), and warmed up my RegEx skills
again for the rest. Besides identifying Netscape 6+ and
Mozilla/Firebird as Gecko, it also fixes detection of
Konqueror and Safari (aka AppleWebKit engine), both of
which are erroneously ID'd as Netscape5 by the default
machine.config.
-------------------------
More information here:

http://www.schkerke.com/blog/archive...07/19/293.aspx

http://slingfive.com/pages/code/browserCaps/
http://www.hunterstone.com/browsercaps/browsercaps.xml
-------------------------
Please update your file Web.config or Machine.config file
as it may cause several different ServerControls to render
incorrectly in browsers such as Opera and FireFox.

-----Original Message-----
Hi,

I have developed my application using VS.NET and used project properties toboth IE and Netscape. I am testing my application on IE and Netscape.The pages appear perfect on IE but totally messed up on Netscape.can anyone please suggest me how to solve this problem?

Thanks,
Stephen
.

Nov 18 '05 #2
Thanks Guys,

I added the piece of code to my mchine.config file and it works.

Thanks again,
Stephen.

"Ryan Riddell" <Ry*********@discussions.microsoft.com> wrote in message
news:CD**********************************@microsof t.com...
Thanks for the post. I have heard of BrowserCaps before but never dealt with it. At work we are in an IE only intranet environment so I don't care if the pages look terrible in FireFox. It is against company policy to run
unauthorized software and IE is the only authorized browser. But at home it is a different story, I personally prefer FireFox.

So the question I have to get at now. There are multiple custom BrowserCaps out there. What version of end-user done BrowserCaps is good to use? Have the versions you linked been tested well with different browsers?

Thanks.

"Charles Chen" wrote:
Microsoft pawns the job off on Cyscape.com, which doesn't
care about doing the world a service (it's busy making a
buck on its competing BrowserHawk product instead). As a
result, machine.config is already woefully out-of-date,
and unaware of newer browsers like Netscape 7, Safari, and
Konqueror, so Request.Browser believes that they
are "Netscape 5" (though Safari and Konqueror are wholly
unrelated rendering engines).

-------------------------
More information here:

http://www.schkerke.com/blog/archive...07/19/293.aspx

http://slingfive.com/pages/code/browserCaps/
http://www.hunterstone.com/browsercaps/browsercaps.xml
-------------------------

Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Anthony Abbot | last post by:
Hi I have a requirement to use the Application Center Test (part of Visual Studio.Net Enterprise architect) program, to simulate loading on my Web servers. Does anyone know if it is any good? I...
1
by: Manish Gupta | last post by:
Hi there Can any one tell me the way to do load / stress testing of a client server based application. This is a Stand-alone application made using C#. Regards Manish
0
by: Ramprasad Ramamurthy | last post by:
Hi, I am in the process of writing a document on "How to Test Application Code Blocks" from performance, security perspectives. It would be great if you can share with me the testing process you...
2
by: Naveen Mukkelli | last post by:
Hi, I'm writing a client/server application using C#. The server accepts connecitons asynchronously, using BeginAccept/EndAccept. Is there any way we can write some unit tests(NUnit) to test...
4
by: Pablo Cedeno | last post by:
Hi all, I'm looking for a testing tool to test my web application made in aspx I started working with JMeter but i'm lost in this. I made the simpliest test, get an aspx page, but now i need to...
4
by: =?Utf-8?B?VkIgSm9ubmll?= | last post by:
I am at my witless end here, please help! I have an ASP.Net aspx web page, hosted on Windows Server 2003, that receives a query string with the path to an autocad drawing file selected from a...
0
by: Lucky | last post by:
Hi guys, I've got a problem under reading settlings from App.config file. I've used System.Configuration to reach to the "User Settings" and "Application Settings" sections. the problem is now...
7
by: Bruce | last post by:
In a site that has about 4000 products, in 1000 categories, I thought that I can store each product and category details in its own application("var"), instead of trips to the database. When...
0
by: LoneTiger | last post by:
Hi everyone, I've got a smaller problem which I can't get around of. I've seen some quite usefull answers around and was hoing someone might be able to help. What I'm working on is a...
5
by: IUnknown | last post by:
Ok, we are all aware of the situation where modifying the folder structure (adding files, folders, deleting files, etc) will result in ASP.NET triggering a recompilation/restart of the application....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.