SilkTest FAQ and technical interview questions

Monday, July 24, 2006

SilkTest Question 30: What are the important aspects of a test case?

The following important aspects of a test case applicable not only with Borland SilkTest 8.0, but with other automated testing tools like Mercury's Winrunner 8.2 and Quick Test Pro 9.0 . The manual testing required a little bit different approaches, but definition below applicable on manual testing of web based and client server applications.

In order for a testcase to be able to function properly, the application under test must be in a stable state when the QA engineer begins to execute test case. This stable state is called the base state. The recovery system is responsible for maintaining the base state in the event the application fails or crashes, either during a testcases execution or between test cases.

Each automated test case is independent; it should perform its own setup, driving the application to the state QA engineer wants to test, executing the testcase, and then returning the application to the base state. The QA team and the testcase should not rely upon the successful or unsuccessful completion of another testcase, and the order in which the testcase is executed should have no bearing on its outcome. If a test case relies on a prior testcase to perform some setup actions, and an error causes the setup to fail or, worse yet, the application to crash, all subsequent tescases will fail because they cannot achieve the state where the test is designed to begin

A test case has a single purpose – a single test case should verify a single aspect of the application under test. When QA team designed automated test case in this manner passes or fails, it's easy to determine for any team member specifically what aspect of the target application is either working or not working. If an automated test case contains more than one objective, many outcomes are possible.

In short the important aspect of test case for automated testing :
  • The testcase should always start from a predefined base state and return to the same base state.
  • The testcase must be independent from any other test cases.
  • The testcase must have only one test objective

1 Comments:

  • does any QA Engineer know how to write script in 4test language to update an Excel spreadsheet using SilkTest?

    By Anonymous Anonymous, at 1:39 PM  

Post a Comment

<< Home


All SilkTest interview questions

  • SilkTest Question 67: How to start/stop/pause two word names Windows service with SilkTest?
  • SilkTest Question 66: SilkTest vs Selenium
  • SilkTest Question 65: How to start/stop/pause Windows service with SilkTest?
  • Interview Question 64: How to hide username and password information?
  • SilkTest Question 63: Does Silk Test have any future?
  • Interview Question 62: When can I download Flex extension for SilkTest?
  • SilkTest Question 61: How can I execute the same test case multiple times?
  • SilkTest Question 60: Where can I find SilkTest tutorials?
  • SilkTest Question 59: What is hidecalls keyword for?
  • SilkTest Question 58: SilkTest training from Borland
  • SilkTest Question 57: BCSTE certification and job market?
  • SilkTest Question 56: Will obtaining SCSTE certification improve chances of getting a QA job?
  • SilkTest Question 55: How does conditional operator work?
  • SilkTest Question 54: Links not being recognized
  • SilkTest Question 53: How to fix unable to start Internet Explorer error?
  • SilkTest Question 52: How to fix DLL cannot be loaded error?
  • SilkTest Question 51: How to conduct testing with SilkTest via Microsoft Remote Desktop?
  • SilkTest Question 49: What does this code print?
  • SilkTest Question 48: Do you recommend installing WinRunner and Silktest on the same machine?
  • SilkTest Question 46: How to get machine hostname?
  • SilkTest Question 45: How to fix no license for silktest_gui error?
  • SilkTest Question 44: How to email test results using Microsoft Outlook?
  • SilkTest Question 43: How to count the number of open browsers?
  • SilkTest Question 42: How to get substring of the string variable?
  • SilkTest Question 41: What is the latest version of Silktest?
  • SilkTest Question 40: Did you have any problem with FireFox and SilkTest 8.0?
  • SilkTest Question 39: How to use verify statement?
  • SilkTest Question 38: How to read value from read only text field?
  • SilkTest Question 37: How to fix "Mouse Coordinate (x,y) is off the screen" error?
  • SilkTest Question 36: How to open and close browser?
  • SilkTest Question 35: Did you have any issues with SilkTest 8.0?
  • SilkTest Question 34: How can QA engineer execute SilkTest from the command line
  • SilkTest Question 33: How to stop a running test case before it completes?
  • SilkTest Question 32: Can you explain the standard flow of test case execution
  • SilkTest Question 31: How to update an Excel spreadsheet using SilkTest?
  • SilkTest Question 30: What are the important aspects of a test case?
  • SilkTest Question 29: How to hide password in the 4test script file?
  • SilkTest Question 28: How to start installation testing?
  • SilkTest Question 27: How to set correct browser extension for web based application?
  • SilkTest Question 26: How to repair *** Error: Application not ready error?
  • SilkTest Question 25: How to fix the explorer6_Dom[1] error?
  • SilkTest Question 24: What is the limitation of Silk Test automation tool?
  • SilkTest Question 23: How to set up proxy setting with 4test code?
  • SilkTest Question 22: Explain advantages of DOM extension over VO extension?
  • SilkTest Question 21: How to fix bitmap failed to stabilize error?
  • SilkTest Question 20: How to use regular expression in Silk Test?
  • SilkTest Question 19: How to execute the string as the function?
  • SilkTest Question 18: How to read data from Micros...
  • Silktest Question 17: How to close all windows on desktop?
  • Silktest Question 16: How to delete cookies files using the 4test language?
  • Silktest Question 15: The SilkMeter license server is down. What can I do?
  • Silktest Question 14: How to test dynamic text in web based application?
  • Silktest Question 13: What is SilkTest Host?
  • Silktest Question 12: What are the database functions offered by DBTester?
  • Silktest Question 11: What is the Borland Testing Methodology?
  • Silktest Question 10: How to append to List Of List Of String?
  • Silktest Question 9: How to capture the contents of Microsoft Word document invoked in Internet Explorer browser.
  • Silktest Question 8: If I get an exception during executing DB_Connect, how do I know exactly what kind of exception it is?
  • Silktest Question 7: Matching '?' character in a string
  • Silktest Question 6: Silktest or Winrunner?
  • Silktest Question 5: Why did Borland buy Segue?
  • Silktest Question 4: Where can I buy any good basic or advance books on SilkTest?
  • Silktest Question 3: Is SilkTest Extension Kit part of SilkTest?
  • Silktest Question 2: SilkTest recognises Internet Explorer as a Client/Server Application
  • Silktest Question 1: SilkTest does not set DefaultBaseState for Internet Explorer
  •