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.
Related
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.
Which one of the following should be preferred for automating web project
Selenium IDE
Selenium WebDriver
I want to automate web application and this question is creating hell of confusion in my mind
First of all Selenium IDE is only for Firefox browser where as Selenium WebDriver will work in all kinds of browsers.
selenium IDE should be considered if you have very little knowledge on coding and your requirement is to create play-back recorded scripts. also if u have small size web app and with low maintenance scope then go for selenium IDE.
If your web app is dynamic with lots of test cases and you are sure that maintenance will be required then go for selenium web driver. For that you will require good programming language knowledge.
Let me know if this helps.
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/)
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.
What's the pro's and cons for both and why should I use either of them for functional testing?
Regards,
Jonas
Selenium is for integration testing, It will test how your web application behaves in an actual browser. This can find things that HTTPUnit cannot, e.g. browser compatibility of css and JavaScript.
HTTPUnit tests web applications by directly calling the web service and manipulating the response. This is a functional test framework as it tests what your web app does, not how it behaves across different platforms.
One advantage of HTTPUnit is that it is much quicker than Selenium. Personally I would (and do) use both. HTTPUnit for complete functional testing and Selenium for selective (not complete) integration testing to check browser compatibility.
HttpUnit is very simple, extremely easy to use, and requires very little to get up and running. It's a good place to start for simple tests, however it will require more coding to create complex tests.
Selenium is more than just a library, like HttpUnit. It equips you better for more advanced, stateful tests.
Selenium will use your browser to automate tests
- Selenium http://seleniumhq.org/
httpunit goes from the html specification and simulates a standards conformant browser
- httpunit http://httpunit.sourceforge.net/
Selenium is more specific and will let you use browser specific behaviour and not limit the application under test.
With httpunit the limits are set by what httpunit supports which is far less than most browser do. E.g. the javascript capabilities are reduced to a very small set. On the other hand if your app passes httpunit tests it will probably run on quite a few browsers and environments.
So if you are interested in supporting a mininimal common set of features httpunit might be for you.