Cross browser UI testing [duplicate] - testing

This question already has answers here:
What's the best way to test cross-browser compatibility?
(4 answers)
Closed 9 years ago.
when we develop any website then it looks good at our end but client may view the page with different browser then he/she face problem. i search for tool or way by which i can view my pages from my local machine using different browser and different version. i found few web site provide this facility and saw they very slow and they are giving image of my page which i do not want rather i want to view my page in browser. so i want a tool which allow me to select browser and version and then show my page in that browser with specific version. i may change version and page should refresh for changing browser or version. i hope there must be many tool available but unfortunately i not getting right single one. can anyone guide me. thanks

Adobe shut down BrowserLab a few weeks ago, but provided some guidance for other services that you can use on this page. There there are the Spoon.net browser sandboxes, but it installs the VM on your computer and I never liked that.
I personally use VMWare virtual machines with olders versions of IE on Windows, and Safari on a Mac VM. A little more effort to set this up, but I find it works best.

Related

Are there significant risks of using chrome driver [duplicate]

This question already has an answer here:
Security Considerations - ChromeDriver - Webdriver for Chrome
(1 answer)
Closed 2 years ago.
I need to use chrome driver to automate web navigation using selenium.
However, the work computer that I use did not like it, I had to bypass a couple of security blocks. When I dowloaded chrome driver I tried to run it in the cmd terminal which threw up a link and a recommendation that I should read its contents. the link was the following:
https://chromedriver.chromium.org/security-considerations
The link's web page contained a series of warnings about running chrome driver on a computer that has privileged access to information. My computer happens to have just that.
I need to find a way of automating website navigation with or without chrome driver, what should I do??
This is probably because it can do stuff like access websites that you might not want to access, either because its private data or because its a site that you arent allowed to access by law. Pretty sure that, as long as you dont run scripts from others, and know what you are doing yourself you arent taking a risk. The main problem is, that you might not be able to cancel it anymore if it runs once. If you rather do it in another way, you can use the geckodriver from firefox, i have not had such a warning yet but i assume the risk is the same

Inconsistent rendering results with Mobile site in IE10

I'm in the process of developing a Mobile version of some websites using the MVC4 *.mobile.cshtml system.
Everything is working great except when I try and view the sites on my HTC 8x. I get an outrageously large viewport, no javascript executing, offline touch regions and all-around incomplete pageload such that it doesn't function at all. I'm trying to diagnose/debug and not having any luck.
Using IE10 locally with a User Agent string for Windows Phone 8 doesn't show the same behavior. Further, using my exact UA string in any browser locally does not replicate the behavior. I've tried the various viewport workarounds posted on the internet and those have had no impact either.
I'm not on a Windows 8 machine, so I can't install the SDK/Emulator, but I suppose I could upgrade if no other options present themselves.
Anyone have any additional ideas as to how to test/diagnose/replicate this? I've been Googling for days and haven't been able to find any significant resource about this sort of thing.
This was a combination issue with Output Caching and the MVC DisplayModes bug.

Switch webpage from IE Metro to IE10 Desktop Version

I need to create a way so that when users load our webpage inside IEmetro it switches them to IE10 Desktop automatically. Reason behind this is our website features won't work in IEmetro. our site is built in Aspx and cs code, java script and uses some jquery at times.
Does anyone have an idea how we can achieve this?
You don't have any control over what browser the user is using; and there is no reason why your site should not work in Internet Explorer in the Modern UI (formerly 'Metro'). The two browsers are nearly identical in just about every way.
If you're having problems working with Internet Explorer 10, please ask a more specific question here and/or work through the Internet Explorer 10 Guide for Developers.
I would also be interested in this.
IEMetro unfortunately has a number of features disabled, and shows javascript alerts differently drastically altering the user experience.

Opera Mobile for Windows + Reported Screen Size

I know this isn't a direct programming question, but's it's kinda relevant as I'm trying to get a good testing environment set up before I embark on my latest project.
I'm trying to set up Opera Mobile for Windows to allow me to test a new website. The UserAgent I get is a fairly generic one, so my workaround is to tweak my mobile.browser file to have the correct screen width and height of the target device.
Is it possible to add to the list of "fake" user agents that Opera Mobile for Windows can pretend to be? It currently supports S60, Android and Windows Mobile.
You can modify headers using Fiddler scripts. From the examples at http://www.fiddler2.com/fiddler/dev/scriptsamples.asp, here's a line that might be of particular interest:
Pretend your browser is the GoogleBot webcrawler
oSession.oRequest["User-Agent"]="Googlebot/2.X (+http://www.googlebot.com/bot.html)";
OnBeforeRequest

Browser Compatibility testing [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
How do i do browser compatibility testing?
Is there any particular way or checklist through which i can confirm compatibility testing on browser IE 6/7/8 is done.
Let me extend my query in particular to a application :
Let us assume a web application is tested in IE6 (Approx 5000 Test Cases)
Now i need to check the application compatibility in IE7 & IE8 also.
How do i go with ? since i cannot execute all the 5000 Test Cases in all the browsers
I need to know exactly where the problem could occur when tested in IE7 & IE8 browser.
what is the benchmark to test the application compatibility across the Browsers?
For testing a website in different IE versions I use IETester.
I don't have a checklist, but I just visually compare the websites in the different browser and check if the css and javascript (e.g. jQuery plugins) are working as intended. Most of the time you know what parts could be causing problems in older browser versions...
I sometimes use BrowserShots, but it will only show screenshots and there are delays in retrieving the screenshots, so you have to wait for results...
Microsoft has released Expression Web SuperPreview that permits testing of multiple versions of IE (6, 7, 8) side-by-side.
IE only testing is free. They have plans to add support for Firefox and Safari too and charge for it. It looks quite interesting but is still just beta.
A review with quite a number of screen shots:
http://www.istartedsomething.com/20090318/expression-web-superpreview-cross-browser-testing/
Download the beta:
http://www.microsoft.com/downloads/details.aspx?FamilyID=8e6ac106-525d-45d0-84db-dccff3fae677&displaylang=en
Another link:
http://www.webdesignerdepot.com/2009/03/microsoft-announces-superpreview-for-ie-browser-testing/
I understand that your current test cases are not automated.
On top of what the other answers suggest, it feels to be a good idea to automate some of the test cases (the most important/critical scenarios) - check out watin or Selenium. Then, you can run those against multiple browsers to catch some errors. You can make screenshots during the test run and use visual compare tools to detect changes and regressions, which will greatly help you maintaining the app.
Doing that and tracking IE bugs will get you only to some point. You can't completely avoid manual testing...
The good news is that you do not have to worry much about IE8 - it is more standards compliant and you can always use IE7-compatible tag, so it uses IE7 rendering engine.
Try Multiple IEs.
You need
Microsoft SuperPreview
It has redering engines from IE6 to IE8 and also support Firefox and Safari. Also check out this blog post for detailed information and another methods of cross browser testing.
To rescue the web designers from this aching job of testing browser compatibility in different browsers there are few websites which offer this service. On these websites you can check the compatibility of your website in all desired browsers. You can find these websites at http://www.bestpsdtohtml.com/7-awesome-resources-to-test-cross-browser-compatibility-of-your-website/
Try looking up frameworks for unit testing in Javascript (jsUnit for example). Having a large test case will reduce the pain of testing your code in different browsers!
Try using VM Ware Fusion so you may install several operating systems on your machine. Then install all the browsers you need to test against on the different platforms.
Personally I run Fusion on a OSX box, with Windows 7 and Windows XP installed. On Win7 I run IE8, on XP i run IE7.