Is there anything similar to Selenium IDE that would run on Internet Explorer 7? - unit-testing

I need to develop Web functional testing for an application that currently supports only IE 7+. I'd also like to have my tests exported in Java so that I can have them integrated with my Java codebase

You can record tests in Selenium IDE on Firefox and then export them to Java (File > Export Test Case As...). You can then using a testing framework such as JUnit or TestNG to run your tests with Selenium RC. To test in Internet Explorer 7, set your browser string to *iexplore (HTA mode) or *iexploreproxy and run the RC on a machine with version 7 installed.

Selenium RC can run on IE 7 and you can do more with it because you can write the tests in high-level languages like Java and Ruby.

Related

Automated Testing (Testtoolkit Test Assemblies)

I have an on-prem version of Business Central Wave 2 installed directly on my Windows 10 enterprise machine (NOT a docker container) and want to start writing test apps.
Firstly there is not Testtoolkit folder in the DVD but rather a Test Assemblies folder in the DVD.
Secondly, how may I import the Test Assemblies if that I what needs to be imported to start writing tests?
The Tests and the Test Suite are on the DVD in the FolderĀ Applications\BaseApp\Test. You can install them with the PowerShell CmdLet Publish-NAVApp (https://learn.microsoft.com/en-us/powershell/module/microsoft.dynamics.nav.apps.management/publish-navapp) and Install-NAVApp (https://learn.microsoft.com/en-us/powershell/module/microsoft.dynamics.nav.apps.management/install-navapp)

Lettuce test with django and selenium no run on windows

I have a lettuce test suite using selenium and everything works just fine on linux.
After I installed django and everything that's needed on windows to test the suite on IE8,9 too, and I tried to run the test, it only opens my browser and says that the test passed with 0 features, 0 steps etc. The same test suite on linux runs just fine.
What do I need to make them work on windows 7 too ???
I use python for my test.
Maybe it's not the best solution for you problem, I'm not even sure that it's valid for IE, but you could try to launch IE remotely so you will not need to launch whole application on windows (i.e. if you were using gunicorn as wsgi server, you couldn't launch on windows at all).
Python-selenium has functionality to use remote browsers, I'm just not sure about IE.

Running NUnit tests in TeamCity 6.5.X with NUnit addins

We are using TeamCity 6.5.1 to manage the compilation, testing and deployment of our builds. Up until now we have been using the NUnit Build Runner from TeamCity to run our tests with NUnit 2.5.8 and had great success.
http://confluence.jetbrains.com/display/TCD65/NUnit
All of our tests are written in C# and .Net 4.0 using Visual Studio 2010. The test projects are compiled into an assembly that we reference through the TeamCity interface.
Now we are adding in a new test project for UI tests that require a custom NUnit addin that we developed to extend the native NUnit functionality. When running the tests in a local development environment with NUnit 2.5.8 installed we are able to place the custom addin in the NUnit addins directory. When NUnit is loaded our addin is picked up automatically.
C:\Program Files (x86)\NUnit 2.5.8\bin\net-2.0\addins
Using the NUnit Build Runner in TeamCity 6.5.1 we cannot see of a way to install our addin. Unlike the native installation of NUnit, TeamCity does not appear to pick up an addin just by placing it inside a sub directory of the NUnit installation.
Does anyone know of a way to install/use an addin using the NUnit Build Runner? Existing documentation discusses the NUnit command line console runner which we are not using. We are using the NUnit Build Runner as the method to run all of our tests so it would be most ideal if we could maintain a standard testing mechanism.
Thank you!
I was trying to solve the same problem.
As I found out TeamCity uses its assembly Nunit.
Therefore there is no possibility of expansion. You can use the command line to run tests via Nunit. And TeamCity use step "Build Failure Conditions" for reading logs and view the results.

Im testing with selenium on ubuntu. Test in invisible workspace

Im testing my code with selenium RC. And every time when i run tests, selenium starts a browser in my active workspase, and i don't like this way. how can i set a selenium workspase to run selenium browsers in another workspace?
For repetitive testing, you should consider using xvfb for having a headless selenium. We've branched it to hudson for CIT
There's a maven plugin available, for example

Selenium, automated frontend testing on different OS

My complete working environment is Linux based (Ubuntu for desktop and server). I use Hudson and Selenium to execute tests on my EE6/ZK web application with any browser available for Ubuntu.
But how would I test my application with IE (Windows) without setting up a Selenium server in Windows. Thought I could run Windows in a VMWare or Virtualbox, but still it needs a "local" selenium and how would I trigger it ? Install hudson as well and pretty much replicate the complete CI in Windows ? How is MAC ?
Any tips or experience with cross-browser-platform-OS automated testing ?
Sven
You will need to use Selenium Grid. There is a Selenium plug-ins for Hudson available, and this article has a guide how to setup Continuous Integration with Hudson and Selenium Grid. And yes, you will have to install Windows in a virtual machine.