Here is the good PPT about selenium
Please click the below link...
Presentation Transcript
Selenium Tutorial :
Selenium TutorialWhat is Selenium? :
What is Selenium? • Javascript framework that runs in your webbrowser • Works anywhere Javascript is supported • Hooks for many other languages • Java, Ruby, Python • Can simulate a user navigating through pages and then assert for specific marks on the pages • All you need to really know is HTML to start using it right awayWhere to get it? :
Where to get it? • You can use Selenium-Core and customize everything • But it is easier to just get a Firefox plug-in “Selenium-IDE” that helps you “record” test cases • You can record how an app is being used and then play back those recordings followed by asserts • Get everything at: www.openqa.org/selenium/Selenium IDE :
Selenium IDE The list of actions in the actual test case to execute The root of web application you want to test The log of the events that were executed, including any errors or warning that may have occurredSelenium IDE :
Selenium IDE Execution Commands Record test actions Try the test in the Web based TestRunner Specify commands, including asserts Reference of the currently selected commandTest Creation Demo :
Test Creation Demo • Create test case to log into the gallery • Create test case to log out of the gallerySlide 7:
Start Pixory Connect to the Server Go to the Login Screen Hit the Record ButtonSlide 8:
Type in Username and Password Hit record again to stop Hit submit IDE should updateSlide 9:
Add assertTextPresent and type the text to search for Hit play to make sure your test is successfulCreating a Test Suite :
Creating a Test Suite A Test Suite in Selenium is just an HTML file that contains a table of links to tests Demo Test SuiteDemo Test Suite |
TestLogin |
TestLogout |
Red Bottom Shoes
ReplyDeletePandora Jewelry
Jordan 11
Air Jordan 4
Jordan 11
Yeezy boost 350 v2
Pandora Jewelry Outlet
Air Jordan 9
Pandora Jewelry Official Site