Wednesday, December 2, 2009

Working With DotNetFactory Object using QTP


The below mentioned code is developed for Working With DotNetFactory Object using QTP

'Creating a DotNetFactory object pointing to a XML File
Set xmlDNFObj = DotNetFactory.CreateInstance("System.Xml.XPath.XPathDocument",, "c:\plant_catalogue.xml")

'Reading the nodes of the XML file into a list object
set xmlDNFNodes = xmlDNFObj.CreateNavigator.select( "/CATALOG/PLANT/COMMON")

'Traversing through the list of objects and displaying the values
Do While xmlDNFNodes.MoveNext

print xmlDNFNodes.current.value




loop

'Destroying the list of DotNetFactory objects
Set xmlDNFObj = Nothing


To download the XML file associated with the above program please



download plant_catalog.xml from W3School

Working With XMLUtil Object using QTP

The below mentioned code is developed for Working With XMLUtil Object using QTP

'Create a XMLUtil Object
Set xmlUtilObj = XMLUtil.CreateXML

'Load a XML file using XMLUtil Object
xmlUtilObj.LoadFile "c:\plant_catalogue.xml"

msgbox xmlUtilObj.GetRootElement()

' Get the Child elements of XML File
Set xmlChildList = xmlUtilObj.ChildElementsByPath( "/CATALOG/PLANT/COMMON")

' Traverse through the XML File to read ans display the contents
For i = 1 to xmlChildList.count
print xmlChildList.item(i).value
Next

'Destroy the XMLUtil Object
Set xmlUtilObj = Nothing


download plant_catalog.xml from W3Schools

Working With Microsoft XMLDOM using QTP

The following programme prints the values of XML file to QTP output window.

'CREATE THE COM OBJECT FOR XML USING Microsoft XMLDOM
Set xmlDOMObj = CreateObject("Microsoft.XMLDOM")

'Load XML file using
xmlDOMObj.Load("C:\plant_catalogue.xml")

'Assign PLAT nodes to a list nodes
Set nodes = xmlDOMObj.SelectNodes("/CATALOG/PLANT")
MsgBox "Total No. of Plants: " & nodes.Length

' GET ALL common NAMES of the plant
Set nodes = xmlDOMObj.SelectNodes("/CATALOG/PLANT/COMMON/text()")

' DISPLAY all the common name values
For i = 0 To (nodes.Length - 1)
NodeTitle = nodes(i).NodeValue
print "Plant Title #" & (i + 1) & ": " & NodeTitle
Next


download plant_catalog.xml from W3Schools

Friday, April 10, 2009

Rational Test Management

Here you can find all the information related to Rational Test Management

Rational Test Management Certification

Rational Test Management Courseware to quick start

Rational Test Management Certification Sample Questions

Rational Robot

Here you can find all the information related to Rational Robot

Rational Robot Certification

Rational Robot Courseware to quick start

Rational Robot Certification Sample Questions

RPT

Here you can find all the information related to Rational Performance Tester

Rational Performance Tester Certification

Rational Performance Tester Courseware to quick start

Rational Performance Tester Certification Sample Questions

RFT

Here you can find all the information related to Rational Functional Tester
Keep watching here for more details

Performance Center

Here you can find all the information related to Performance Center

Performance Center Certification

Performance Center Certification Sample Questions

Win Runner

Here you can find all the information related to Win Runner

Win Runner Certification

Win Runner Certification Sample Questions

QC

Here you can find all the information related to Quality Center

Quality Center Certification

Quality Center Certification Sample Questions

LoadRunner

Here you can find all the information related to LoadRunner

Load Runner Controller:

LoadRunner Certification


LoadRunner Certification Sample Questions


Virtual User Generator:

Virutal User Generator Certification

Virutal User Generator Exam preperation guide

Virutal User Generator Certification Sample Questions

QTP

Here you can find all the information related to Quick Test Professional

Quick Test Professional Certification

Quick Test Professional Certification Sample Questions

Working with XML DOM Using Quick Test Professional

Working with XMLUtil Object in Quick Test Professional

Working with DotNetFactory Object in Quick Test Professional

Silk Performer

Here you can find all the information related to Silk Performer

Silk Performer Basic Certification

Silk Performer Advanced Certification

Silk Performer Certification Sample Questions

Silk Performer Courseware to quick start

Silk Test

Here you can find all the information related to Silk Test

Silk Test Basic Certification

Silk Test Advanced Certification

Silk Test Certification Sample Questions

Testing Tools Certification

Major tool vendor certifications are mentioned below

HP Mercury Tools

Borland Tools

IBM Rational tools

Rational Robot Certification

Here are the details for IBM Rational Robot Certification. The test code is: Test 641.

Test information:

No. of Questions : 54
Duration : 60 min
Pass percentage: 60%

For more details Visit IBM website

For Sample Assessment Test:

Visit IBM website

Rational Robot Certification major Sections:



  • Working with Rational Projects


  • Managing test assets in Rational TestManager


  • Using reports in Rational TestManager


  • Applying good scripting practices


  • Recording, debugging, and programming techniques in Rational Robot


  • Inserting verification points and wait states to ensure test script reliability and validity


  • Creating data-driven tests


  • Developing and executing shell scripts and test suites


  • Investigating and analyzing test results through the Rational Test Log Window and Comparators


  • Regression testing using existing Rational Robot test scripts
You can take the above test in any of the prometric centers or its franchises. You need to mention the examination code Test 641, so that they can easily trace.

Rational Test Management Certification

Here are the details for IBM Rational Test Management Certification. The test code is: Test 640.

Test information:

No. of Questions : 17
Duration : 60 min
Pass percentage: 60%

For more details Visit IBM website with id as Test 640


You can take the above test in any of the prometric centers or its franchises. You need to mention the examination code Test 640, so that they can easily trace.

IBM Certified Specialist for | Rational Test Management and Robot

Objective of this test is:



  • Manage test assets and use testing reports with Rational TestManager

  • Build, edit, execute, and debug automated test scripts with Rational Robot.


To attain the "IBM Certified Specialist for Rational Test Management and Robot certification", candidates must pass 2 tests.

TST275: Essentials of Test Management with Rational Test Manager Certification
TST277: Essentials for Functional Testing with Rational Robot Ceritifcation

Rational Performance Tester Certification

Here are the details for IBM Rational Performance Tester Certification. The test code is: Test 647.

Test information:

No. of Questions : 52
Duration : 75 min
Pass percentage: 60%

For more details Visit IBM website with test id Test 647

RPT Certification major Sections:


  1. WRK (Workload Analysis, model the system, identify goals and measurements)
    CRE (Creating and enhancing tests, record transactions, modify tests, validate and debug tests, adding test elements, custom code)



  2. DAT (Managing test data, using datapools, data correlation)



  3. SCH (Creating and enhancing schedules, design and represent workloads in RPT, settings, large user runs)



  4. RPT (Reporting, evaluate results, customize reports, extract/export data from reports)

You can take the above test in any of the prometric centers or its franchises. You need to mention the examination code Test 647, so that they can easily trace.

Rational Functional Tester Certification

Here are the details for IBM Rational Functional Tester for Java Certification. The test code is: Test 842.

Test information:

No. of Questions : 54
Duration : 75 min
Pass percentage: 60%

For more details Visit IBM website with test id Test 842


You can take the above test in any of the PROMETRIC centers or its franchises. You need to mention the examination code Test 842, so that they can easily trace.

Rational Tools | IBM Rational Tools

IBM Rational Tools Certifications

Rational Functional Tester

Rational Performance Tester

Rational Robot

Rational Test Management

Thursday, April 9, 2009

Silk Performer Advanced Certification

SilkPerformer Certification Exam II

Course: Results Analysis & Correlation

Part 1: Multiple-choice exam: 55 questions
Duration: 90 minutes

Part 2: Hands on exam: Full analysis using SilkPerformer
Duration: 150 minutes

Part 3: Multiple-choice exam: 27 questions
Duration: 30 minutes

Certification Policies

Pass Percentage: 80%
Examination mode: online only.
Exam fees: $200 valid for 90 days, and it is non-refundable.

For more details visit microfocus website

Silk Performer Basic Certification

SilkPerformer Certification Exam I

Course: Modeling & Implementing Load Tests

Format: 50 questions, multiple-choice

Duration: 2 hours

Certification Policies

Pass Percentage: 80%
Examination mode: online only.
Exam fees: $200 valid for 90 days, and it is non-refundable.

For more details visit microfocus website

Silk Test Advanced Certification

SilkTest Certification Exam II

Course: Advanced Testing with SilkTest

Part 1: Multiple-choice exam: 15 questions
Time Limit: 90 minutes

Part 2: Hands on exam: Test case implementation using SilkTest.
Time Limit: 120 minutes

Part 3: Multiple-choice exam: 20 questions
Time Limit: 30 minutes


Certification Policies

Pass Percentage: 80%
Examination mode: online only.
Exam fees: $200 valid for 90 days, and it is non-refundable.

For more details visit microfocus website

Silk Test Basic Certification

SilkTest Certification Exam I

Course: Verification Testing with SilkTest

Format: 50 questions, multiple-choice

Duration: 2 hrs


Certification Policies


Pass Percentage: 80%
Examination mode: online only.
Exam fees: $200 valid for 90 days, and it is non-refundable.

For more details visit microfocus website

Borland Tools Certification

Borland Tools Certification

Silk Test Basic

Silk Test Advanced

Silk Performer Basic

Silk Performer Advanced

Performance Center Certification

HP Performance Center Certification, examination code for this certification is HP0-M84. The complete name for this certification in HP terms is "HP Certified Professional Performance Testing using Performance Center Software".

You can download the Exam Preparation Guide HP0-M84_EPG.pdf from HP site

You can take the above test in any of the prometric centers or its franchises. You need to mention the examination code HP0-M84, so that they can easily trace.

Virtual User Generator Certification

HP Virtual User Generator Certification, examination code for this certification is HP0-M83. The complete name for this certification in HP terms is "HP Certified Professional Scripting using HP Virtual User Generator Software".

You can download the Exam Preparation Guide HP0-M83_EPG.pdf from HP site


You can take the above test in any of the PROMETRIC centers or its franchises. You need to mention the examination code HP0-M83, so that they can easily trace.

WinRunner Certification

HP WinRunner Certification, examination code for this certification is HP0-M12. The complete name for this certification in HP terms is "HP Certified Professional Test Scripting using HP WinRunner Software".

You can download the Exam Preparation Guide HP0-M12_EPG.pdf from HP site


You can take the above test in any of the PROMETRIC centers or its franchises. You need to mention the examination code HP0-M12, so that they can easily trace.

Quality Center Certification

HP Quality Center Certification, examination code for this certification is HP0-M81. The complete name for this certification in HP terms is "HP Certified Professional Implementing HP Quality Center Software".

You can download the Exam Preparation Guide HP0-M81_EPG.pdf from HP site

You can take the above test in any of the PROMETRIC centers or its franchises. You need to mention the examination code HP0-M81, so that they can easily trace.

LoadRunner Certification

HP LoadRunner Certification, examination code for this certification is HP0-M84. The complete name for this certification in HP terms is "HP Certified Professional Performance Testing using HP LoadRunner Software".

You can download the Exam Preparation Guide HP0-M84_EPG.pdf from HP site

You can take the above test in any of the PROMETRIC centers or its franchises. You need to mention the examination code HP0-M84, so that they can easily trace.

Quick Test Professional Certification

HP Quick Test Professional Certification, examination code for this is HP0-M80. The complete name for this certification in HP terms is "HP Certified Professional Test Scripting using HP QuickTest Professional Software"

You can download the Exam Preparation Guide HP0-M80_EPG.pdf from HP site

You can take the above test in any of the PROMETRIC centers or its franchises. You need to mention the examination code HP0-M80, so that they can easily trace.

HP Tools Certification

HP Tools

Testing Tools Ceritifcations

Testing Tools Ceritifcations:

Monday, April 6, 2009

RFT Certification Questions

RFT Certification Questions or RFT Certification Dumps

Keep watching here.. answers will be posted soon

Performance Testing Tips

Implementing Lower Thread Priorities
Addressing System Resource Bottlenecks
Addressing Thread Context Switching Problems...
Locating Performance Bottlenecks at High CPU Utilization...
Performance Bottlenecks for Network-Limited Problems...
Disk I/O Bottlenecks in AppServer...
Performance Bottlenecks for Database...
Performance Bottlenecks at Low CPU CPU Utilization...
Locating Performance Bottlenecks...
Cookie in Performance Testing...
Handling Cookies during recording...
Document cache in Performance Testing..
Page redirections in Performance Testing...
Browser threads in Performance Testing ...
Calculating sessions per hour in Performance Testing ...
Little's Law Sessions per hour...
Distributed Performance Testing...
Performance Testing in different user geographic locations...
Background noise in performance testing ...
Congestion in Performance Testing ...
Site Abandonment in Performance Testing ...
Functional Failures in Highly Stressed Environment...
Highly Stressed Environment Functional Failures...
Scalability considerations in Performance Testing ...
Horizontal Scalability in Performance Testing ...
Vertical Scalability in Performance Testing ...
Dimensions of scalability ...
Scalability testing in performance testing ...
Scalability testing Definition ...
Definition of Scalability Testing ...
Reasons for slow download times in Performance Testing ...
Stability testing Definition...
Definition of Stability testing ...
Goals of performance testing ...
Performance Testing Life Cycle
Performance Testing in Modern Development Life Cycle...
Performance, load and stress testing answers the questions like ...
Importance of load testing ...
Tool selection criteria for performance-testing ...
Performance Testing in SDLC ...
Performance Testing in Software Development Life Cycle ...
Performance Testing in TLC ...
Performance Testing in Testing Life Cycle ...
Constraints of Performance Testing ...
Performance Testing Constraints ...
Benefits of Performance Testing ...
Performance Testing Benefits ...
Functionality Testing and Performance Testing Comparison ...
Functionality and Performance Testing Comparison ...
Functionality Vs Performance Testing ...
Performance Vs Functionality Testing ...
Network speed impact on performance ...
Network speed Vs performance ...
Significance of Performance Testing ...
Performance Testing Significance ...
Need for Performance Testing ...
Users reaction on poor performance ...
Poor Performance of web sites and users reaction ...
Performance Testing Types ...
Types of Performance Testing ...
Performance Testing Definition ...
Definition of Performance Testing ...

Saturday, April 4, 2009

How to implement Lower Thread Priorities?

If you have a rarely used feature that uses a lot of CPU resources, you can lower the priority of the thread that handles requests for that feature. Use the setPriority() method of java.lang.Thread to temporarily lower the thread priority. This will result in higher latency for users of that expensive feature, but prevents that feature from hurting performance of other users

How to address System Resource Bottlenecks?

System Resource Bottlenecks: If your site has not maxed out either CPU utilization, database server utilization, or I/O subsystem, the problem may result from synchronized access to one of your system's resources (disk, network, database, etc.). This situation occurs when you access this resource from within a synchronized method in Java. All other requests wait for this monitor lock while you do the I/O, thus wasting both CPU and I/O resources.

The only ways around this problems are to recode the Java (the right solution) or add more App Server instances (the wrong solution).

How to check for Thread Context Switching Problems?

Thread Context Switching Problems:-
Check how many simultaneous requests are typically being handled when you have a large number of clients trying to access App Server. When the site is under load, go to the App Server administration page, and see how many handlers are active.

You can also reduce overhead from thread context switching by making sure you have at least one CPU for each process involved in handling the majority of requests:
  • One CPU for your HTTP server,
  • One for App Server,
  • One for the database server.

Note:- The assumption here is that, all the servers (HTTP, Applicaion and Database servers) are running on a multiprocessor (more than 3 processors) system.

Typically, these context switches can be overcome by increasing the parallelism in your site (increasing the number of Server handler threads).

How to locate Performance Bottlenecks at High CPU Utilization in middleware or Application Server?

Bottlenecks at High CPU Utilization:-
If your site CPU utilization is close to 100%, you can use a tool like OptimizeIt or KL Group's JProbe Profiler to help determine slow points of your code. See Using OptimizeIt .

In some instances, OptimizeIt cannot handle large sites running under load. If so, another way to identify deadlocks and bottlenecks is to get your JVM to dump out stack traces while your system is under load.

How to address Performance Bottlenecks for Network-Limited Problems?

Checking for Network-Limited Problems: One way to identify network-limited performance problems is by getting your JVM to dump out stack traces while your system is under load. You can tell if your system is network limited because your thread dump will show lots of threads waiting in socket reads or writes. See Getting Java VM Dumps and Analyzing Java VM Dumps

Some ways to address network-limited problems include:
  • Reduce the size of your HTML files by limiting comments and white space or redesigning the content of especially large pages.
  • Increase the number of request handling threads. This won't improve the latency experienced by a user who requests a large file, but it will improve total throughput.
  • Get a faster network connection.
  • Locate and correct network bottlenecks

How to check for Disk I/O Bottlenecks in AppServer?

Checking for Disk I/O Bottlenecks: Make sure that your JVM really is waiting for file I/O, not paging activity. Check for paging with your operating system's monitoring tools.

How to locate Performance Bottlenecks for Database?

Checking for Database Bottlenecks: If your site has low CPU utilization at maximum throughput, check whether the database is limiting performance.
  • Get a JVM thread dump (see Getting Java VM Dumps ) and examine it to see if there are many threads waiting for a response from the database (see Analyzing Java VM Dumps ).
  • Check the CPU utilization and disk I/O utilization of your database server.
  • Check the network bandwidth between the App server and the database server.

How to locate Performance Bottlenecks at Low CPU Utilization?

Bottlenecks at Low CPU Utilization: If your site has low CPU utilization when it is achieving maximum throughput, the bottleneck is likely either:
  • Database limited (if database output is maxed out); see Checking for Database Bottlenecks
  • Disk I/O limited (if I/O output is maxed out); see Checking for Disk I/O Bottlenecks
  • Network I/O limited (if I/O output is maxed out); see Checking for Network-Limited Problems
  • Database or I/O activity in a synchronized method (if database or I/O output is not maxed out); see System Resource Bottlenecks

If your site is in this situation, CPU profiling tools like OptimizeIt are not that useful. Thread dumps taken while the system is under load can give you better information.

How to locate Performance Bottlenecks?

Performance Bottlenecks can be identified in the following ways:-
  • Bottlenecks at Low CPU Utilization
  • Checking for Database Bottlenecks
  • Checking for Disk I/O Bottlenecks
  • Checking for Network-Limited Problems
  • Bottlenecks at High CPU Utilization
  • Thread Context Switching Problems
  • System Resource Bottlenecks
  • Lower Thread Priorities

Note:- For detailed informationa about above mentioned bottlenecks visit our individual questions?

What is a cookie? What are the steps need to be taken care during recording?

Cookie: A cookie is simply a piece of text stored on a client computer by a web application.
  • Persistent cookies. Also called a permanent cookie, or a stored cookie, a cookie that is stored on a user’s hard drive until it expires (persistent cookies are set with expiration dates) or until the user deletes the cookie. Persistent cookies are used to collect identifying information about the user, such as Web surfing behavior or user preferences for a specific Web site
  • Non-persistent cookies (also known as session cookies). Used by Commerce Server to track authenticated users who visit your site? When the session ends, the cookies are deleted. Non-persistent cookies store MSCSAuth tickets.

Both persistent cookies and non-persistent cookies can be encrypted. The non-persistent cookies contain the fields like User ID , Time of last login, Time Window.

Before recording all the persistent cookies need to be removed from the respective browsers.

What is document cache? How does document cache impacts the peroformance of a webpage?

Document Cache: Document cache is a location on the user’s computer where a web browser temporarily stores downloaded web pages. This is a way to speed up page downloading times and to reduce traffic on the network.
  • Using the cache saves time. However, documents stored persistently will become outdated if the original documents on the web sever changes. To guard against this, web browser checks whether a document in the cache is an up-to-date copy of the original on the server. This is a user specified option, and the most popular setting for web browser today is set to check once per session whether a document on the server has changed since the user last viewed it.
  • A load testing tool must emulate web browser’s document cache.

What is page redirection? How does page redirection works in load testing tools?

Redirections: Redirection refers to the process by which a page is sent to the browser with the sole purpose of forwarding the user to another page or server. This technique is usually used to handle load-balancing or dynamic page generation, or simply to transfer users from an old server to a new one.
  • Browsers usually do not follow redirections more than five times, since a high number of redirections could indicate a infinite loop.

A redirection from one page to another can occur in various way:

  • Location field: The header of the HTTP response may contain a “location” or a “refresh” field that orders the browser to redirect the user to a different page
  • Refresh Header: A web page may invoke a JavaScript the leads the user to another page
  • Refresh Tag: A web page may contain an HTML tag that indicates a redirection

Load testing tools must be able to emulate redirection as it is frequently used technique in web applications.

What is Browser thread? How does Browser threads impact the performance?

Browser threads: A thread is a path of execution through an application. In the case of web browsers, this path consists of sending a request, receiving the response and displaying the object. Each thread operates independently.
  • Single-threaded mode is used when a web browser executes a Java script that communicates continually with a web server, or more generally, when a client application other than a web browser is employed.
  • Load testing tools need to have the ability to accurately emulate web browsers in both single and multi threaded modes in order to apply realistic workloads to the web applications being tested.

How to calculate sessions per hour? - Little's Law

Calculating Sessions per hour: For this discussion, we will be focusing on a session as the total time for the user group to finish one complete set of transactions. We may wish to know the number sessions that will be completed for any given number of virtual users.
  • Example 1:- If a baseline test shows that a User Type takes a total of 120 seconds for a session, then in an hour long steady state test this User Type should be able to complete 3600 / 120 = 30 sessions per hour. Twenty of these users will complete 20 x 30 = 600 of these session in an hour. In other cases, we have a set number of sessions we want to complete during the test and want to determine the number of virtual users to start.
  • Example 2:Using the same conditions in our first example, if our target session rate for sessions per hour is 500, then 500 x 30 = 16.7 or 17 virtual users. A formula called Little's Law states this calculation of VirtualUsers in slightly different terms.
  • Using Little's Law with Example 2:
    wV.U. = R x D where R = Transaction Rate and D = Duration of the Session
    If our target rate is 500 sessions per hour (.139 sessions/sec) and our duration is 120 seconds, then Virtual Users = .139 x 120 = 16.7 or 17 virtual users.

how can you effectively test the performance of your Web site from locations that are thousands of miles away?

Possible solutions include:-
  • Using the services of a third-party company that specializes in testing a Web site from different locations around the world
  • Utilizing the different physical locations (branches) that your organization may already possess, coordinating the execution of your test plan with coworkers at the offices
  • Using a modem to dial ISP telephone numbers in different cities and factoring out the additional time for the cross-country modem connection
  • Buy an “around the world” airplane ticket for one or more of the Web site’s testers

How does user geographic locations impacts performance of the website?

User Geographic Locations: Due to network topologies, response times for Web sites vary around the country and around the world. Internet response times can vary from city to city depending on the time of day, the geographic distance between the client and the host Web site, and the local network capacities at the client-side.

Remote performance testing can become particularly important if mirror sites are to be strategically positioned in order to improve response times for distant locations.

What is background noise in performance testing?

Background Noise: When designing a load to test the performance of a Web site or application, consider what additional activities need to be added to a test environment to accurately reflect the performance degradation caused by “background noise.”

Background noise is created by other applications running that will also be running on the production servers once the application under test moves into production, and other network traffic that will consume network bandwidth and possibly increase the collision rate of the data packets being transmitted over the LAN and/or WAN.

What is Site Abandonment?

In real life, some users may be able to select their next page before the previous page has been completely downloaded. The user is not waiting till the previous page has been completely loaded. This is nothing but Site Abandonment.

Unfortunately basic load / performance test scripts/tools assume that a client will wait until a Web page has been completely downloaded before requesting the subsequent page

Why Functional Failures happen in Highly Stressed Applications?

Load and stress testing are generally thought of in terms of system performance degradation. However, applications running under extreme load conditions can actually experience functional failures that are not manifested under "normal" operating conditions. These can be application crashes, exposing security vulnerabilities, or unexpected application results (e.g., intermixing transaction data due to buffer overflows under high load).

Example:- In real time, when the stock market crashes(in India), most of the Security / Stock trading portal systems will not be responding or you can crashed in the application due to heavy user load or stress on the application.

What are the scalability considerations? What is Horizontal Scalability and Vertical Scalability?

Scalability consideration are...

  • Adding new applications or customers to the system.
  • Horizontal Scalability -- AKA "rack density". Throw hardware at the problem. Typically easier and affordable than most forms of vertical scalability.
  • Vertical Scalability -- The ability to increase the capacity of existing hardware or software by adding resources - for example, adding processing power to a server to make it faster. nHardware/software scalability metrics Here are some metrics to measure the levels of resource saturation:
    * CPU utilization — Number of users supported versus CPU utilization
    * Memory — Number of users supported versus available memory

* Disk I/O — Number of users supported versus number of disks

* Network I/O — Number of users supported versus wire speed of network

What are the dimensions of scalability?

Dimensions of Scalability:
Scalability is often qualified along specific ranges of factors, among which are the ability to increase:
  • Total number of users
  • Number of concurrent users
  • Number of user's locations
  • The extent and size of the data store
  • Transaction volume
  • Output volume
  • Response time

What is scalability?

Scalability:- Scalability is determined by the number of simultaneous clients served over a given period of time with a limited delay time
  • The key determinant of scalability is Transaction Time
  • Transaction Time doesn't mean good scalability - in fact it's the antithesis of it.

Example:-

  • Case - 1 :- The response time of a page for 100 users is 1 sec, 200 users 2 sec and 500 users is 5 Sec
  • Case - 2:- The response time of a page for 100 users is 4 sec, 200 users 4.5 sec and 500 users is 5 Sec

Now analyze Case - 1 and Case - 2. Which is scalable?

The answer is Case - 2. The reason is response times in Case - 1 are growing as we increase the number if users. Whereas in Case - 2 the response times are some what stable even if we increase the number of users. Now we will say the Case - 2 is scalable.

What are the factors causes for slow download times?

There are two main factors create slow download times: Large web page sizes and slow server performance.


  • Pages: Too Many Bytes :- bigger the page size, slow the response time is. Compare loading google and yahoo websites and measure the response time. Which home page takes longer time to load. yahoo home page is more than 159KB with lots of images and google home page is not more than 10KB.

  • Slow Servers:- If the performance of any server is slow within the architecture of the application, that server becomes a bottleneck. And it leads to high response time. That means poor performance.

The standard guidelines for response times are:



  • 0.1 second (one tenth of a second). Ideal response time. The user doesn't sense any interruption.

  • 1 second. Highest acceptable response time. Download times above 1 second interrupt the user experience.

  • 10 seconds. Unacceptable response time. The user experience is interrupted at an alarming high rate and the user is likely to leave the site or system.

These numbers are highly useful when planning server capacity.

What is stability testing?

- Stability: A stability test is designed to determine whether a web application will remain serviceable / stable over an extended time span.

Outcomes of this testing is :
  • To determine memory leaks on middleware or application servers
  • To find out the cursor leaks on the database
  • To find out connection leaks on the database
  • To find out the response time degradation with the data growing on the database etc.

What are the goals of performance testing?

Performance Goals are:

  • Stability
  • Response time
  • Scalability
  • Errors

Performance Testing Life Cycle

Performance Testing Life is best described in the below chart.

Performance Testing in Modern Development Life Cycle

Each phase in Software Development Life Cycle (SDLC) has a component of Performance Testing Life Cycle. Performance Testing Life Cycle consists of
  • Analyzing service level agreement
  • Defining performance requirements
  • Creating test design,
  • Building performance test scripts, how these test scripts are executed
  • And finally the analysis phase.

What kind of questions Performance, Load and Stress testing answers?

Performance, load and stress testing answers the questions like:
  • Can my website support 1,000 hits/second? If so, for how long?
  • Can my e-commerce application handle 500 users searching for products and 250 users adding items to their shopping carts simultaneously?
  • What happens to application performance as the backend database gets larger and larger?

Why load testing is important?

Load testing is important because...
  • Increase uptime of mission-critical Internet systems.
  • Avoid project failures by predicting site behavior under large user loads
  • Measure and monitor performance of your e-business infrastructure.
  • Protect IT investments by predicting scalability and performance.

What is the criteria to select a performance-testing tool?

There are many criteria's (related to your organization, your project / product and protocol) need to be fulifilled by the tool. Some the criterias are listed below...
  • Support for your application environment
  • Intuitive test case design and execution
  • Accurate emulation of real users
  • Power and scalability to generate required system load levels
  • Accurate error detection and performance measurements
  • Powerful root cause analysis capabilities

Where exactly the Performance Testing stands in Software Development Life Cycle?

There are many levels of testings in the testing life cycle. The below ima
ge gives you an insight about where exactly performance testing stands in Testing life cycle.


Constraints of Performance Testing

The major Constraints of Performance Testing :
  • Performance Testing is a complex and time consuming activity.
  • The testing process should start from the requirements collection phase itself.
  • Performance Testing requires simulating several hundred concurrent users. This requires automated tools that are expensive.
  • A proper environment like bandwidth, system configuration, and concurrent users hinders in providing adequate performance results.
  • Production environment cannot be simulated as it requires investments. A subdued environment may not produce the relevant results.
  • Skill set to plan and conduct Performance Testing is not adequately available. It is a late activity, and duration available for testing is not adequate. However, testing the system for an optimal performance is a challenge and an opportunity.

Benefits from Performance Testing

There are many benifits from the performance testing. Some of them are listed below...
  • Improved quality from a user’s perspective
  • Reduced cost of change
  • Reduced system costs
  • Increased profits
  • Early identification of major application defects and architectural issues
  • Guaranteed customer satisfaction
  • Clarity on resource utilization
  • Performance Testing also removes many myths associated with the users and builds confidence

Comparison between Functionality Testing and Performance Testing

Functional Testing Vs Performance Testing
  • Functional Testing: Functional testing is conducted to verify the correctness of the operations of the software. The features and functions are tested before performance testing. The purpose is to verify that the internal operations of the product are working according to desired specifications. Functional testing typically tests accuracy of the application and how it behaves with different operating systems.

  • Performance Testing: Performance Testing is designed to test the overall performance of the system at high load and stress conditions. Performance Testing occurs through out the software development life cycle to isolate performance related constraints. Even at unit level, the performance of the individual module may be assessed as the internal logic of software that is being tested.

How network speed impacts the performance?

Network Speed Vs Performance:


  • Network speed and performance are proportional to each other. As the network speed increases the page performance will also improves.

Network Speed Vs Response Time:


  • Network speed and response time of a page are inversely proportional. As the network speed increases the response time decreases (means performance of the page is better).

Here are some of the examples:


  • Expected load time against modem speed









  • Monthly loss from slow page loading



Why do we need to go for Performance Testing?

The need for speed is a key factor on the Internet. Whether users are on a high speed connection or a low speed dial up modem, everyone on the Internet expects speed. Most of the research reports justify the fact that speed alone is the main factor accessing the Web site.

Segment wise business loss due to performance of the websites. The below numbers are very old. But these number are kept just for reference.


How users react on poor performance?

Users will be distracted from the site, if the performance is poor.

Performance Testing Types

Performance Testing types are:
  • load testing
  • stress testing
  • endurance testing
  • spike testing

- Load Testing
This is the simplest form of performance testing. A load test is usually conducted to understand the behavior of the application under a specific expected load. This load can be the expected concurrent number of users on the application performing a specific number of transaction within the set duration. This test will give out the response times of all the important business critical transactions. If the database, application server, etc are also monitored, then this simple test can itself point towards the bottleneck in the application.

- Stress Testing
This testing is normally used to break the application. Double the number of users are added to the application and the test is run again until the application breaks down. This kind of test is done to determine the application's robustness in times of extreme load and helps application administrators to determine if the application will perform sufficiently if the current load goes well above the expected load.

- Endurance Testing (Soak Testing)
This test is usually done to determine if the application can sustain the continuous expected load. Generally this test is done to determine if there are any memory leaks in the application.

- Spike Testing
Spike testing, as the name suggests is done by spiking the number of users and understanding the behavior of the application whether it will go down or will it be able to handle dramatic changes in load.

What is Performance Testing?

Purpose:
  • To demonstrate that the systems meets performance criteria.
  • To compare two systems to find which performs better.
  • To measure what parts of the system or workload cause the system to perform badly
Performance of a system is generally measured in terms of response time for the user activity. To illustrate, a customer likes to withdraw money from an Automated Teller Machine (ATM) counter of a specific bank. Customer inserts debit/credit card and waits for the response. If the system takes more than 5 minutes (say) to deliver the cash, customer may not appreciate the system. In this situation, though, the system is
functioning (delivering cash) according to requirements. It fails in terms of performance (takes more than 5 minutes to complete the transaction).

Friday, April 3, 2009

Test Partner Certification Sample Question Papers or Test Partner Dumps

Test Partner Certification Sample Question Papers or Test Partner Dumps:

1. What is the scripting language of TestPartner
a. VBScript
b. Vb
c. C++
d. VBA

2. Which panes are available in start screen
a. Visual Test, Help, Flags
b. Flags, Help, Script
c. Test, Help, Watch
d. Script Test, Flags, Test

3. Functions can exist in
a. Script
b. Modules
c. Flags
d. Shared Modules

4. Which of the following is not an event
a. Key
b. Mouse
c. Screen
d. Monitor

5. What loops are available in TestPartner
a. For each loop
b. Do loop
c. Select Case
d. If-else-endif

6. Types of Object map entries are
a. Image map entry
b. Alias map entry
c. Name entry
d. Object type

7. Data for data driven tests can be fetched from
a. Excel
b. Paint
c. Word
d. Access

8. Test partner has which function to hault the script for a while
a. Run
b. Break
c. Pause
d. Resume

9. Which of the following is not a check
a. Bitmap
b. Content
c. Watch
d. TestArea

10. What is used to mange the TestAssets
a. Tools
b. Watch list
c. Asset Browser
d. Database

VU Gen Certification Sample Question Papers or VU Gen Dumps

Virtual User Generator Certification Sample Question Papers or Virtual User Generator Question Paper Dumps:

1) To add a text check during recording in VuGen which statement is added to the script:

a) web_reg_find
b) web_text_find
c) web_reg_check
d) web_text_check

2) Which function can only be used in action section, and not in vuser_init or vuser_end

a) lr_think_time
b) lr_end_transaction
c) lr_start_transaction
d) lr_rendezvous

3) The Virtual User Generator (VuGen) component is used to record a script and The Controller component is used to playback the script in multi-user mode (True/False)
a. TRUE
b. FALSE

4) Which of the following statements are TRUE
a) In an HTML based recording, a step is generated for each user action
b) A HTML based script captures all HTTP requests sent to the server as a result of user actions, in discrete steps.

5) How do you find out where correlation is required?
A) Scan for correlations, and see the list of values which can be correlated.
B) Record two scripts and compare them.
a) A only
b) B only
c) A & B

6) Transaction Status can not be:
a) Ir_AUTO
b) Ir_PASS
c) Ir_FAIL
d) lr_STOP


7) Transaction is defined to measure the performance of the

a) Server
b) Client action
c) Vuser
d) VuScript

8) When you run multiple iterations of Vuser script which section is repeated:
a) Actions
b) Vuser_init
c) Vuser_end
d) All of the above

9) To statement is recorded into LoadRunner while using Correlation
a) web_reg_save_param
b) web_save_param
c) web_save_reg_param
d) web_text_check

10)To log statement into Output file and logs
a) lr_output_message
b) lr_set__message
c) lr_log
d) lr_report

11)Correlation rule will enhance the script with parameter during
a) Recording
b) Running
c) While creating the correlation rule
d) None

12)Which of the following statement is true
a) A single script cannot be assigned to multiple scenario groups with different run time settings
b) A scenario group can be assigned with multiple Load Generators
c) A single script can be assigned to multiple groups with different run time settings
d) none

Win Runner Certification Sample Question Papers for or Win Runner Dumps

Win Runner Certification Sample Question Papers or Win Runner Question Paper Dumps:

1. Which of the function/s will be used to ensure the reliability in analog recording?
a. Win_max
b. Win_min
c. Win_resize
d. Win_move
e. c, d

2. Which of the following recording mode dependent on the mouse paths and screen coordinates
a. Analog
b. Context Sensitive

3. Identify the statement does not belong to Synchronization point
a. Set_window()
b. Obj_wait_info()
c. Edit_set()
d. Obj_wait_bitmap()

4. which of the following statement is not a optimal solution for synchronization
a. Set_window()
b. Obj_wait_info()
c. Obj_wait_bitmap()
d. Wait()

5. Type of Check point/s in Win Runner available
a. GUI
b. Bitmap
c. Database
d. All
e. None

6. Extension for a multiple check point file
a. *.ckl
b. *.chk
c. *.ls
d. None

7. Run modes in Winrunner
a. Debug
b. Verify
c. Update
d. All
e. None

8. At the check point WinRunner compares Values
a. "debug" with those in "res"
b. "res" with those in "exp"
c. "res" with those in "db"
d. "res" with those in "chklist"

9. To retrieve the value from a data column the function is
a. ddt_col()
b. ddt_row()
c. ddt_val()
d. none

10. The function used to load GUI map file
a. Load()
b. GUI_Load()
c. GUI_open()
d. Open()

Quality Center Certification Sample Question Papers or Quality Center Dumps

Quality Center Certification Sample Question Papers or Quality Center Question Paper Dumps:

1. Which of the following is not a status of requirement
a) Not Completed
b) Not Covered
c) Not Finished
d) No Run

2. Which of the following is not a module of Quality Center
a) Test Lab
b) Test Plan
c) Requirements
d) Design Lab

3. Which of the following statement/s is/are correct for requirement coverage view
A. Document View
B. Coverage View
C. Coverage Analysis View
D. Document Analysis View
a) A, B Only
b) A, B, D Only
c) A, B, C Only
d) All

4. The root folder of Test Plan is
a) Subject
b) Root
c) Plan
d) None

5. The root folder of Test Lab is
a) Subject
b) Root
c) Plan
d) None

6. Tests will be executed from the module
a) Test Lab
b) Test Plan
c) Requirements
d) None

7. Which of the options is not there on final failure of any test in test set
a) Do nothing
b) Stop the test set
c) Re run the test set
d) Exit the test set

8. which of the following module is not a extra addin for Quality center
a) Defects
b) Business Process Testing
c) Dashboard
d) Releases

9. To run the QTP test scripts which of the add-in need to be installed
a) Business process testing
b) QC Addin for QTP
c) Dashboard
d) None

10. Test scripts can be attached with the tests in the following module
a) Requirements
b) Test Plan
c) Test Lab
d) Defects

Load Runner Certification Sample Question Papers or Load Runner Dumps

Load Runner Certification Sample Question Papers or Load Runner Question Paper Dumps:

1) How many actions are set by default in LoadRunner
a) 1
b) 2
c) 3 (vuser_init, action & vuser_end)
d) 4

2) The Hits per Second graph shows
a) The response sent by Web server to the Vusers during each Transaction of the scenario run
b) The number of HTTP requests made by Vusers to the Web server during each Transaction of the scenario run
c) The response sent by Web server to the Vusers during each second of the scenario run
d) The number of HTTP requests made by Vusers to the Web server during each second of the scenario run

3) What is the Load Testing Process sequence
a) Planning the test, Creating VuScript, Generating Vusers, Creating the scenario, Running the scenario, Monitoring the scenario, analysing the results).
b) Planning the test, Creating VuScript, Creating the scenario, Generating Vusers, Running the scenario, Monitoring the scenario, analysing the results.
c) Creating Vusers, Planning the test, Creating the scenario, Running the scenario, Monitoring the scenario, analysing the results.
d) Planning the test, Creating Vusers, Creating the scenario, Monitoring the scenario, Running the scenario, analysing the results.

4) Type of goals in Goal oriented scenario
1. The number of concurrent Vusers
2. The number of hits per second
3. The number of transactions per second
4. The number of pages per minute
5. The transaction response time that you want your scenario.
a) 1,3 only
b) 3,4,5 only
c) 1,2,3 only
d) 1,2,3,4,5

5) What are the changes you can make in run-time settings?
A. Pacing
B. Log
C. Extended Think Time
D. Correlation settings
a) A only
b) D only
c) A, B and C
d) B and D
e) all the above

6) Ramp Up is:
a) Transition from ready to run state
b) The group is set to run for a fixed duration
c) The group is set to run for a random duration
d) None of the above

7) Ramp down is setting is available when
a) The group is set to run entire completion
b) The group is set to run for a fixed duration
c) The group is set to run for random duration
d) All of the above

8) Which is not a state of Vuser
a) Abort
b) Error
c) Stopped
d) Rendezvous

9) Scenario Group consists of
a) Script path
b) Load Generator
c) No. of Users or percentage
d) All

10)If you want to add remote windows resource monitors, your login username on remote machine should appear as _____________
a) Network user
b) Local user
c) Administrator
d) None

11) By default the number of graphs visible on controller are
a) 1
b) 2
c) 4
d) 8

12)Analysis summary report consists of
a) Maximum Running Vusers
b) Total throughput
c) Total hits
d) All

13)Which of the following is not a valid Scenario Type
a) Manual
b) Goal Oriented
c) Automatic
d) None

QTP Certification Sample Question Papers or QTP Dumps

Quick Test Professional Certification Sample Question Papers or Quick Test Professional Question Paper Dumps:

1. User can covert a non-reusable action into Reusable from
a. Action properties
b. Action call properties
c. Call properties

2. Syntax for With statement
a. With … End With
b. With Step 2 … End With
c. With … End
d. With Loop …. End

3. What is the default ordinal identifier for windows
a. Location
b. Index

4. User has 3 tsr files. User wants to merge them at once. Is it possible
a. Yes
b. No

5. Are objects for all the transactions in a script stored under a single action with object repository
a. True
b. False

6. The concatenation operation in VB Script is
a. &
b. *
c. $
d. @

7. In order to open a test result, which option should user select:-
a. Resources -> Results
b. Insert -> Results
c. Tools -> Results
d. Automation -> Results

8. Which of the following is not a time related feature
a. Msgbox
b. Wait
c. End Transaction
d. Synchronization

9. Exporting data from a DataTable sheet to an external excel sheet which method should be user
a. Export
b. ExportSheet
c. Import
d. ImportSheet

10. Where can user change the global synchronization timeout value
a. File -> Settings -> Run
b. Tool -> Options -> Script
c. Using wait property

Thursday, April 2, 2009

ISTQB Certification Sample Question Paper or ISTQB Dumps

ISTQB Certification Sample Question Papers or ISTQB Certification Dumps
Questions:

1. Designing the test environment set-up and identifying any required infrastructure and tools are a part of which phase
a) Test Implementation and execution
b) Test Analysis and Design
c) Evaluating the Exit Criteria and reporting
d) Test Closure Activities

2. Test Implementation and execution has which of the following major tasks?
i. Developing and prioritizing test cases, creating test data, writing test procedures and optionally preparing the test harnesses and writing automated test scripts.
ii. Creating the test suite from the test cases for efficient test execution.
iii. Verifying that the test environment has been set up correctly.
iv. Determining the exit criteria.

a) i,ii,iii are true and iv is false
b) i,,iv are true and ii is false
c) i,ii are true and iii,iv are false
d) ii,iii,iv are true and i is false

3. A Test Plan Outline contains which of the following :-
i. Test Items
ii. Test Scripts
iii. Test Deliverables
iv. Responsibilities

a) i,ii,iii are true and iv is false
b) i,iii,iv are true and ii is false
c) ii,iii are true and i and iv are false
d) i,ii are false and iii , iv are true

4. One of the fields on a form contains a text box which accepts numeric values in the range of 18 to 25. Indentify the invalid Equivalance class
a) 17
b) 19
c) 24
d) 21

5. In a Examination a candidate has to score minimum of 24 marks inorder to clear the exam. The maximum that he can score is 40 marks. Identify the Valid Equivalance values if the student clears the exam.
a) 22,23,26
b) 21,39,40
c) 29,30,31
d) 0,15,22

6. Which of the following statements regarding static testing is false:
a) static testing requires the running of tests through the code
b) static testing includes desk checking
c) static testing includes techniques such as reviews and inspections
d) static testing can give measurements such as cyclomatic complexity

7. Verification involves which of the following :-
i. Helps to check the Quality of the built product
ii. Helps to check that we have built the right product.
iii. Helps in developing the product
iv. Monitoring tool wastage and obsoleteness.

a) Options i,ii,iii,iv are true.
b) i is true and ii,iii,iv are false
c) i,ii,iii are true and iv is false
d) ii is true and i,iii,iv are false.

8. Component Testing is also called as :-
i. Unit Testing
ii. Program Testing
iii. Module Testing
iv. System Component Testing

a) i,ii,iii are true and iv is false
b) i,ii,iii,iv are false
c) i,ii,iv are true and iii is false
d) all of above is true

9. Link Testing is also called as :
a) Component Integration testing
b) Component System Testing
c) Component Sub System Testing
d)Maintenance testing

10.





A.TC1: Anand is a 32 year old married, residing in Kolkatta.
B.TC3: Attapattu is a 65 year old married person, residing in Colombo.

a. A – Issue membership, 10% discount, B – Issue membership, offer no discount. B
b. A – Don’t Issue membership, B – Don’t offer discount. C
c. A – Issue membership, no discount, B – Don’t Issue membership.
d. Issue membership, no discount, B- Issue membership with 10% discount


11. Methodologies adopted while performing Maintenance Testing:-
a) Breadth Test and Depth Test
b) Retesting
c) Confirmation Testing
d) Sanity Testing

12. Which of the following is true about Formal Review or Inspection:-
i. Led by Trained Moderator (not the author).
ii. No Pre Meeting Preparations
iii. Formal Follow up process.
iv. Main Objective is to find defects

a) ii is true and i,iii,iv are false
b) i,iii,iv are true and ii is false
c) i,iii,iv are false and ii is true
d) iii is true and I,ii,iv are false

13. The Phases of formal review process is mentioned below arrange them in the correct order.
i. Planning
ii. Review Meeting
iii. Rework
iv. Individual Preparations
v. Kick Off
vi. Follow Up

a) i,ii,iii,iv,v,vi
b) vi,i,ii,iii,iv,v
c) i,v,iv,ii,iii,vi
d) i,ii,iii,v,iv,vi

14. Consider the following state transition diagram of a two-speed hair dryer, which is operated by pressing its one button. The first press of the button turns it on to Speed 1, second press to Speed 2 and the third press turns it off.
Which of the following series of state transitions below will provide 0-switch coverage?
a. A,C,B
b. B,C,A
c. A,B,C
d. C,B,A

15. White Box Techniques are also called as :-
a) Structural Testing
b) Design Based Testing
c) Error Guessing Technique
d) Experience Based Technique

16. What is an equivalence partition (also known as an equivalence class)?
a) A set of test cases for testing classes of objects
b) An input or output range of values such that only one value in the range becomes a test case
c) An input or output range of values such that each value in the range becomes a test case
d) An input or output range of values such that every tenth value in the range becomes a test case.

17. The Test Cases Derived from use cases
a) Are most useful in uncovering defects in the process flows during real world use of the system
b) Are most useful in uncovering defects in the process flows during the testing use of the system
c) Are most useful in covering the defects in the process flows during real world use of the system
d) Are most useful in covering the defects at the Integration Level

18. Exhaustive Testing is
a) Is impractical but possible
b) Is practically possible
c) Is impractical and impossible
d) Is always possible

19. Which of the following is not a part of the Test Implementation and Execution Phase
a) Creating test suites from the test cases
b) Executing test cases either manually or by using test execution tools
c) Comparing actual results
d) Designing the Tests

20. Which of the following techniques is NOT a White box technique?
a) Statement Testing and coverage
b) Decision Testing and coverage
c) Condition Coverage
d) Boundary value analysis


21. A Project risk includes which of the following :
a) Organizational Factors
b) Poor Software characteristics
c) Error Prone software delivered.
d) Software that does not perform its intended functions

22. In a risk-based approach the risks identified may be used to :
i. Determine the test technique to be employed
ii. Determine the extent of testing to be carried out
iii. Prioritize testing in an attempt to find critical defects as early as possible.
iv. Determine the cost of the project
a) ii is True; i, iii, iv & v are False
b) i,ii,iii are true and iv is false
c) ii & iii are True; i, iv are False
d) ii, iii & iv are True; i is false

23. Which of the following is the task of a Tester?
i. Interaction with the Test Tool Vendor to identify best ways to leverage test tool on the project.
ii. Prepare and acquire Test Data
iii. Implement Tests on all test levels, execute and log the tests.
iv. Create the Test Specifications
a) i, ii, iii is true and iv is false
b) ii,iii,iv is true and i is false
c) i is true and ii,iii,iv are false
d) iii and iv is correct and i and ii are incorrect

24. The Planning phase of a formal review includes the following :-
a) Explaining the objectives
b) Selecting the personnel, allocating roles.
c) Follow up
d) Individual Meeting preparations

25. A Person who documents all the issues, problems and open points that were identified during a formal review.
a) Moderator.
b) Scribe
c) Author
d) Manager

26. Who are the persons involved in a Formal Review :-
i. Manager
ii. Moderator
iii. Scribe / Recorder
iv. Assistant Manager
a) i,ii,iii,iv are true
b) i,ii,iii are true and iv is false.
c) ii,iii,iv are true and i is false.
d) i,iv are true and ii, iii are false.

27. Which of the following is a Key Characteristics of Walk Through
a) Scenario , Dry Run , Peer Group
b) Pre Meeting Preparations
c) Formal Follow Up Process
d) Includes Metrics

28. What can static analysis NOT find?
a) the use of a variable before it has been defined
b) unreachable (“dead”) code
c) memory leaks
d) array bound violations

29. Incidents would not be raised against:
a) requirements
b) documentation
c) test cases
d) improvements suggested by users

30. A Type of functional Testing, which investigates the functions relating to detection of threats, such as virus from malicious outsiders.
a) Security Testing
b) Recovery Testing
c) Performance Testing
d) Functionality Testing


31. Which of the following is not a major task of Exit criteria?
a) Checking test logs against the exit criteria specified in test planning.
b) Logging the outcome of test execution.
c) Assessing if more tests are needed.
d) Writing a test summary report for stakeholders.

32. Testing where in we subject the target of the test , to varying workloads to measure and evaluate the performance behaviors and ability of the target and of the test to continue to function properly under these different workloads.
a) Load Testing
b) Integration Testing
c) System Testing
d) Usability Testing

33. Testing activity which is performed to expose defects in the interfaces and in the interaction between integrated components is :-
a) System Level Testing
b) Integration Level Testing
c) Unit Level Testing
d) Component Testing

34. Static analysis is best described as:
a) The analysis of batch programs.
b) The reviewing of test plans.
c) The analysis of program code.
d) The use of black box testing.

35. One of the fields on a form contains a text box which accepts alpha numeric values. Identify the Valid Equivalence class
a) BOOK
b) Book
c) Boo01k
d) book

36. Reviewing the test Basis is a part of which phase
a) Test Analysis and Design
b) Test Implementation and execution
c) Test Closure Activities
d) Evaluating exit criteria and reporting

37. Reporting Discrepancies as incidents is a part of which phase :-
a) Test Analysis and Design
b) Test Implementation and execution
c) Test Closure Activities
d) Evaluating exit criteria and reporting

38. Which of the following items would not come under Configuration Management?
a) operating systems
b) test documentation
c) live data
d) user requirement document

39. Handover of Testware is a part of which Phase
a) Test Analysis and Design
b) Test Planning and control
c) Test Closure Activities
d) Evaluating exit criteria and reporting

40. The Switch is switched off once the temperature falls below 18 and then it is turned on when the temperature is more than 21. When the temperature is more than 21. Identify the Equivalance values which belong to the same class.
a) 12,16,22
b) 24,27,17
c) 22,23,24
d) 14,15,19

Answers:

1 » b
2 » a
3 » b
4 » a
5 » c
6 » a
7 » b
8 » a
9 » a
10 » c
11 » a
12 » b
13 » c
14 » c
15 » a
16 » b
17 » a
18 » a
19 » d
20 » d
21 » a
22 » b
23 » b
24 » b
25 » b
26 » b
27 » a
28 » c
29 » d
30 » a
31 » b
32 » a
33 » b
34 » c
35 » c
36 » a
37 » b
38 » c
39 » c
40 » c

ISTQB Certification Details

ISTQB Foundation exams will use the same format, which will consist of the following components:
- 40 multiple choice questions (4 answers per question)
- 1 hour 15 min exam (set and managed by authorised examination boards)

The exam questions will be split ‘roughly’ in line with the Syllabus timings
- Fundamentals of testing – 18%
- Testing throughout the life cycle – 16%
- Static testing – 7%
- Test design techniques – 29%
- Test Management – 21%
- Tool support for testing – 9%

Cognitive levels are given for each session
- K1 : remember, recognize, recall; - 50% questions
- K2 : understand, explain, give reasons, compare, classify, summarize; - 30% questions
- K3 : apply – 20% questions

Silk Performer Certification Sample Questions or Silk Performer Dumps

Silk Performer Certification Sample Questions or Silk Performer Dumps:

1. Agents can be located ____ a firewall.
a. Inside a firewall
b. Outside a firewall
c. A or B
d. A and B
e. C and D

2. Which of the following allows the user to quickly step through the entire load-testing process.
a. Workflow bar
b. Workload model
c. Project Pane
d. True log explorer

3. One of the following contains different profiles, workload configurations and associated scripts, data files, and agents.
a. Workflow bar
b. Workload model
c. Project Pane
d. True log explorer

4. One of the following outlines the selected script and allows easy navigation to the corresponding section of the script.
a. Workflow bar
b. Monitor
c. Project Pane
d. Active Script Pane

5. Which is/are components of SilkPerformer:
a. Recorder
b. TrueLog Explorer
c. Performance Explorer
d. All the above
e. None

6. Which of the following component serves to start an application and record the traffic and function calls produced by the application
a. Recorder
b. TrueLog Explorer
c. Performance Explorer
d. All the above
e. None

7. Which of the following is true
a. Try script Ignores think times.
b. Try script plays back think times.

8. The animated mode in Try script launches
a. Recorder
b. TrueLog Explorer
c. Performance Explorer
d. All the above
e. None

9. Name two files which are generated automatically by Try Script:
a. *.bdf , *.bex
b. *.bex, *.xlg
c. *.log, *.rpt
d. b, c

10. When trying a script, how many virtual users and user groups are run?
a. 1 and 1
b. 1 and 2
c. 2 and 1
d. None

Silk Test Certification Sample Questions or Silk Test Dumps

Silk Test Certification Sample Questions or Silk Test Dumps :
1. _____is the component of SilkTest that interacts with the Application Under Test
a) Silk Test Agent
b) Silk Test GUI

2. ____translates your 4Test script commands into appropriate browser-specific event calls or GUI-specific commands
a) Silk Test Agent
b) Silk Test GUI

3. ___is the SilkTest component that drives and monitors the application you are testing
a) Silk Test Agent
b) Silk Test GUI

4. Silk Test recognizes each object on a page as a
a) logical, discrete entity
b) physical screen location

5. Silk Test manipulates the logical objects to ______ in your testcases
a) Silk Test Commands
b) TSL Commands
c) C++ Commands
d) 4Test commands

6. Silk Test uses ______ that allow you to build automated tests, even if you have little or no programming experience
a) Agent
b) Silk Test GUI
c) Recorder
d) a, b

7. Silk Test recognizes the ______ you perform on objects when using a recorder
a) click events
b) actions
c) keyboard events
d) a, c

8. Silk Test uses a high-level, ______ fourth generation language (4Test) designed specifically for QA testing
a) object-based
b) assembly
c)a, b
d) object-oriented

9. Silk Test provides for testing localized applications
a) Across languages and character sets
b) With a single frame file
c) With a single set of testcases
d) a,b,c

10. SilkTest provides the means to develop tests to run against your___
a) client/server
b) web application
c) a or b
d) none

Why is Testing Necessary?

Testing is necessary to detect the defects, to improve the quality, to make the system more reliable

- People make mistakes or errors.
- Errors made can cause faults or defects.
- Defects can cause failures.
- Failures can cause a big problem.
- Product or deliverable can end up to be defective.
- Perfection is very difficult.

Since nobody is perfect and we always make mistakes, any errors created within the system development life cycle can lead to so many faults within the software, which will eventually lead to the failure of the software.

Error Mistake made by human.

Fault The result of an error also known as bugs or defects.

Failure The result of the fault. This leads to the deviation of the software from its expected results.

If a system has been well tested to the agreed specification, the result should be a reliable system that does what the user requires it to do.

Generally, the more faults or defects that are detected and corrected the more reliable the system will be.
It is also important that the testing carried out reflects the real use of the system.

What is testing?

The process consisting of all life cycle activities, both static and dynamic, concerned with planning, preparation and evaluation of software products and related work products to determine that they satisfy specified requirements, to demonstrate that they are fit for purpose and to detect defects