Interview Questions, Answers and Tutorials

Year: 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

Companies Written Exam Sample Paper Set -4

The following text will be used in Q.31 and Q.32. In a system designed to work out the tax to be paid:  An employee has $4000 of salary tax-free The next $1500 is taxed at 10% The next $28000 is taxed at 22% Any further amount is taxed at 40% 31. To the nearest $ which of these is a valid Boundary Value Analysis test case?  A. $1500 B. $32001 C. $28000 D. $33501 32. Which of these groups of numbers would fall into the same equivalence class?  A. $5800; $28000; $32000 B. $0; $200; $4200 C. $5200; $5500; $28000 D. Read More

Companies Written Exam Sample Paper Set -3

21. Which of the following is NOT part of a high-level test plan? A. Functions not to be tested. B. Environmental requirements. C. Analysis of Specifications. D. Entry and Exit criteria. 22. When do you stop testing? A. When the specified number of faults are found. B. When the test completion criteria are met. C. When all high and medium priority tests are complete. D. When all statements have been executed. 23. Which of the following is least important in test management? A. Estimating test duration. B. Incident Management. C. Configuration Management. D. De-bugging. 24. How would you estimate the Read More

Companies Written Exam Sample Paper Set -2

11. A piece of software has been given….what tests in the following will you perform? 1) Test the areas most critical to business processes 2) Test the areas where faults will be maximum 3) Test the easiest functionalitiesA. 1&2 are true and 3 are false. B. 1,2&3 are true. C. 1 is true, 2&3 are false. D. 1&2 are false, 3 are true. 12. Amount of testing performed will not depend on A. Risks involved B. Contractual requirements C. Legal requirements D. Test data. 13. Which of the following provides the biggest potential cost saving from the use of CAST? Read More

Companies Written Exam Sample Paper Set -1

1. What is failure? A. Deviation from expected result to the actual result B. Defect in the software. C. Error in the program code. D. Fault in the system. 2. People who don’t participate in technical reviews A. Analysts B. Management C. Developers D. Testers 3. What type of testing is done to supplement the rigorous testing? A. Regression testing. B. Integration testing. C. Error Guessing D. System testing. 4. Capture and replay facilities are least likely to be used to …. A. Performance testing B. Recovery testing C. GUI testing D. User requirements. 5. If a candidate is given Read More

GUI Testing

GUI testing is a process to test the application’s user interface and to make sure that it confirms the design requirements. 1. Text Box a. Move the Mouse Cursor over all Enter-able TextBoxes. The cursor should change from an arrow to Insert Bar. b. If it doesn’t then the text in the box should be grey or non-update-able. c. Try to overflow the text by typing too many characters. d. Enter invalid characters – Letters in amount fields, try strange characters like +, – *, etc. in All fields. e. SHIFT and Arrow should Select Characters. Selection should also be Read More

Test Case for E-Commerce Site (login)

LOGIN-1: Normal User Login Purpose:Test that users can log in to the system with the proper user ID and password. Prerequisites:The user is not logged into the system. The user account ‘test.user’ exists and is in good standing. Test Data:User ID: test.userPassword: testing_answers Test Steps:1. Visit the Login page.2. Enter the User ID stated above.3. Enter the Password stated above.4. Click the Submit button. Verify Results:5. The user is logged into the user administration page. Post-Test:6. Click the Logout button. 7. Notes and Questions. LOGIN-2: Invalid User ID Purpose:Test that a user receives an error message when they attempt to Read More