Interview Questions, Answers and Tutorials

Month: December 2012

Selenium Tutorial

Components of Selenium: a. Selenium IDE – Plugin to Firefox to record and playtests in firefox and also export tests in different languages. The most appealing format is the HTML test case which seems to based on fit HTML. b. Selenium RC- Allows playing of exported test in different platforms/OS. c. Selenium Grid – Allows controlling lots of selenium machines.Selenium RC Tutorial: Selenium RC is a Java-based command-line server that starts browsers and runs commands you pass from your tests. Steps to set up the Selenium tool and execute the test case: 1. Install Selenium IDE 2. Record a test Read More

Run LoadRunner Controller from the command line

You can open the LoadRunner Controller scenario with: LoadRunnerbinWlrun.exe -Run -TestPath scenario. lrs -ResultName res_folder   For example:      (note: click the image to enlarge it)   As a result of the above command, LoadRunner Controller:    starts opens Controller scenario executes it saves results to folder ‘C:TempLR_Resresult_0’ After that, the Controller finishes working and closes. Please, see files from created ‘C:TempLR_Resresult_0’ folder:     Tips: As you see, there is a LoadRunner Result file (result_0.lrr). You can pass it automatically to LoadRunner Analysis for further processing. Actually, Wlrun.exe can have several settings. There are their descriptions from HP LoadRunner Read More

Selenium Interview Questions

1) What does SIDE stand for?    2) What is the difference between an asset and a verify with Selenium commands?    3) What Selenium commands can be used to help debug a regexp?    4) What is one big difference between SilkTest and Selenium, excluding the price?    5) Which browsers can Selenium IDE be run in?    6) If a Selenium function requires a script argument, what would that argument look like in general terms?    7) If a Selenium function requires a pattern argument, what five prefixes might that argument have?    8) What is the regular Read More

Selenium Test Tool

Selenium is a set of tools that supports the development of test automation for web-based applications. Selenium supports multiple browser platforms. Selenium can be used for Functional and Performance Test Automation for web-based applications.Selenium Components Selenium is composed of three major tools. Each one has a specific role in aiding the development of web application test automation. Selenium-IDE Selenium-IDE is the Integrated Development Environment for building Selenium test cases.  Selenium-RC (Remote Control)  Selenium-RC allows the test automation developer to use a programming language for maximum flexibility and extensibility in developing test logic.  Selenium-RC provides an API (Application Programming Interface) and Read More