Selenium free tutorials

Page 1

TEKSLATE Selenium Free Tutorials


INTRODUCTION TO SELENIUM


Selenium :It in an open source Functional automation tool for web application . Automation:The process of converting the manual test cases to Auto machine test scripts in known as Automation. Then scripts can be Executed on all the targeted Application. When over received without Manual effect. Advantages of Automation: We can save time by Executing the test cases Without any Manual effect We can cast reduce cast to the company CTC Test scripts are repeatable an all the builds We can maintain accuracy by repeating the same task in same matter 3 legs can identified We can get the test report from the tool We can ensure for quality


Limitations of Selenium IDE We can’t perform regression testing with Selenium IDE. Ex:-The recorded scripts can’t be run on the iterative for increments builds it the application is dynamically changing [Regularly check] We can’t perform Re-testing. Ex:-Test the login functionality with multiple sets of login individual Static actions can’t be recorded Ex:-GU3 test cases It won’t provide the detailed test report. We can’t perform database testing also . Are the above can be handle by using RC(or)Web driver.


Selenium WebDriver and its Features we can work on all the latest versions like firefox 27,Id10,google chrome 17,safari 5 and opera 18. By using selenium rc all the browser can be launch but it is having the version limitations [Google chrome 22, selenium rc,safari 5] Not necessary to start the selenium server to run the webdriver programs.

It is lanches only one browser .it means it won’t launch the command history browser. Web driver directly maximizes the browser not necessary to use winfdow maximize command. By default web driver maintains the pageload synchronization. If it is page refresh we need to hadle it by using threa.sleep It is having the auto scrolling documents option into the application while executing the script


Frameworks in Selenium Def :- The structural way of maintaining the scripts is known as frame work. we have multiple frame works.

1) module frame work 2) Data driver frame work 3) key board driver frame work

4) Hybrid frame work 1) Modular framework:– It is the basic frame work and also known as linear fw.

Application will be divided into multiple modules by the automation engg 2)Data driver framework:From this framework onwards, Selenium introduces external files like excel extend xml, data base a.tic to take the input data as well as to give the output results.


Selenium Grid It is for parallel execution. We can launch multiple browser at a time and the scripts can be executed on the targeted browsers simultaneously. We can perform parallel execution by using selenium 2 with test NG ,xml file by using the below argument [command] <suite name=” hybrid “ parallel=”tests” > *execute spicejet pop program in two browsers parallely How to handle capture[security code]:Capturer is an image ,we can’t read the values from the images. To get the values from the image are need to connect to the database.


And Also Issues Interview Questions How to’s For More Selenium Free Tutorials Please Visit: http://bit.ly/1AANgAV


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.