473,769 Members | 2,143 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1172
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*********@di scussions.micro soft.com> wrote in message
news:CD******** *************** ***********@mic rosoft.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
2802
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 have gotten it to work and it seems to do the job. I have a requirement to run multiple tests from many computers simultaneously. The manual seems to hint that
1
2039
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
1470
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 followed in your projects that involved application code blocks. It would be more useful if specific testing was done for application code blocks for performance/scalability/security requirements of the project.
2
3222
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 the behaviour of accepting connections and testing some other private methods that would be called when the server receives a connection request.
4
1677
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 test a login process but i don't know how to do that. If someone can help me with this, i really appreciate that. Also, feel free to suggest another test application.
4
2874
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 web page hosted on a unix driven file server. The user wants to have this file converted to a pdf. My page takes the query string and turns it into a windows unc path, then I copy the file down to the web server and place it into a directory. This...
0
8186
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 I'm not able read the property defined under this section. those are like this User Settings -Testing Application Settings -Test
7
1676
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 someone will go to product.asp?id=123, the page will show the application("product123") instead of getting the information from the database. If a change of pricing or availability occours, I will delete the application("product123"). The...
0
1140
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 web application, which will be used for internal web service testing. All of it runs on c# .net 2.0. Currently I wanted to do some stress testing using multi-threading. Problem is I'm using threading iside web context. To further complicate...
5
2640
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. In a nutshell, I understand how this can be considered desireable by some, but I am not one of those people. My situation is that we have a root site (hosted @ http://www.mydomain.com) in the root application folder '/'.
0
9579
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
1
9987
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9857
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8867
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6662
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5294
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5444
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3952
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2812
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.