How would you test a browser? - testing

I have two questions about testing a browser
The browser I am trying to test is somewhat hybrid. It sometimes runs in chromium way and sometimes runs in internet explorer way
It's hard to check whether all the websites work well in a browser. How would you check that? If there is a good open-source automation tool to do this, would you guys recommend me?
If there is anyone testing a browser, how do you guys automate the test? (if there is a good scenario form, i'd be grateful if you guys share and sharing a automation tool would be nice too)
I'd appreciate it if I get a reply :-)

https://crossbrowsertesting.com/
http://www.multibrowserviewer.com/
you can use selenium ide tool for automation testing.

There are a few good technologies in this realm:
For testing and validation of web development / websites in general you can use Selenium Grid which is meant to test websites in various browses
The URL for Selenium Grid: https://code.google.com/p/selenium/wiki/Grid2
To automate use cases in a browser you can use the free popular Selenium tool which can be used in various languages (http://www.seleniumhq.org/download/).
Other tools:
Mechanize (http://wwwsearch.sourceforge.net/mechanize/)
Watir (http://watir.com/)

Related

Automatized tool to test site via browser?

does anybody knows a tool when I can set a scenario (click here, fill this form, submit) just like a human did it? Preferably with Firefox
you can test site by using selenium. Its a automated testing tool.Selenium IDE is a Firefox plugin.So you can use that

Cloud-based testing automation tools

I try to find a service which provides a functionality that allow me to create manual tests autmation for web-based applications in simple way with visual constructor without any coding, so it could be
simple in use without any coding on selenium or another framework tool
has option to set testing in schedule mode via the web interface to perform regression testing
has ID's validation and shows possible inconsistencies
The main point is reproduce manual tester's work without using automation scripts and do it in simple way in order to a beginner will be able to work with it.
So could anyone describe his own experience ?
There are two main options I would consider
to find a service which provides a functionality that allow me to create manual tests autmation for web-based applications in simple way
First one is BrowserStack and you can record your Selenium tests using the Selenium IDE extension for FireFox. It can export the recorded steps into your favorite language (C#, Python, ect). You can execute these recorded scripts on BrowserStack by pointing the hub URL to Browserstack's Selenium hub ‘http://hub.browserstack.com/wd/hub’ along with your username and Automate key. Your 'username' and 'automate key' can be found at Account --> Automate1, after you have logged in to your account.
I would suggest, you refer to the comprehensive documentation on BrowserStack Automate. It takes you step-by-step through the product and all its features. You can select the language you are using and get started with BrowserStack Automate. If you have any more questions, feel free to email at support#browserstack.com. They will be happy to help you out.
Second option is SauceLabs and the Selenium Builder. This is the docs that will guide you. Further more you have CI integrations for Jenkins and Bamboo.
You can use Selenium IDE to create your automated tests. With this Firefox plugin, you can record a test in your browser.
Once you're done recording, you can export the test and upload it to TestingBot. There you can specify the browsers you want to run the test on. TestingBot will then run your test across all the browsers you specified.

How to automate custom designed browser based application?

We have an JavaScript application which runs on our own custom designed browser. Now, I have came across the situation to automate our application on that browser.
I have vast experience in Selenium Webdriver using Java. But it doesn't automate it.
Could you please let me know can we automate custom designed browser using selenium. If yes please explain.
or
Is there any open source tool to automate it using Java as scripting language.
I have tried Sikuli but it is very slow. Please suggest something else.
I also heard about Google Window Tester Pro. Will it do for me. If yes please let me know how to setup it in eclipse.
Thanks in advance..

Does anyone know browser emulators?

Over 2 years I tested web application with help Selenium framework. I know the best design is testing on VM.
The only one downside of this - it's very slow testing. Why?
browser only gets so much memory, if you will run several instances.
site coud be very slow.
connections can be very slow.
Would be great if there was a framework that emulated the browser (engine/core) correctly and can provide some results (api) for surf on the page.
I don't mean to simulate just on the one browser with different version (like IE). I mean to simulate for all browsers with very popular and newest version.
Does anyone know a framework/tool that can do it?
Thank you.
You can try PhantomJS for example.
From their page:
PhantomJS is a headless WebKit with JavaScript API. It has fast and
native support for various web standards: DOM handling, CSS selector,
JSON, Canvas, and SVG.
You can use it in combination with Jasmine (as well as several other frameworks) for testing.
However the selection of available engines is limited to WebKit. I doubt that Selenium will be easy to replace. By the way it looks like Selenium will probably become a W3C standard over the next years.
You can also run Selenium with Xvfb - I use it to execute test on remote server and it is going very well.

Web apps with selenium test suit

I am looking for web applications with selenium test cases. Does anybody know any of these web applications?
I'm not really sure what you are asking, but Selenium is used to create test cases FOR web applications. It is not a feature of web apps.
If you are looking for a simple way to test a web app, you could try the IDE: http://seleniumhq.org/projects/ide/
This tool is something that beginners could use.
If you want a page that can give a demo of Selenium tests in action I am not aware of one. The best is to either, try Selenium IDE (as Blaine has suggested +1), or, if you have some coding experience you could try Selenium WebDriver (also referred to as Selenium 2) which is easy to code and allows for a bit more control when writing tests.
A simple search will also provide you with many Selenium tutorials as it is a fairly popular testing package.