1

My company ask mt to write a program for testing without using selenium IDE and firefox. How can I use windowform to build a selenium-base program?? I always only import dll.file to Nunit and test.Now how can I just run in my own program?

5
  • Why can't you use Selenium? Seems like this would be reinventing the wheel? Or do you for some reason need a better wheel :-) Commented Mar 29, 2012 at 4:23
  • cause our company write some system cannot be used on the firefox... Actually,i feel coufused too. they ask me use selenium API. Commented Mar 29, 2012 at 4:31
  • Selenium supports most browsers though. You can even use it with IE Commented Mar 29, 2012 at 4:32
  • i know.That's why I feel confused. Commented Mar 29, 2012 at 4:35
  • Best to get clarification from your team, why they hate selenium? I would suggest, use WatIR, in this case you do not need to reinvent the wheel. Just a thought. Commented Mar 29, 2012 at 5:57

1 Answer 1

1

Here's how I run Selenium Tests

Download Selenium RC Launch selenium RC like this: java -jar [Your path to]\Selenium-server.jar -interactive --This will launch a Java console application that is your Selenium Server (RC)

Write and run the tests as described in @shenhengbin's article

There is no executable involved in this, and you can use any testing framework to run the tests.

Sign up to request clarification or add additional context in comments.

2 Comments

yap,i am already done this. My colleague use exe to pack a jar to run.
If you are using Visual Studio, you can actually use the built in testing framework in VS. TO install Nunit you can download it from their site and add a reference to their dlls in your testing project.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.