Back To Normal

Subscribe To Our E-Mail Newsletter

Monday, March 15, 2010

Skills Required For Automation Engineer?

  1. Automation tool knowledge (Silk Test, QTP)
  2.  Unix/Linux user level commands & Shell scripts
  3. DB concepts & Oracle SQLPlus queries
  4. QA&QC Concepts
  5. Manual Testing technique (including, Write TCs, Log issues and QA Metrics). 
  6. Last but not least, soft skills especially spoken English should be strong.
Read More


Tuesday, March 9, 2010

To list out all files under Folder and Sub Folders in Windows ?

   Command : dir /s /B
Read More


Monday, March 8, 2010

What is the use of opt and ini file?

Ini file is specific to that project. Instead of creating the two project like IE6.vtp and IE7.vtp, user can reset the default options through the opt file.

Another way of looking at option files is to look at the partner.ini file. This file contains all of the options (Agent, Runtime, Extensions, ect.) that get loaded when you start up SilkTest. An .OPT file is an .INI file that contains items from the partner.ini file that you want to have changed when you open that option set.
 
Why? -- Suppose you have 2 projects that you work on. Each have different extensions being used and frame files used. Instead of manually typing the frame file into the Use Files part of the Run time Option dialog each time you want to switch to testing another app, you could have all the options you need stored in an .OPT file.

  To open the .opt file
    1. open the silk test
    2. Navigate to the options menu and click the open new options set.
   
  For Example:
    Excel 2003 and 2007  -- Change or reset the extensions through the opt file.
Read More


Where help files are located in Silk Test?

4test.inc This file have all default types information and Browser type related information
4Test.t Have information about the all liberties methods and functions. if user update the 4 Test.t file
, it will update the library browser.
4test.help default Chm file type.
Read More


Thursday, March 4, 2010

Define FrameWork and Types of Framework?

Framework may be designed as a set of abstract concepts, processes, procedures and environment in which automated tests will be designed, created and implemented.this framework definition includes the physical structures used for test creation and implementation, as well as the logical interactions among those components.

It is Classified as
  1. First Generation Frame work
      a. Linear Frame Work
  2. Second generation Framework(hybrid Framework)
      b.Functional Decomposition
      c.Data Driven Framework
  3.Third Generation Frame Work
      d.Key word Driven Framework
  4.Fourth Generation Frame Work
      e.Model Based Frame Work.

For Detail:
http://www.automatedtestinginstitute.com/home/index.php?option=com_content&view=article&id=69:frameworks-introduction&catid=91:frameworks-introduction&Itemid=75
Read More


Wednesday, March 3, 2010

How do we represent the bussiness logic ?

Bussiness logic may be represented by following ways
  • Flow Chart
  • Decision table
  • State machine
  • Use case
Read More


how do we combine the various test values for each test data element?

1. Exhaustive
2.one data at time
3.Deductive / analytical
4.orthogonal arrays.
Read More


Types of test data design techniques?

1. Boundary Value analysis
     Test the planned limits of the software. Test the valid ,last possible and invalid data just outside the boundary.
    Boundary types;
  • numeric
  • Character
  • Position
  • Quantity
  • Speed
  • location
2. Equivalence partitioning

     An equivalence class or partition is a set of test cases that test the same thing or revals the same bug.

3. special value

     select the test data on the basis of features of a function tester use the domain knowledge or prior experience or error guessing.

4. Error based

Generate the test cases based on
  • programmer histories
  • programmer complexity
  • knowledge of error prone syntactic construct
Guess error based on data type

5. Input/output domain.
  • Looking from input sides , generate inputs to map to outputs
  • also ensure that you look from output side to ensure that you have generated all possible inputs.
Read More


Types of Test Design techniques?

1.use specification
2.use structure of code
3.Use past historical data
4.learn from each test execution cycle( domain knowledge)
Read More


Define Test Scenario:

Test scenario is a thread of operational use at any level of testing.
  1. At system level , the operational use is one such use/abuse by the end customer
  2. Scenarios are long at system level and short at unit test level.
Example ;Login screen

TS1 : Ensure that an invalid user is disallowed tobe logged in
  1. tc1: invalid name - Name is null
  2. tc2: name is too long
  3. tc3: name contains illegal character
  4. tc4: name is not a registered user name.
Read More


Define Testcase:

Testcase may be defined as an input-output pair with an expected result.
Read More


How to set the recoverysystem in Silk Test?

To set the recovery system:
  • Make sure the application that you are testing is running.
  • Click Set Recovery System on the Basic Workflow bar. If the workflow bar is not visible, choose Workflows/Basic to enable it.
  • From the Application list, click the name of the application that you are testing. All open applications that are not minimized are listed. This list is dynamic and will update if you open a new application. If you are connected to the Open Agent, only those applications that have extensions enabled display in the list.

  • If you selected a non-Web application as the application: the Command line field displays the path to the executable (.exe) for the application that you selected.the Working directory field displays the path of the application you selected.
  • If you selected a Web application, the Start testing on this page field displays the URL for the application you selected. If an application appears in the list, but the URL does not display in this field, your extensions may not be enabled correctly. Click the Enable Extensions button in the Basic work flow bar to automatically enable and test extension settings.
  • Optionally, in the Frame file name field, modify the frame file name and click Browse to specify the location in which you want to save this file. Frame files must have a .inc extension. By default, this field displays the default name and path of the frame file you are creating. The default is frame.inc. If frame.inc already exists, SilkTest appends the next logical number to the new frame file name; for example, frame1.inc.
  • Optionally, in the Window name field, change the window name to use a short name to identify your application.
  • Click OK.Click OK when the message indicating that the recovery system is configured appears.
  • A new 4Test include file, frame.inc
Note: Source taken from Borland help
Read More


To load and Run Silk test From Command Propmt

To load SilkTest, type:
partner

To run the test.s suite, type:
partner -r test.s on system "sys1"

To run the test.t script, type:
partner -m sys1 -r test.t

To run the test.t script with arguments, type:
partner -r test.t arg1 arg2

To run the tests marked by the query named query3 in tests.pln, type:
partner -query query3 -r tests.pln

To run tests.pln, and export the most recent results set from tests.res to tests.rex, type:
partner -q -resexport -r tests.pln

To edit the test.inc include file, type:
partner test.inc
Read More


How to read and Write data from Text File using Silk Test?

Silk Test is providing Default functions to read and write data into text Files.
For Reading data from Text File:
ListRead (lsList, sFileName, frType)
Note : Each item in the list can be a maximum of 512 characters.-
For Writing data into Text File:
ListWrite (lsList, sFileName, ftType)


But if you want to update the data into Text file. user has to write new functions for that.
Function writedataintotextFile(sFileFullPath,lsTest)
{
 HFILE hNoteFile
 Int iCount
 List of STRING lsTest

 hNoteFile =FileOpen(sFileFullPath,2) // 2 For Write , 3:Update 1: Read
 for iCount =1 to ListCount(lsTest)
   FileWriteLine (hNoteFile,lsTest[iCount])
 FileClose (hNoteFile)
}
Read More


560 Free Online Courses

Top 200 universities launched 500 free online courses.  Please find the list here .