Archive

Archive for the ‘Software Testing’ Category

Software Testing – SDLC

March 1, 2011 Leave a comment

This is at abstract level. We need to fine tune this for each project.

Those who miss proper testing, will see stars in production.

What went wrong in many projects I had seen?

1. Business team is giving performance numbers at the end of the project.

2. Managers are pushing to achieve functionality first to show case to business by ignoring performance numbers.

3. Not measuring memory, CPU usage during performance testing. Not doing performance testing all together.

4. Setting new performance goals at the end of the project.

5. Not having any performance tracking code plugged in or written. (Every body want to measure at the end…how?)

6. Not spending adequate time on performance testing. Many people do 1 hour or 6 hour. Supposed to simulate production environment for more than two weeks.

 

Many time production systems will fail after deploying new code with in hours to first two weeks.

Because the missed parallel production steps.

If you have any more questions, please let me know.

Thank you,
Bhavani P Polimetla

Security Testing

July 14, 2010 Leave a comment

Many times we miss security testing or we will do in last minute. Due to this we dont have enough time to fix the issues or we may put application into production with security risks. What we need to do?

Step 1: Plan Security Testing as part of Testing efforts.

Step 2: Educate developers about security risks in application

Step 3: Do security testing earliest and fix issues as early as possible.

Some links for reference.

Open Web Application Security Project (OWASP) – http://www.owasp.org

An introduction to SQL injection: http://www.net-security.org/dl/articles/IntegrigyIntrotoSQLInjectionAttacks.pdf

SQL Injection: http://www.securiteam.com/securityreviews/5DP0N1P76E.html

SQL Injection by example: http://unixwiz.net/techtips/sql-injection.html

-o-

http://www.aaasouth.com/ Site is down..good example for testing

June 7, 2010 Leave a comment

http://www.aaasouth.com/ Site is down..good example for testing

Server Error in ‘/’ Application.

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: BC30057: Too many arguments to ‘Public Function GetAssocSpecial(UI As String, TransType As String, Branch As String) As System.Array’.

Source Error:

Line 227: Dim Membship As New MembershipDAL
Line 228: ’6/4/10:jvr:Add new param to getassocspecial call
Line 229: Dim Arr As Array = Membship.GetAssocSpecial(Cust.UI, “A”, Session(“Branch”), Cust.BILLING_PLAN)
Line 230: If Arr(0) = “T” Then
Line 231: displayAssociateSpecial = True

Source File: D:\InetPub\Production\home.aspx.vb Line: 229

Show Detailed Compiler Output:

c:\windows\system32\inetsrv> “C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\vbc.exe” /t:library /utf8output /R:”C:\WINDOWS\assembly\GAC_MSIL\System.Runtime.Serialization\3.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll” /R:”C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\89065445\f91cdff4\assembly\dl3\3c74a04a\f687d35f_d59dca01\PayProcess.DLL” /R:”C:\WINDOWS\assembly\GAC_MSIL\System.Windows.Forms\2.0.0.0__b77a5c561934e089\System.Windows.Forms.dll” /R:”C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\89065445\f91cdff4\assembly\dl3\b9c48af1\36a39e20_0bc3c901\ACS.Foundation.User.DLL” /R:”C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\89065445\f91cdff4\assembly\dl3\522ef99a6e6b9fe_c380c901\Telerik.Web.UI.DLL” /R:”C:\WINDOWS\assembly\GAC_MSIL\System.Runtime.Serialization.Formatters.Soap\2.0.0.0__b03f5f7f11d50a3a\System.Runtime.Serialization.Formatters.Soap.dll” /R:”C:\WINDOWS\assembly\GAC_MSIL\System.Management\2.0.0.0__b03f5f7f11d50a3a\System.Management.dll” /R:”C:\WINDOWS\assembly\GAC_MSIL\System.WorkflowServices\3.5.0.0__31bf3856ad364e35\System.WorkflowServices.dll” /R:”C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\89065445\f91cdff4\App_GlobalResources.nivuiyby.dll” /R:”C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\89065445\f91cdff4\assembly\dl3\ebba6420\d8d43aa0_360dc901\FreeTextBox.DLL” /R:”C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\89065445\f91cdff4\App_Web_afp-ud0i.dll” /R:”C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\89065445\f91cdff4\assembly\dl3\d9b7a4dcaf97fa0_360dc901\Interop.MSXML2.DLL” /R:”C:\WINDOWS\assembly\GAC_MSIL\System.Design\2.0.0.0__b03f5f7f11d50a3a\System.Design.dll” /R:”C:\WINDOWS\assembly\GAC_MSIL\System.ServiceProcess\2.0.0.0__b03f5f7f11d50a3a\System.ServiceProcess.dll” /R:”C:\WINDOWS\assembly\GAC_MSIL\System.ServiceModel\3.0.0.0__b77a5c561934e089\System.ServiceModel.dll” /R:”C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\89065445\f91cdff4\App_Web_scrollbar.ascx.437cf42d.udyasqlu.dll” /R:”C:\WINDOWS\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll” /R:”C:\WINDOWS\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll” /R:”C:\WINDOWS\assembly\GAC_MSIL\System.Web.Services\2.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll” /R:”C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\89065445\f91cdff4\assembly\dl35389b29\748cb09f_360dc901\ACS.CommonControlLibrary.DLL” /R:”C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\89065445\f91cdff4\App_WebReferences.dgsyjpur.dll” /R:”C:\WINDOWS\assembly\GAC_MSIL\System.Web.Mobile\2.0.0.0__b03f5f7f11d50a3a\System.Web.Mobile.dll” /R:”C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\89065445\f91cdff4\App_Web_vjttnlpk.dll” /R:”C:\WINDOWS\assembly\GAC_MSIL\System.IdentityModel\3.0.0.0__b77a5c561934e089\System.IdentityModel.dll” /R:”C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\89065445\f91cdff4\assembly\dl3\7533ca56\7a98360b_ec2aca01\LithiumSSOClient.DLL” /R:”C:\WINDOWS\assembly\GAC_MSIL\System.Core\3.5.0.0__b77a5c561934e089\System.Core.dll” /R:”C:\WINDOWS\assembly\GAC_MSIL\System.Data.Linq\3.5.0.0__b77a5c561934e089\System.Data.Linq.dll” /R:”C:\WINDOWS\assembly\GAC_MSIL\IBM.Data.DB2\9.0.0.2__7c307b91aa13d208\IBM.Data.DB2.dll” /R:”C:\WINDOWS\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll” /R:”C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\89065445\f91cdff4\App_Web_txngpguo.dll” /R:”C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\89065445\f91cdff4\assembly\dl3\c8f7a3db\4eb86d6d_eb2aca01\ICSharpCode.SharpZipLib.DLL” /R:”C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\89065445\f91cdff4\assembly\dl3\8b7e7bbf\e0836aa0_360dc901\Interop.MSXML.DLL” /R:”C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\89065445\f91cdff4\assembly\dl3\15557ccf\107157a0_360dc901\Interop.ActiveDs.DLL” /R:”C:\WINDOWS\assembly\GAC_MSIL\System.DirectoryServices.Protocols\2.0.0.0__b03f5f7f11d50a3a\System.DirectoryServices.Protocols.dll” /R:”C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll” /R:”C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\89065445\f91cdff4\App_Code.gtrm5h0y.dll” /R:”C:\WINDOWS\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll” /R:”C:\WINDOWS\assembly\GAC_MSIL\System.Web.Extensions\3.5.0.0__31bf3856ad364e35\System.Web.Extensions.dll” /R:”C:\WINDOWS\assembly\GAC_MSIL\System.Web.RegularExpressions\2.0.0.0__b03f5f7f11d50a3a\System.Web.RegularExpressions.dll” /R:”C:\WINDOWS\assembly\GAC_MSIL\System.Messaging\2.0.0.0__b03f5f7f11d50a3a\System.Messaging.dll” /R:”C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\89065445\f91cdff4\assembly\dl3\46242a03\92371244_48d1ca01\RJS.Web.WebControl.PopCalendar.Net.2008.DLL” /R:”C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\89065445\f91cdff4\App_global.asax.grhz7tcv.dll” /R:”C:\WINDOWS\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll” /R:”C:\WINDOWS\assembly\GAC_MSIL\System.Configuration.Install\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.Install.dll” /R:”C:\WINDOWS\assembly\GAC_MSIL\System.Web.Extensions.Design\3.5.0.0__31bf3856ad364e35\System.Web.Extensions.Design.dll” /R:”C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\89065445\f91cdff4\assembly\dl3\e7000665\cce48ba0_360dc901\OpenConnectWrapper.DLL” /R:”C:\WINDOWS\assembly\GAC_MSIL\System.Xml.Linq\3.5.0.0__b77a5c561934e089\System.Xml.Linq.dll” /R:”C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\89065445\f91cdff4\assembly\dl3\30ce4806\6ad359a0_360dc901\Interop.BlowFish.DLL” /R:”C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\89065445\f91cdff4\assembly\dl3\1772d497\46d61ba0_360dc901\AjaxControlToolkit.DLL” /R:”C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\89065445\f91cdff4\assembly\dl379bba57\9e01c69f_360dc901\ACS.Foundation.SqlHelper.DLL” /R:”C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\89065445\f91cdff4\assembly\dl3\3d57303b\f4556b6d_eb2aca01\BouncyCastle.Crypto.DLL” /R:”C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\89065445\f91cdff4\assembly\dl3\29ca7a47\d69de29f_360dc901\ACS.Foundation.Utility.DLL” /R:”C:\WINDOWS\assembly\GAC_MSIL\System.DirectoryServices\2.0.0.0__b03f5f7f11d50a3a\System.DirectoryServices.dll” /R:”C:\WINDOWS\assembly\GAC_MSIL\System.ServiceModel.Web\3.5.0.0__31bf3856ad364e35\System.ServiceModel.Web.dll” /R:”C:\WINDOWS\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll” /out:”C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\89065445\f91cdff4\App_Web_home.aspx.cdcab7d2._qixbu33.dll” /debug- /win32resource:”C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\89065445\f91cdff4\kvlwf8a1.res” /define:_MYTYPE=\”Web\” /imports:Microsoft.VisualBasic,System,System.Collections,System.Collections.Specialized,System.Configuration,System.Text,System.Text.RegularExpressions,System.Web,System.Web.Caching,System.Web.SessionState,System.Web.Security,System.Web.Profile,System.Web.UI,System.Web.UI.WebControls,System.Web.UI.WebControls.WebParts,System.Web.UI.HtmlControls “C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\89065445\f91cdff4\App_Web_home.aspx.cdcab7d2._qixbu33.0.vb” “C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\89065445\f91cdff4\App_Web_home.aspx.cdcab7d2._qixbu33.1.vb” “C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\89065445\f91cdff4\App_Web_home.aspx.cdcab7d2._qixbu33.2.vb”

Microsoft (R) Visual Basic Compiler version 8.0.50727.3053
for Microsoft (R) .NET Framework version 2.0.50727.3603
Copyright (c) Microsoft Corporation. All rights reserved.

D:\InetPub\Production\home.aspx.vb(229) : error BC30057: Too many arguments to ‘Public Function GetAssocSpecial(UI As String, TransType As String, Branch As String) As System.Array’.

Dim Arr As Array = Membship.GetAssocSpecial(Cust.UI, “A”, Session(“Branch”), Cust.BILLING_PLAN)
~~~~~~~~~~~~~~~~~

Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3082

Agile Testing

March 10, 2010 Leave a comment
Categories: Software Testing Tags:

Mobile Application Testing

February 11, 2010 Leave a comment

Question: How to test applications on mobile phones?

Answer: We have two types of applications.
1. Browser based applications.
2. Simple applications (1. Standalone, 2. Client Server).

Testing approaches:
1. Test on simulators
2. Test on simulators provided by client web sites
3. Test directly on required devices.

There is no difference between regular testing and mobile phone application testing.

Windows iPhone Simulator: http://labs.blackbaud.com/NetCommunity/article?artid=662
Nice online simulator http://testiphone.com/
Very Nice iPhone Simulator: http://www.genuitec.com/products.html
iPhone File Browser: http://code.google.com/p/iphonebrowser/downloads/list
Sample Web based Simulator: http://emulator.mtld.mobi/emulator.php

Theory:
Mobile Web: http://en.wikipedia.org/wiki/Mobile_Web
Mobile Web Best Practices: http://www.w3.org/TR/2010/CR-mwabp-20100211/

Mobile Web Sites
Kayak: http://m.kayak.com/
Orbitz: http://mobile.orbitz.com/
Travelocity iPhone: http://iphone.travelocity.com/
Travelocity BlackBerry: http://mobile.travelocity.com/
Flight Stats: http://www.flightstats.com/go/Mobile/home.do
IHG Mobile Application: http://www.ichotelsgroup.com/wireless/6c/1/en/home.action
Priceline: http://www.priceline.mobi/mobilesite/
List of Mobile Sites: http://wapreview.com/index.php?id=23

Search in Google for mobile simulator / emulators.

-o-

Categories: Software Testing

Tools to use in day to day life

June 21, 2009 Leave a comment

These are the tools every developer need to use on day to day basis.

Bug Tracking Software
Bugzilla:
http://landfill.bugzilla.org/ – Practice Bugzilla
Quality Center Demo:
Search in google “HP Quality Center software Flash demo” and try it out.

Screen Recording Open Source Free Software

http://camstudio.org/

Convert Docs to PDF
www.primopdf.com

Convert Images to JPG with 100% Quality
www.xnview.com

Compression Software, Open Source, Free
www.7-zip.org/

FTP Software
filezilla-project.org

Telnet client putty.exe from http://tinyapps.org/

Get free unix account: http://www.grex.org/

Compare text files
winmerge.org

SOAP UI: http://www.soapui.org/
Free Web Services: http://www.webservicex.net
Stock Quote: http://www.webservicex.net/stockquote.asmx?wsdl
Weather Service: http://ws.cdyne.com/WeatherWS/Weather.asmx?wsdl

Database:
Database: MySQL
User Interface or GUI: My SQL Control Center http://sourceforge.net/projects/mysqlcc/
Database Design: DB Designer

Anti Virus

http://www.clamwin.com/

-o-

Follow

Get every new post delivered to your Inbox.