Test Questions

  • October 2019
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Test Questions as PDF for free.

More details

  • Words: 1,834
  • Pages: 7
Q: What is the difference between test cases and test scripts? A: Test cases describe what you want(Functionality) to test. Test scripts describe how to perform the test. A test case typically describes detailed test conditions that are designed to produce an expected result. Test scripts also contain expected results, but usually in more general terms. A distinction must also be made between manual and automated test scripts. Automated test scripts are sometimes referred to as test procedures. These automated test scripts or procedures closely resemble source code. In fact, they are software testing software. In test automation, a test script may be placed in a loop and read many different test cases from test data files. You can also carry this concept to manual test scripts by keeping the test script free of specific test data. Q: Are business users typically agreeable to perform user acceptance testing? A: Much of the answer has to do with the organizational culture. In some organizations, the users are eager and willing, but IS does not want them involved. In other organizations the opposite is true. I have found that users are agreeable to perform testing IF 1) they do not have to perform their regular job duties at a full-time level and 2) their contribution is rewarded by the organization. Q: Can developers actually do a good job of testing? A: Yes! Most developers can be trained to be excellent testers. To make this happen they need: 1) a good unit testing process, 2) the ability to test a peer's work when they lose the "independent eye.", and 3) management support to build testing time into the schedule. The buddy system for developer testing is a great way to test during development and still maintain objectivity Softpro sys written test Questions

1.

Write and explain any one Sdlc which u know?

2.

Describe Testing process which u follow?

3.

Differentiate between Static and Dynamic testing?

4.

Define Types of Testing - unit, integration and system?

5.

Define Testing standards -

6.

Difference between Black Box and White box testing?

7.

Difference between Top Down and Bottom Up testing?

8.

Describe why We need automation?

9.

Differentiate between Validation and verification?

Please ANSWER those questions then only come to HCL Tech. 1.

What is the tester's role in software development?

2.

What does the tester do in white box testing?

3.

How does the tester perform black box testing?

4.

What does the tester do in automated testing?

5.

What are the benefits of automated testing over white box and black box testing?

6.

Name three types of tests that should be automated.

7.

Name three types of tests that should NOT be automated.

8.

What are the four steps of automated testing?

9.

What is an IDE?

10. What are the three aspects of GUI software to test for with WinRunner? 11. What are the two ways to create test scripts? 12. What are the four steps to record a test script? 13. Why position WinRunner and the AUT so they do not overlap? 14. What icon is used in WinRunner to get an explanation of the syntax of TSL? 15. What are the two recording modes in WinRunner? 16. Which recording mode is suggested for most situations? 17. Name three reasons why the tester may choose to record in Context Sensitive mode. 18. Name three reasons why the tester may choose to record in Analog mode. 19. When we are recording in WinRunner and interact with the AUT, what does WinRunner do? 20. How does the tester run or playback a test script? 21. Name two ways the AUT can be changed when the tester interacts with it during recording. 22. How might the two changes you listed for Question #1 affect subsequent tests? 23. What are initial conditions? 24. What are end conditions? 25. Why are initial and end conditions necessary? 26. If a test script instructs WinRunner to open an application to test it, what end conditions might be good? 27. If the tester names a test test1, what will be the name of the directory for this test? 28. Why is a lock file created? 29. What is contained in a chklist subdirectory? 30. Name four subdirectories that might be in the directory for the test described in Question #27. 31. If the AUT does not respond quickly enough for an action to be executed in the test script and WinRunner moves to the next action, why would this be a problem? 32. Name three actions that may take the AUT more time to perform that would require synchronization. 33. What is a synchronization point?

34. Name four types of synchronization. 35. The AUT we tested did not have a synchronization problem, how did we create the problem? 36.

How many milliseconds are in one second?

The following four questions use this line of syntax: obj_wait_bitmap("Insert Done...","Img1",10); 37.

In the above statement, what is obj_wait_bitmap?

38.

In the above statement, what is "Insert Done..."?

39.

In the above statement, what is "Img1"?

40.

In the above statement, what is 10?

41.

What is verification in manual testing?

42.

How is the definition of verification with WinRunner different than with manual testing?

43.

What are the four steps of how WinRunner verifies?

44.

Name three things that we might test with GUI checkpoints.

45.

Name three examples of visual cues that might be used to establish GUI checkpoints.

The following five questions use this line of syntax: obj_check_gui("Order No.","list1.ckl","gui1",1); 46.

In the above statement, what is obj_check_gui?

47.

In the above statement, what is "Order No."?

48.

In the above statement, what is "list1.ckl"?

49.

In the above statement, what is "gui1"?

50.

In the above statement, what is 1?

51.

What is bitmap verification?

52.

What is the process for establishing bitmap checkpoints?

53.

In our test using bitmap checkpoints, why did we switch to analog mode?

54.

In our test using bitmap checkpoints, when did WinRunner capture the expected object to

compare with the actual object? 55.

How can we view the captured expected object before and after we run our test?

56.

What statement did WinRunner insert into our test script to test our bitmap image?

The following four questions use this line of syntax: obj_check_bitmap("(static)","Img1",10); 57.

In the above statement, what is obj_check_bitmap?

58.

In the above statement, what is "(static)"?

59.

In the above statement, what is "Img1"?

60.

In the above statement, what is 10?

61.

Name three times you would use text verification.

62.

When setting up a test to verify text, what is the purpose of declaring a variable?

63.

In the basic syntax of an if-else statement, if the condition is false, what happens?

64.

What does a tl_step do?

The following six questions use these lines of syntax: if (new_total == first_total + 1) tl_step("Graph Total",PASS,"Total is correct.");

else tl_step("Graph Total",FAIL,"Total is incorrect."); 65.

What line of syntax is the condition?

66.

If the AUT functions correctly, what will be the status?

67.

If the AUT does not function correctly, what will be the status?

68.

What is "Graph Total"?

69.

Under what conditions would the first action execute?

70.

Under what conditions would the second action execute?

71.

What is a GUI Map file?

72.

As an attribute of an object, what is the class?

73.

As an attribute of an object, what is the label or attached text?

74.

As an attribute of an object, what is the MSW_id?

75.

As an attribute of an object, what is the parent?

password_edit_set("Password:","kzptnyoslzjsaz"); 76.

In the above line of syntax, what is password_edit_set?

77.

In the above line of syntax, what is "kzptnyoslzjsaz"?

78.

What does the GUI map connect together in the test script and in the AUT?

79.

During the recording of a test script, what does WinRunner do regarding the GUI Map file?

80.

During the playback of a test script, what does WinRunner do regarding the GUI Map file?

81.

In general terms, what are the two ways to manage GUI Map files for tests?

82.

How does one create a permanent GUI Map file from a temporary GUI Map file?

83.

How can one add objects to a permanent GUI Map file?

84.

How can one make a GUI Map file for a complete software application?

85.

What can you do with the GUI Spy?

86.

What are the two ways to load a GUI Map file?

87.

What is the syntax for loading a GUI Map file through TSL statements?

88.

What is the syntax for unloading a GUI Map file through TSL statements?

89.

Why use two back slashes (\\) as part of the syntax for loading and unloading GUI Map files?

90.

What is a batch test?

91.

What are the two main ways that a batch test is different than a regular test script?

92.

What does a call statement do?

93.

What is the syntax for a call statement?

94.

What does running the batch test in batch mode do?

The following four questions use these lines of syntax: for (i=0; i<3; i++) { call "a:\\test16"(); call "a:\\test17"(); } 95.

What does i=0 do?

96.

What does i<3 do?

97.

What does i++ do?

98.

How many times will this for loop iterate (or loop) through the call statements?

99.

What do the curly braces do?

100.

What is a data-driven test?

101.

Why create a data-driven test?

102.

What is a data table?

103.

In a parameterized test script, what will the following two lines of syntax do?

if (rc != E_OK && rc != E_FILE_OPEN) pause("Cannot open table."); 104.

What does the function ddt_open do?

105.

What does the function ddt_get_row_count do?

106.

What does the function ddt_set_row do?

107.

In our parameterized test, different customer names were inserted in the application each

time a new order was created; where did the names come from? 108. What does the function ddt_close do? Manual Testing 1. what is the difference between Regression testing and Re-testing? What is the need for re testing? 2. what is the deference between system test case and functional test case? 3. who will do system testing and integration testing? How many members involved in that? 4. how can u divide equilance partitioning to giv e an example? Like text box accepts 1 to 100 charecters?

5. A bug is found at tester’s environment, but that is not rising at development what is the solution for that in developer point as well as tester point. 6. To whom we tester has to submit the bugs and from where the tester gets fixed bugs? 7. In the design phase what is the duty of tester? 8. If The client’s logo is not present or mistake in company name spelling in the project what severity tester will give? 9. How U know the weather test case is integration or system test case? 10. WR allows function overloading and operator overriding?

Related Documents

Test Questions
October 2019 21
Ccna Test Questions
October 2019 15
Post Test Questions
November 2019 19
Level Test Guide Questions
October 2019 15