Silk Test Interview Questions4

August 5th, 2008 Rama Posted in Silk Test Interview Questions No Comments »

1. How to run a test case from a test script file?

A test script file can store multiple test cases. You can run a testcase from a test script file:
1. Open the test script file.
2. Select the test case in the test file.
3. Click Run/Testcase menu. the Run testcase dialog box shows up.
4. Click the run button. Silk test starts to run the test case.
5. Do not touch mouse or keyword, to avoid interrupting the test case execution.
6. Silk test finishes executing the testcase. the Result window shows up with the execution result.
7. Review the execution result.

2. How to run a test case from a testplan file?

If a testcase is linked to a testplan, you can run it from the testplan:

1. open the testplan.
2. Select the test description line which has the testcase linked.
3. Click Run/Testcase menu. The Run Testcase dialog box shows up.
4. Click the Run button. Silk test starts to run the test case.
5. Do not touch mouse or Keyword, to avoid interrupting the test case execution.
6. Silk test finishes executing the testcase. The results window show up with the execution result.
7. Review the execution result.

3. How to run all test cases in a test plan?

1. Open the testplan
2. Click Run/Run All Tests menu. Silk test starts to run all the test cases in the testplan.
3. Do not touch mouse or keyboard, to avoid interrupting the test case execution.
4. Silk test finishes executing the testcase. The Results window shows up with the execution result.
5. review the execution result.

4. How to select a group of testcases in a testplan to run?

Usually, a testplan contains a big number of test cases. For some reason, you don’t want to run all test cases in the testplan. You want to select a group of test cases and run them:

1. Open the testplan.
2. Select the test description line(linked to the testcase) to mark.
3. Click Testplan/mark menu. the selected test description line is marked.
4. Repeat this process to select more linked testcases.
5. Click the Run/Run Marked Tests menu. Silk test runs all the marked testcases.
6. Do not touch mouse or keyboard, to avoid interrupting the test case execution.
7. Silk test finishes executing the testcase. The results window shows up with the execution result.
8. Review the execution result.

AddThis Social Bookmark Button

Silk Test Interview Questions3

August 5th, 2008 Rama Posted in Silk Test Interview Questions No Comments »

1. What is DefaultBaseState?

The DefaultBaseState is a starting point of test project from which the Recovery System can automatically restart your test cases when cases fail to continue.

2. How to test your DefaultBaseState?

1. Close your Web application and other Web browsers.
2. make sure your test frame is open.
3. Click Run/Application State menu. The Run Application State dialog box shows up with a list of states. One of them should be defaultBaseState.
4. Select DefaultBaseState.
5. Click Run button. The Runtime status dialog box shows up. And the Results File dialog box shows up too.
6. You should see no error message in the results file.

3. What are the important aspects of a test case?

1. Each test case must be independent of other test cases.
2. Each test case have a single test purpose.
3. Each test case should start from a base state and returning to the same base time.

4. What is the standard flow of execution of a test case?

1. Starting from the base state.
2. Drive the application to the state where the expected result should occur.
3. Verify the actual result against the expected result.
4. Declare the test case as passed or failed.
5. Return to the base state.

5. How to record a test case?

1. Run Silk Test.
2. Click Option/Runtime menu. the Runtime options dialog box shows up.
3. edit the use files field to include your test frame file and the explorer.inc file. For example: ….\HomeFrame.inc, extend\explorer.inc.
4. Make sure IE 5.x DOM is selected.
5. Click OK to close the Runtime Options dialog box.
6. Open your test project.
7. Click Record/Testcase menu. The record testcase dialog box shows up.
8. Name your test case. For example: LoginTest.
9. Select DefaultBasestate in the Application State dropdown list.
10 Click start Recording button. The Record Testcase dialog box closes. Your Web application will be automatically started by Silk test, based on the information in test frame file. Silk test Editor window closes. The Record status dialog box shows up.
11. Continue to use your web application. Silk test records everything you did on your application.
12. Click the “Done” button on the Recording status dialog box to stop recording. The Recording status dialog box closes. the Record Testcase dialog box shows up again.
13. Click paste to Editor. Silk Test will insert the recorded activities as 4test statements into a script file. The Record Testcase dialog closes.
14. Click File/Save Menuto save the script file. You can enter a script file name. For example, LoginTest.t.

6. How to include a test case into a testplan?

1. Make sure your test plan is open.
2. Enter a test description into your testplan. For example, “Test login process”.
3. Select this test description.
4. Click Testplan/detail menu. The testplan detail dialog box shows up.
5. Click the test execution tag on the testplan detail dialog box.
6. Click the “scripts” button to browse and select a testcase script file. For example, LoginTest.t
7. Click the “Testcases” button, to select a testcase recorded in the specified script file.
8. Click OK to close the Testplan Detail box.

7. How record a test case into a testplan automatically?

Test cases can recorded first without a testplan, then included into a testplan later. Test cases can also be recorded into a testplan directly:
1. Make sure your testplan is open.
2. Enter a test description into your testplan. For example, “Test change password”.
3. Select this test description.
4. Click Record/Testcase menu.
5. Enter a name for the script file.
6. Click open. the Record Testcase dialog box shows up.
7. Enter a testcase name in the Testcase Name field.
8. Select defaultbasestate in the application state dropdown list.
9. Click start recording button. The record Testcase dialog box closes. Your web application will be automatically sarted by silk test, based on the information in test frame file. Silk test editor window cloases. the record status dialog box shows up.
10. Continue to use your web application. Silk test records everything you did on your application.
11. Click the “Done” button on the Recording status dialog box to stop recording. The recording status dialog box closes. The record testcase dialog box shows up again.
12. Click Paste to Editor. Silk test will insert the recorded activities as 4Test statements into a script file. The record Testcase dialog closes.
13. Click File/Save menu to save the script file. You can enter a script file name. For example, changePaswordTest.t.

8. How to define an object verification in a test case?

While recording a test case, you can define verification points to verify UI objects:

1. Make sure you are in the process of recording a testcase.
2. make sure the Record status dialog box is on the screen.
3. Make sure your recording reached the web page that has the UI object you want to verify.
4. Click the background(blank area) of the web page. Do not click any objects on the page.
5. Press Ctrl-Alt. The verify window dialog box shows up. All the objects on the current web page are listed on the verify window dialog box.
6. Select the object to be verified in the object list. Un-select all other objects.
7. Select the property to be verified in the property list. Un-select all other properties.
8. Click OK to close the verify window dialog box.
9. Continue your recordings.

AddThis Social Bookmark Button

Silk Test Interview Questions2

August 5th, 2008 Rama Posted in Silk Test Interview Questions No Comments »

1. Where are the testplan attributes stored?

Testplan attributes are stored in the testplan initilization file, testplan.ini, in silk test installation directory.

2. How to assign attribute values to test cases?

1. Make sure your testplan is open.
2. Click on the test case for which you want to assign an attribute value.
3. Click Testplan/detail menu. The Testplan Details dialog box shows up.
4. Click the test attribute tab.
5. click the component field. The dropdown list shows up with all values of “Component”.
6. Select one of the values in the dropdown list.
7. Click OK.

3. What is a test frame?

A test frame is a file that contains information about the application you are testing. information stored in atest frame will be used as references when Silk test records and executes testcases. A test frame is stored in an include file with file extension .inc.

4. How to create a test frame?

1. make sure your Web browser is active and showing your web application home page. Do not minimize this web page window.
2. Make sure your test project is open.
3. Click File/New Menu. the New dialog box shows up.
4. Select the test frame radio button.
5. click Ok. The new Test frame dialog box shows up with a list of all active web applications.
6. Select your web application.
7. Enter a test frame name. For example: HomeFrame. inc.
8. Review the window name. It should be the HTML title your web application. You can resume it, if needed.
9. Click OK to close the new test frame dialog box.
10. Click File/save menu.

5. What is stored in a test frame?

A test frame is a text file, which records the following types of information gor a web application:

1. Comment: Commentary information.
2. wMain Window: A string constant to identify your application’s homepage.
3. Home page window: An object of class Browser child window that holds application home page.
4. sLocation: The URL of the application’s home page.
5. sUsername and dpassword: user name and password if needed to login to your web application.
6. BrowserSize: A pair of values to indicate the size of the browser window.
7. Homepage objects: A list of all objects on the homepage, such as HtmlImage, HtmlText, HtmlLinks, etc.

6. How DOM browser extension identify a web application UI objects?

A web application UI object is identified in 2 parts:

1. Identify the web browserwindow where the web application is running. For example, a web browser window can be identified as “Browser.BrowserChild(”Yahoo Home page”).
Another web browser window can be identified as “Browser.BrowserChild(”Google Home page”).
2. Identify the web UI object based on the HTML element that represents the UI object. For example, an image in a web page can be identified as “HtmlImage(”Yahoo Logo”)”; A hyperlink in a web page can be identified as “HTMLLink(”Site Map”)”; The full identification of a web application UI object is the concatenation of the browser window indentification and the HTML element identification. For example, the yahoo logo image is identified as:
Browser.BrowserChild(”Yahoo Home Page”).HTMLImage(”Yahoo Logo”). The site map link is identified as: Browser.BrowserChild(”Google Home Page).HTMLLink(”Site Map”).

7. What is the syntax of UI object identifier used by DOM extension?

The DOM browser extension uses the following syntax for web UI objects:
Browser.BrowserChild(”page_titile”).html_class(”object_tag”)
1. “page_title” is the title of the web page, defined by the HTML “TITLE” tag.
2. “object_tag” is the label of the HTML element. How a HTML element is labeled depending on the type of HTML element.

8. What is multi-tagging?

Multi-tagging is a technique used by the DOM browser extension to identify a web page UI object. Whenever possible, DOM extension inserts more than one tag into the object identifier in following format:
Browser.BrowserChild(”page_title”).html_class(”caption_tag|window_tag”)
1. “Caption_tag” is the caption of the HTML element.
2. “#index_tag” is the index of this HTML element, counting from the beginning of this page of the same class of HTML elements.
3. “window_tag” is the window identifier.

9. How to add objects of other pages to a test frame?

If your Web application has pages other than the home page, you should also record their page objects into the test frame:
1. Make sure your web browser is active and showing another page of your web application.
2. Make sure Silk test is running.
3. Click File/Open menu.
4. Select your test frame file. For example:HomeFrame.inc.
5. Click OK to open the test frame.
6. Click Record/Window Declarations menu. The Record Window declarations dialof box shows up.
7. Click your web application window. Web page objects are recorded in the Record Window Declarations dialog box.
8. Press Ctrl_Alt to pause the recording.
9. Click “Paste to Editor” button. All recorded objects will be inserted into the test frame.
10. Repeat this for other web pages, if needed.

10. How to specify a browser extension to a web application?

1. Run Silk test.
2. Open Internet explorer(IE).
3. Enter the URL of the web application.
4. Leave the IE window with the web application. Don’t minimize the IE window.
5. To back to Silk test window.
6. Select Basic workflow bar.
7. Click Enable extersions on the workflow bar.
8. The enable extensions dialog will show up. Your web application running in the IE window will listed in the dialog box.
9. Select your web application and click select.
10. The extension settings dialog will show up. Click OK to enable the DOM browser extension.

AddThis Social Bookmark Button

Silk Test Interview Questions1

August 5th, 2008 Rama Posted in Silk Test Interview Questions No Comments »

1. How to open an existing Silk Test project?

A) 1. Run Silk Test
2. Select File Menu
3. Select Open Project
4. Select the project
5. Click OK
6. Silk Test will open the selected project.

2. What is a Silk test TestPlan?

A) The Silk Test testplan is an outline that provides a framework for the software testing process and serves as the point of control for organizing and managing your test requirements. A testplan consists of two distinct parts; an outline, which is a formatted description of the test requirements, and statements, which are used to connect the test plan to Silk test scripts and test cases that implement the test requirements.

3. Where is a testplan stored?

A) Silk Test testplan is stored in a file with .pln file extension.

4. How to create and edit a test plan?

1. Make sure your project is open.
2. Click the files tab in the project explorer.
3. Right click the plan folder.
4. click New file
5. An untitled testplan file opens in the silk test testplan editor.
6. Click file/save menu to save the testplan.

5. What are the types of text lines in a test plan file?

A testplan file contains text lines. There are 5 types of text lines in a testplan file:
1. Comment - Marked in green color: Providing commentary information.
2. Group Description - Marked in black color: Providing description for groups of tests. tests in a testplan can be grouped into multiple levels of groups.
3. Test description - Marked in blue color: Providing descriptions for individual test.
4. Testplan statement - Marked in dark red color: Providing relations to link scripts, testcases, test data, closed sub testplans or an include file to the test plan.
5. Open Subplan file marker - marked in magenta color: Providing relations to link sub testplans to be included in a master testplan.

6. How to create group and sub group descriptions in a testplan?

In a testplan, each text line starting from column 0 represents a top level group description. To create sub group description:

1. Move the cursor the next line below the top level group description.
2. Click Outline/Move Right.
3. The text line will be indented to the right to be come a sub group description.

7. What are testplan attributes?

Test plan attributes are user defined characteristics to be associated with test group descriptions and/or test descriptions. You search, identify, and/or report test cases based on values of the different attributes.

8. What are the default testplan attributes?
Silk Test offers you 3 predefined default attributes:
1. Category: The type of testcase or group of testcases. For example, you can use this attributes to categorize your test groups as “Boundary value tests”, “Navigation tests”, etc.
2. Component: The name of the application modules to be tested.
3. Developer: The name of the QA engineer assigned to develop the testcase or group of testcases.

9. How to define new testplan attributes?

1. Make sure your test project is open.
2. Click Testplan/define attributes menu. The define attributes dialog box shows up. You should see predefined default attributes: Category, Component, and Developer.
3. Click the New button. The New attribute dialog box shows up.
4. Enter a name for your new attribute. For Example: “Level” to indicate the complexity level of test cases.
5. Select an attribute type: Normal, Edit, or Set.
6. Click OK.

10 How to define values for a testplan attribute?

You must define values for a testplan before using it:
1. Make sure your test project is open.
2. Click Testplan/define attribute menu. The define attributes dialog box shows up. You should see predefined default attributes and other attributes defined by yourself.
3. Select an attribute. For example, “Component”. The values box should be empty.
4. Enter a value in Add box. For example, “Catalog”.
5. Click Add. Value “Catalog” should be inserted into the Values box.
6. Repeat the last two steps to add more values.

AddThis Social Bookmark Button

Silk Test Interview Questions

August 1st, 2008 Rama Posted in Silk Test Interview Questions No Comments »

1. What is Silk Test?

Silk test is a software testing automation tool developed by Segue Software, Inc.

2. What is the Segue Testing Methodology?

Segue testing Methodology is a six-phase testing process:

1. Plan : Determine the testing strategy and define specific test requirements.
2. Capture : Classify the GUI objects in your application and build a framework for running your tests.
3. Create : Create automated, reusable tests. Use recording and/ or programming to build test scripts written in Segue’s 4Test language.
4. Run : Select specific tests and execute them against the AUT.
5. Report : Analyze test results and generate defect reports.
6. Track : Track defects in the AUT and perform regression testing.

3. What is AUT?

AUT stands for Application Under Test.

4. What is Silk Test Host?
Silk test Host is a silk test component that manages and execute test scripts. Silktest Host usually runs on a seperate machine different than the machine where AUT is running.

5. What is Silk test Agent?
Silk test Agent is a silk test component that receives testing commands from the Silk test Host and interacts with AUT directly. Silk test Agent usually runs on the same machine where AUT is running.

6. What is 4Test?
4Test is a test scripting language used by silk test to compose test scripts to perform automated tests. 4Test is an object-oriented fourth generation language. It consists of 3 sets of functionalities:

1. A robust library of object-oriented classes and methods that specify how a testcase can interact with an application’s GUI objects.
2. A set of statements, operators and datatypes that you use to introduce structure and logic to a recorded testcase.
3. A library of built-in functions for performing common support tasks.

7. What is the DOM browser extension?
Document Object Model (DOM) browser extesion is a silk Test addon component for testing Web applications. DOM browser extension communicates directly with the web browser to recognize and manipulate objects on a web page. It does this by working with the actual HTML code, rather than relying on the visual pattern recognition techniques currently employed by the Virtual Objects (VO) extension.

8. What is the VO browser extension?
Virtual Object (VO) browser extention is a silk test add-on component for testing Web applications. VO browser extersion uses sophisiticated pattern recognition techniques to identify browser-rendered objects. The VO extention sees Web pages as they appear visually; it does not read or recognize HTML tags in the Web application code. Instead, the VO extension sees the objects in a web page; for example, links, tables, images and compound controls the way that you do, regardless of the technology behind them.

9. What is Silk Test project?
A silk Test is a collection of files that contains required information about a test project.

10. How to create a new Silk Test project?
1. Run Silk Test.
2. Select Basic Workflow bar.
3. Click Open Project on the Workflow bar.
4. Select New Project.
5. Double click Create Project icon in the New Project dialog box.
6. On the Create Project dialog box, enter project name, and your project description.
7. Click OK.
8. Silk Test will create a new subdirectory under Silk Test project directory, and save all files related to the new project under that subdirectory.

AddThis Social Bookmark Button