hongclub
asked on
selenium jumpstart
hi,
I am going to use selenium for my web application testing.
I am super new to selenium ... can anyone give me a jumpstart and overview?
especially what kind of environment do i need to setup?
I follow a lot with this tutorial:
http://www.youtube.com/watch?v=pIYJL9VFYZE
I also play around with it, is it necessary to use selenium RC ?
cuz the ide will record the test, and i can just replay the recorded test script. how come i need to run on RC, Junit, and even need to deal with java code?
Please advise,
Tommy
I am going to use selenium for my web application testing.
I am super new to selenium ... can anyone give me a jumpstart and overview?
especially what kind of environment do i need to setup?
I follow a lot with this tutorial:
http://www.youtube.com/watch?v=pIYJL9VFYZE
I also play around with it, is it necessary to use selenium RC ?
cuz the ide will record the test, and i can just replay the recorded test script. how come i need to run on RC, Junit, and even need to deal with java code?
Please advise,
Tommy
ASKER
Thanks for your input, very helpful.
i have more question:
1. RC-supported languages (Java, PHP, Perl, Python, Ruby, C#) have subroutines, loops, conditionals, etc. IDE's Selenese/HTML tests do not. (Although there is a JS extension that provides primitive flow control.)
question: I thought IDE can also generate Java, PHP, HTML, etc?
Another questions:
(1) am i right that i can just use IDE to run a simple test and replay again? but i guess just against firefox ... unless i use sauce lab builder, correct?
(2) why do i need Junit.
I will play around more, thanks
Tommy
i have more question:
1. RC-supported languages (Java, PHP, Perl, Python, Ruby, C#) have subroutines, loops, conditionals, etc. IDE's Selenese/HTML tests do not. (Although there is a JS extension that provides primitive flow control.)
question: I thought IDE can also generate Java, PHP, HTML, etc?
Another questions:
(1) am i right that i can just use IDE to run a simple test and replay again? but i guess just against firefox ... unless i use sauce lab builder, correct?
(2) why do i need Junit.
I will play around more, thanks
Tommy
ASKER
one more question.
If i will use sauce lab solution, like using their server against cloud, do i still need to install RC on my machine.
Our goal is to come up the test script first on my machine, then once it is ready, use their cloud.
Since their service has fee involved, that's why we want to develop on our side first.
So again, can i just use IDE to develop the script first (and do some customization), then dump it to sauce lab? so i don't need to deal with RC, Junit, etc
Any input? i am ready your slide show, good material, thanks
Tommy
If i will use sauce lab solution, like using their server against cloud, do i still need to install RC on my machine.
Our goal is to come up the test script first on my machine, then once it is ready, use their cloud.
Since their service has fee involved, that's why we want to develop on our side first.
So again, can i just use IDE to develop the script first (and do some customization), then dump it to sauce lab? so i don't need to deal with RC, Junit, etc
Any input? i am ready your slide show, good material, thanks
Tommy
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
yes, thanks! i am sure it took me a while to get familiar the whole selenium ... definitely read more docs and play around more.
ASKER
btw, i am facing this problem when i run it in Selenium RC ... not sure you have quick solution, but let me give a shot.
https://www.experts-exchange.com/questions/27025573/selenium-HelloWorld-class.html
Tommy
https://www.experts-exchange.com/questions/27025573/selenium-HelloWorld-class.html
Tommy
The two main reasons people use RC instead of IDE are:
1. RC-supported languages (Java, PHP, Perl, Python, Ruby, C#) have subroutines, loops, conditionals, etc. IDE's Selenese/HTML tests do not. (Although there is a JS extension that provides primitive flow control.)
2. RC tests can be run against any browser, not just Firefox.
#1 is a great reason to use RC instead of IDE. However, #2 is not as good, because there's an option to the RC server called "-htmlSuite" which allows one to run the HTML tests generated by IDE against different browsers.
I'd suggest you continue your education with the official Selenium docs located at http://seleniumhq.org/docs or by reading a book called _Selenium Simplified_. I've also got a set of slides that cover IDE/Selenese at http://www.ssqa-sv.org/speakers.htm#20090310
Good luck!
--mam-p
http://maryannmp.wordpress.com