|
Yep, you've got that covered!
/ravi
|
|
|
|
|
I heard he was hammered a lot too.
|
|
|
|
|
There's a few articles here on CodeProject, but frankly, the ones I've looked at don't seem very good, so I'm looking for a decent "how to" blog / article on using Selenium with C# to automate testing a website. Barring that, what alternative website integration test tools do you use?
Marc
|
|
|
|
|
Selenium is really good, especially if you use WebDriver and not the player/recorder in Firefox.
The default environment Java/Eclipse is (in my opinion) a right pain in the neck. Instead I use Selenium in Visual Studio writing all the tests in c# in standard unit test projects. It as it limitations and mainly I use it for smoke tests/regression tests or to get to a certain point in manual testing.
I found it helpful to write a whole bunch of webdriver extension methods and create some code snippets. This makes it a breeze to write tests that are readable and that my testers can use without being programmers. Another thing to consider is giving an ID to all your UI elements, it removes the pain form having to write an XPath filter.
The Selenium tests are triggered during continuous integration at check-in time and it just works... nugget makes it easy to find the right packages, I use diverse Selenium Webdrivers (internet Explorer, Chrome, Firefox) so the test are ran against a decent variety of browsers.
Selenium is great and easy to use but if Selenium does not cut it for you, you may find Telerik Test Studio a good solution but it's quite expensive.
I don't have the time to write any article but maybe I should go to bed later, it's a great subject.
Valery.
|
|
|
|
|
Valery Possoz wrote: I don't have the time to write any article What you are doing sounds fascinating, and I wish you did have time to write an article for CP on it
«I want to stay as close to the edge as I can without going over. Out on the edge you see all kinds of things you can't see from the center» Kurt Vonnegut, Jr.
|
|
|
|
|
Had dinner with friends on Saturday night. One of them grew up in Paraguay.
My wife asked what type of food they had; she enjoys different cultures and was curious.
The reply was: beef, goat, sheep, horse and some donkey.
Her next statement was, "Some of the best hotdogs I've ever had were made from donkey."
My immediate reply, "And when you reached for the second one, your husband said, 'Stop, you're making an ass of yourself!'"
Much laughter ensued from all present.
|
|
|
|
|
Tim Carmichael wrote: My wife asked
[...]
Tim Carmichael wrote: My immediate reply, "And when you reached for the second one, your husband said
Am I misreading this, or you're referring to yourself in the third person?
|
|
|
|
|
My wife Beth, asked the other lady whose name is also, Beth what they ate.
The other Beth's husband is Terry, so, my comment could be restated as... "Terry, upon seeing his Beth reach for another hotdog..."
|
|
|
|
|
Gotcha. I (mis)read "her next statement" as being your wife's, in response to the answer she got.
|
|
|
|
|
It's not a good idea to go to the Cheesecake factory at 10pm, buy cheesecake, take it home and eat it just before going to bed. Not a good ideas at all. Sure, it tastes great but don't be fooled - it will haunt you! So, just say no, don't do it.
|
|
|
|
|
Well, probably not the whole thing in one sitting, no...
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
Of course the whole thing! Hmm: maybe it was the extra large dollop of cream that did me in... next time, ignore the cream...
|
|
|
|
|
Wow. You're eating like you're 20 again.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
RyanDev wrote: You're eating like you're 20 again
I never stopped... I just forgot that I love cheesecake but it doesn't love me!
|
|
|
|
|
I love a good cheesecake...a "plain" vanilla one, with Madagascan vanilla, sugar, cream cheese, cream, and ginger nut biscuit base. Served with a sharp fruit couli... :WeNeedALipLickingSmiley:
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
Karel Čapek wrote: eat it just before going to bed.
It's not a good idea to eat ANYTHING before going to bed. Ideally, nothing to eat at least two hours prior to bed time.
|
|
|
|
|
Why? I've never had a problem eating stuff before (except dairy rich foods). I think a lot of these things (like don't eat before swimming) are old wives tales.
|
|
|
|
|
Karel Čapek wrote: I've never had a problem eating stuff before
Unless you are an avid athlete and work out a lot, the food you eat before bed, turns to fat. If you are young (before 30) this may not be an issue, but as you get older it will be.
I would then ask you, are you physically fit or physically fat? Not trying to be mean or offensive, just a question with relevance to the subject.
and you are not supposed to eat before swimming because it can cause stomach cramps, as with me. So, no, it is not a wive's tale.
|
|
|
|
|
Ernst Stavro Blofeld wrote: Unless you are an avid athlete and work out a lot, the food you eat before bed, turns to fat.
Myth [^]
Ernst Stavro Blofeld wrote: I would then ask you, are you physically fit or physically fat?
Pretty fit, not much fat: have never exercised as you only get so many heartbeats and I don't want to use them up too soon. I guess I have good genetics.
Ernst Stavro Blofeld wrote: and you are not supposed to eat before swimming because it can cause stomach cramps, as with me. So, no, it is not a wive's tale.
Myth [^]
I think it's just you; not trying to be mean, of course.
|
|
|
|
|
I am a diabetic, and I will believe actual human nutritionists and doctors before I believe a sh*tty website. As for the swimming, it may just be me; who knows. Good luck with the Cheesecake.
|
|
|
|
|
Ernst Stavro Blofeld wrote: I will believe actual human nutritionists and doctors
That's on you: I don't trust anyone.
Ernst Stavro Blofeld wrote: As for the swimming, it may just be me; who knows.
You do: you already told us.
Ernst Stavro Blofeld wrote: Good luck with the Cheesecake.
A little late for that: it now languishes in a sewer somewhere; perhaps the local rats will enjoy it a touch more than I did.
|
|
|
|
|
Karel Čapek wrote: I don't trust anyone.
That to me is sad. How old are you if you don't mind me asking?
|
|
|
|
|
Ernst Stavro Blofeld wrote: That to me is sad.
You must be a teenager.
Ernst Stavro Blofeld wrote: How old are you if you don't mind me asking?
376 next birthday. Old enough to know that you do not trust anyone until they prove themselves and, even then, remain cynical.
|
|
|
|
|
I am 43 years old and a military veteran.
|
|
|
|
|
a) we thank you for your service.
b) what has your service got to do with anything? Why did you feel the need to say that?
c) shut-up, kid - I have a underpants older than you.
|
|
|
|