i am a newbie in automation testing using Selenium. What do I need to run an automation test? [closed] - testing

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I know Selenium IDE should be needed to record/playback a test. What are the other things in selenium i need, to automate test cases. I am not sure about anything other that recording and playing back. How does this selenium actually works. Do i need to code any programs like developing? or only recording the test will be enough? Share you knowledge about Selenium test.
Where can i get best tutorial for Selenium?

Do i need to code any programs like developing? or only recording the
test will be enough?
This largely depends on what you require your tests to do. If you only need to record a very straightforward set of tests, using the Selenium IDE and recording tests will probably be sufficient. If you are trying to make a robust and extensible test suite, with varied input and/or varied test conditions, you will probably need to do some development to fully tap into the power of Selenium.
The best resources that I know of are the official Selenium documentation, which is well-written and even comes with a bunch of pictures to help walk you through starting with Selenium. For more detailed or technical questions, I would refer to the Selenium google group, which is pretty active.

I recommend these high rating Selenium video tutorial (duration : 2.5 hours in 3 parts) :
http://www.youtube.com/watch?v=3BeK5aH2y3Q
http://www.youtube.com/watch?v=jWDGM4eZqVw
http://www.youtube.com/watch?v=7dC7eiDqytc
Although its title is Selenium + JUnit, but actually it is all about Selenium IDE

Related

What will be the best tool to automate a Single Page Application test cases [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 11 months ago.
Improve this question
I have a new website to test which is a Single page application (SPA) and I'm not sure which tool shall I use to automate it. I thought of Selenium and Protractor but Protractor would not be a good idea as my site has nothing to do with AngularJS and in that case is it like Selenium WebDriver is the only option or there are any other tool available in market?
If selenium is the only good option then what sort of challenge I can face?
I'd go for Watir-Webdriver and Ruby! Main benefits - easy to read and understand code, ruby flexibility, power and irb debugger, speed and reliability. As for challenges - one would be of integrating technologies (if your site uses C# as the backend - i would definitely go with C# and Selenium-Webdriver)
Yes you can go with selenium webdriver with a framework like POM(Page object Model).
Page object model gives flexibility and maintainability for you scripts.
Refer:-
http://toolsqa.com/selenium-webdriver/page-object-model/
Hope it will help you :)
In case of one page application its will be bad idea to use selenium.
add all the dll's to your project, run the webDriver in your code and so on ...
The best idea will be using (.Net webBrowser + MSHtml) [in case that your test will be on internet explorer web browser]
The Benefits:
Speed !
Build in Framework.

Tool for "ordinary people" be able to run web tests? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
Which tool would you say have the fastest learning-curve for "ordinary people" (ie, people whose experience with computers is basically using Faceboook) to be able to write "web tests" (for instance, "access this site, type [X] on this input field, press button, wait 5 seconds, check if the response contains 'OK'").
I'm looking for something that could be teachable in 5-10 hours. I don't care if it results in a stable and very reliable test. This is just to be an alternative for a "monkey tester" while integration tests aren't developed.
The simplest idea I can think is a macro-recorder (recommending the tester to wait a longer time for things that may take longer) and taking a screenshot in the end (the tester would select parts of the image that are important).
Is there anything better than that (or at least that)?
Thanks
With 5-10 hours learning Selenium IDE for basics tests should be more then enough.
It's free
Huge userbase, lots of learning materials and ready to use examples
No installation needed, just add-on to firefox (or other browsers as well)
A little familiarity with html and javascript enables you to write rather complex tests for your web application
If for some reasons Selenium IDE is not an option for you you might check products like e.g. Ghost inspector or Visual Studio Test Manager.

What is the most appropriate GUI Testing Tool for MS Dynamix CRM hybrid application? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I have been recently assigned as a tester on a web app that integrates with Microsoft Dynamix CRM.
There are a lot of repetitive testing tasks that could be automated to accelarate the testing effort.
I proposed this to my boss and said that I can start hacking together some watir scripts. However, he wants me to do more research (he is happy to invest the cash if there is something out there that can save us time - he is heavily attached to the idea of there being some kind of record and playback tool out there that cranks out robust scripts but I am not convinced).
This is my tool experience so far:
webdriver (Python)
watir-webdriver (just a dabble for an interview)
TestComplete (small suite of tests for a webapp in 2011)
QTP (in 2009)
Can someone please recommend some tools for me? I don't really know where to start.
It sounds like
Selenium / Webdriver is widely used, widely supported and a good price (free :) )
"Telerik TestStudio" is quite popular but seems like overkill for what I want to do
"QTP" is unreliable and overpriced.
"TestComplete" has some scattered support.
Since I'm already handy with Ruby, I am leaning towards running with the Watir option. Does this seem like a reasonable course?
I would suggest to go with the Open Source solutions: either Watir or Selenium. Both should work, then it depends on your liking. Personally I use Robot Framework with its selenium Library and it works very well and has quite a dynamic community.
Note that you should also consider if you can do part of your testing bellow the UI. You could probably do some tests on the API offered by Dynamix and used by your web app. That would be quicker and more robust.
I would recommend selenium-webdriver. As you said it's widely used, widely supported and good price (free). As you aleady know Ruby you can write tests on ruby using selenium-webdriver.

How to start with Selenium Webdriver? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I guess Selenium Webdriver would be the good choice but not sure, how I can use it for my day-to-day project work. Without external training, what could be the best way to go step by step and master webdriver?
As Eugene said -
Download Selenium IDE. Play along with it, recording and running test cases.
Go through the official docs.
Export test cases in the language of your choice.
Read a few blogs regarding WebDriver. Try a few code snippets.
Write your own logic for data driven or key driven test cases.
And basically keep learning.
Best of luck!
There is a free udemy course which will show you how to set up and start using WebDriver with junit. You can find it here:
Start Using Selenium WebDriver with Java
This short course is made by Alan Richardson, author of Selenium Simplified. This is an excellent book, but is directed at Selenium-RC. I am currently using the book to learn WebDriver by translating the exercises from Selenium-RC syntax.
In my experience, the best way to push yourself to learn something like automation is to have a project. For example, if you have tests you run quite often at work, consider automating them in your spare time as part of the learning process.

Selenium Grid service [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
Can anyone recommend a good Selenium Grid "host" for running tests? Instead of having to set up my own network of testing machines?
I'm personally partial to Sauce Labs. For me, the recorded screencasts of your tests is really the key feature. Essentially you just point your existing tests at a sauce server instead of your localhost and you're good to go. One slight drawback is that they don't have Mac instances available for test. They offer a free trial to get you started.
The major thing sauce doesn't handle well is load/performance testing. For that, look at BrowserMob. Essentially, you're driving load tests with real browsers using selenium scripts.
I've heard good things about PushToTest but never used them.
One thing to note is that these are all Selenium 1.x providers. Selenium 2 doesn't have a grid yet, but that should be coming soon.
Selenium Grid2 is now available.
I've been looking at services, and the two most comparable for grid testing look to be sauce labs as mentioned above, and also browserstack which offers a cheaper "unlimited" package I believe. It has 10 parallel users, which I'm not certain if those compare to VMs that sauce labs uses in the same way. This project requires testing over a full suite of browser variations, so the parallel and unlimited aspects are key factors for us.