I'm gonna post some useful Testing stuffs here,to share the knowledge, enjoy learning.............
Wednesday, December 31, 2008
Working with AOM
'Open QuickTest and create the Application object
Set qtApp = CreateObject("QuickTest.Application")
qtApp.Launch
qtApp.Visible = True
'Open a test and get the "Login" action's object repositories collection
qtApp.Open "D:\Fatima\trial-qtp\adv topics\Test1", False, False
Set qtRepositories = qtApp.Test.Actions("Login").ObjectRepositories
' Add shared_rep.tsr if it's not already in the collection
If qtRepositories.Find("D:\Fatima\trial-qtp\adv topics\shared_rep.tsr") = -1 Then ' If the repository cannot be found
qtRepositories.Add "D:\Fatima\trial-qtp\adv topics\shared_rep.tsr", 1
End If
' If additional_rep.tsr is moved down the list - place it back at position 1
If qtRepositories.Count > 1 And qtRepositories.Item(1) = "D:\Fatima\trial-qtp\adv topics\additional_rep.tsr" Then
qtRepositories.MoveToPos 1,2
End If
' If debug.tsr is in the collection - remove it
lngPosition = qtRepositories.Find("D:\Fatima\trial-qtp\adv topics\debug.tsr")
If lngPosition <> -1 Then
qtRepositories.Remove lngPosition
End If
' Set the new object repository configuration as the default for all new actions
qtRepositories.SetAsDefault
qtApp.Test.Save
qtApp.Quit
Set qtRepositories = Nothing
Set qtApp = Nothing
Thursday, December 18, 2008
how to return a value from a function
sum = a+b
func1 = sum
End Function
aaa= func1(2,3)
msgbox aaa
Regards,
Pavankumar Nandagiri............
Tuesday, November 11, 2008
how to call Library Files(.vbs) in the Test Script
ExecuteFile <>
method 2:
u can add library file to ur script through Test-----------
-->Resources tab here u find option called add file there u
can add ur files manually before running the script then
save it so when ever u open that script attached lib files
also opened with that script.
Method 3:
path1="C:/Lib1"
path2="C:/Lib2"
set qtApp1 = CreateObject("QuickTest.Application")
Set qtLibraries = qtApp1.Test.Settings.Resources.Libraries ' Get the libraries collection object
qtLibraries.Add path1 ,1
qtLibraries.Add path2 ,2
Regards,
Pavankumar nandagiri..........
Thursday, November 6, 2008
FileSystemObject Properties
- AtEndOfLine Property
- Returns true if the file pointer is positioned immediately before the end-of-line marker in a TextStream file; false if it is not.
- AtEndOfStream Property
- Returns true if the file pointer is at the end of a TextStream file; false if it is not.
- Attributes Property
- Sets or returns the attributes of files or folders.
- AvailableSpace Property
- Returns the amount of space available to a user on the specified drive or network share.
- Column Property
- Returns the column number of the current character position in a TextStream file.
- CompareMode Property
- Sets and returns the comparison mode for comparing string keys in a Dictionary object.
- Count Property
- Returns the number of items in a collection or Dictionary object.
- DateCreated Property
- Returns the date and time that the specified file or folder was created. Read-only.
- DateLastAccessed Property
- Returns the date and time that the specified file or folder was last accessed.
- DateLastModified Property
- Returns the date and time that the specified file or folder was last modified.
- Drive Property
- Returns the drive letter of the drive on which the specified file or folder resides.
- DriveLetter Property
- Returns the drive letter of a physical local drive or a network share.
- Drives Property
- Returns a Drives collection consisting of all Drive objects available on the local machine.
- DriveType Property
- Returns a value indicating the type of a specified drive.
- Files Property
- Returns a Files collection consisting of all File objects contained in the specified folder, including those with hidden and system file attributes set.
- FileSystemProperty
- Returns the type of file system in use for the specified drive.
- FreeSpace Property
- Returns the amount of free space available to a user on the specified drive or network share.
- IsReady Property
- Returns true if the specified drive is ready; false if it is not.
- IsRootFolder Property
- Returns true if the specified folder is the root folder; false if it is not.
- Item Property
- Sets or returns an item for a specified key in a Dictionary object. For collections, returns an item based on the specified key.
- Key Property
- Sets a key in a Dictionary object.
- Line Property
- Returns the current line number in a TextStream file.
- Name Property
- Sets or returns the name of a specified file or folder.
- ParentFolder Property
- Returns the folder object for the parent of the specified file or folder.
- Path Property
- Returns the path for a specified file, folder, or drive.
- RootFolder Property
- Returns a Folder object representing the root folder of a specified drive.
- SerialNumber Property
- Returns the decimal serial number used to uniquely identify a disk volume.
- ShareName Property
- Returns the network share name for a specified drive.
- ShortName Property
- Returns the short name used by programs that require the earlier 8.3 naming convention.
- ShortPath Property
- Returns the short path used by programs that require the earlier 8.3 file naming convention.
- Size Property
- For files, returns the size, in bytes, of the specified file. For folders, returns the size, in bytes, of all files and subfolders contained in the folder.
- SubFolders Property
- Returns a Folders collection consisting of all folders contained in a specified folder, including those with hidden and system file attributes set.
- TotalSize Property
- Returns the total space, in bytes, of a drive or network share.
- Type Property
- Returns information about the type of a file or folder.
- VolumeName Property
- Sets or returns the volume name of the specified drive.
PavanKumar Nandagiri..............
Wednesday, October 1, 2008
QTP Testing process
- Create your test plan - Prior to automating there should be a detailed description of the test including the exact steps to follow, data to be input, and all items to be verified by the test. The verification information should include both data validations and existence or state verifications of objects in the application.
- Recording a session on your application - As you navigate through your application, Quick Test graphically displays each step you perform in the form of a collapsible icon-based test tree. A step is any user action that causes or makes a change in your site, such as clicking a link or image, or entering data in a form.
- Enhancing your test - Inserting checkpoints into your test lets you search for a specific value of a page, object or text string, which helps you identify whether or not your application is functioning correctly. NOTE: Checkpoints can be added to a test as you record it or after the fact via the Active Screen. It is much easier and faster to add the checkpoints during the recording process. Broadening the scope of your test by replacing fixed values with parameters lets you check how your application performs the same operations with multiple sets of data. Adding logic and conditional statements to your test enables you to add sophisticated checks to your test.
- Debugging your test - If changes were made to the script, you need to debug it to check that it operates smoothly and without interruption.
- Running your test on a new version of your application - You run a test to check the behavior of your application. While running, Quick Test connects to your application and performs each step in your test.
- Analyzing the test results - You examine the test results to pinpoint defects in your application.
- Reporting defects - As you encounter failures in the application when analyzing test results, you will create defect reports in Defect Reporting Tool.
Tuesday, August 19, 2008
How to call a function from a action to another action
'Action where to want to call the function i ,e ex: -Action2
environment("my_var")="login"
runaction "Action1",environment("my_var")
'Action1
If environment("my_var")="login" Then
Call func_login()
End If
Regards,
PavanKumar Nandagiri..............
Tuesday, August 5, 2008
To load the object repository
Dim QTP_OR
Set objQTP = CreateObject("QuickTest.Application")
Set QTP_OR = objQTP.Test.Actions("Action2").ObjectRepositories
If QTP_OR.Find("D:\pavan\Test1\new.tsr") = -1 Then
QTP_OR.Add "D:\pavan\Test1\new.tsr", 1
End If
Set QTP_OR = Nothing
Set objQTP = Nothing
Regards,
Pavankumar Nandagiri..............
To find the child objects & their class in the application
Set oDesc = Description.Create()
Set parent = Window("Text:=Flight Reservation")
Set children = parent. ChildObjects (oDesc)
co = children.Count
MsgBox co
k=0
For j = 1 to (co-1)
cln= children(j).GetROProperty("micclass")
Select Case(cln)
case("WinEdit")
Objpr = children(j).GetROProperty("attached text")
case("WinButton")
Objpr = children(j).GetROProperty("text")
case("WinComboBox")
Objpr = children(j).GetROProperty("attached text")
case("AciveX")
Objpr = children(j).GetROProperty("Progid")
case("WinObject")
Objpr = children(j).GetROProperty("text")
case("Static")
Objpr = children(j).GetROProperty("text")
End Select
If Objpr <> "" Then
msgbox cls & " " & Objpr
End If
Objpr = ""
Next
MsgBox k
Regards,
PavanKumar Nandagiri.....................
Deleting the dupliacte data from Excel sheet
objExcel.Visible = True
Set objWorkbook = objExcel.Workbooks.Open("D:\Qtp_ framewrk_Keyworddriven\16June_Final_Test_Scenarios_phpcollab.xls")
nor = objExcel.sheets(3).usedrange.rows.count
for i = 1 to nor
cd = objExcel.sheets(3).Cells(i, 1)
j = i+1
do Until objExcel.Cells(j, 1).Value = ""
cd1 = objExcel.sheets(3).Cells(j, 1)
if Ucase(trim(cd)) = Ucase(trim(cd1)) then
Set objRange = objExcel.Cells(j, 1).EntireRow
objRange.Delete
j = j-1
End If
j = j + 1
Loop
Next
Regards,
PavanKumar Nandagiri...........
Wednesday, July 30, 2008
How to parametrize from external file
set xlbook = xlapp.workbooks.open ("D:\pavan\nanda.xls")
Set xlsheet = xlbook.worksheets("Sheet1")
xlcount = xlsheet.usedrange.rows.count
xlcln_count = xlsheet.usedrange.columns.count
msgbox xlcln_count
For i=2 to xlcount
For j=1 to xlcln_count
Dialog("Login").WinEdit("Agent Name:").set xlsheet.cells(i,j).value
Dialog("Login").WinEdit("Password:").set xlsheet.cells(i,j).value
xlsheet.cells(i,3).value = "pass"
Next
Next
xlbook.save
xlbook.close
xlapp.quit
Regards,
PavanKumar Nandagiri..................
To show the data from a particular row and a particular colum from Data Table in QTP
NumRows=datatable.GlobalSheet.getrowcount
For i = 1 to NumRows
Datatable.SetCurrentRow(i)
For j = 1 to NumColumns
tblCellText = Datatable(j,dtGlobalsheet)
If tblCellText <> "" Then
Msgbox "The Text in Row: " & i & " and Column: " & j & " is: " & tblCellText
End If
Next
Next
Regards,
Pavankumar Nandagiri...............
Friday, July 25, 2008
Code for how to handle the nested tables
I have nested tables used to format some pages. Trouble is that deep down in there, there is an image on which I need to click. So, how to get there dynamically? search the tables and find the particular thing for which I am looking, be it a string, or an object of some sort.
Set oDesc = Description.Create()
oDesc("html tag").Value = "TABLE"
Set oChild = Browser("Browser").Page("Page").ChildObjects(oDesc)
iTableCount = oChild.Count
Msgbox "We have " & iTableCount &" tables"
For lCount = 0 to iTableCount - 1 'Zero-based
For lRowCount = 1 to oChild(lCount).RowCount
'Msgbox "Table " & CStr(lCount) & " has " & oChild(lCount).RowCount & " rows and " & Cstr(oChild(lCount).ColumnCount(lRowCount + 1)) & " columns."
For lColumnCount = 1 to oChild(lCount).ColumnCount(lRowCount)
Msgbox "Current Cell: " & lRowCount & "," & lColumnCount
Msgbox "CellData: " & oChild(lCount).GetCellData(lRowCount , lColumnCount)
Next
Next
Next
oChild(0).ChildItem(2,2,"Image",0).Click
Set oChild = Nothing
Set oDesc = Nothing
We are using the Descriptive programming to get at our array of tables. Some interesting notes:
1) The tables array is zero-based
2) The rows/columns seem to be collections, and are therefore 1 based
3) The two tables in my example HTML are nested, but both show up in the tables array. I find this interesting, but very useful. Since it works that way, I don't have to loop a table's row/column combination to determine if a particular cell contains a nested table. Allows for a much more dynamic way to get at certain information.
Regards,
Pavankumar Nandagiri...........
Thursday, July 24, 2008
How to select radio button from a radio group
Set Desc1 = Description.Create()
Desc1("micclass").Value = "WebRadioGroup"
Desc1("html tag").value = "INPUT"
Set Radiobuttons = Browser("Index:=0").Page("title:=Create.*").ChildObjects(Desc1)
NumberOfRadioButtons = Radiobuttons.Count()
If NumberOfRadioButtons <> 0 then
Radiobuttons.Item(1).Select "#" & 0
end if
Regards,
Pavan Kumar Nandagiri........................
Wednesday, July 23, 2008
set rs=createobject("adodb.recordset")
' Oracle client is required to be installed on your box
conn.open= "Provider=OraOLEDB.Oracle.1;Password=***;
PersistSecurity Info=True;
User ID=****;
SERVER=****;
DataSource=****;
DBQ=****;
"sql="your sql query to retrive the records"
rs.open sql,connrs.close
set rs=nothing
conn.close
set conn=nothing
How to connect to the Database from QTP?
Srvname="Driver={Microsoft ODBC for Oracle}:Server=DBserver,UID=Sa,Password=sa" conn.open Srvname
Set Rec = CreateObject("ADODB.Recordset")
SQL="select * from Users"
Rec.open SQL ,conn
Username=Rec.fields("employee name")
Msgbox Username
Microsoft ADO (ActiveX Data Objects) is a Component object model object for accessing data sources.The ADO Recordset object is used to hold a set of records from a database table. A Recordset object consist of records and columns (fields).In ADO, this object is the most important and the one used most often to manipulate data from a database.Srvname is a connection string.if u already installed oracle in your system..using that path u can connect oracle database...if u dont have oracle give the conncetion string path..whatever connection string created used in database checkpoint by default...
Example:
DSN=QT_Flight32;DBQ=C:\Program Files\Mercury Interactive\QuickTest Professional\samples\flight\app\flight32.mdb;Driver=C:\WINDOWS\system32\odbcjt32.dll;DriverId=281;FIL=MS Access;MaxBufferSize=2048;PageTimeout=5;
Tuesday, July 22, 2008
How to Change All the Lowercase Letters in an Excel Worksheet to Uppercase Letters?
objExcel.Visible = True
Set objWorkbook = objExcel.Workbooks.Add()
Set objWorksheet = objWorkbook.Worksheets(1)
objWorksheet.Cells(1,1) = "abcdef" 'enter data in the cells
objWorksheet.Cells(1,2) = "ghijkl"
objWorksheet.Cells(1,3) = "mnopqr"
objWorksheet.Cells(1,4) = "stuvwx"
Wait (10)
Set objRange = objWorksheet.UsedRange
For Each objCell in objRange
objCell.Value = UCase(objCell.Value)
Next
Sunday, July 20, 2008
Wednesday, July 16, 2008
List of H1B Questions Asked me in Visa Interview
2. Why do u wnt to Work in US?
3. Will you come back to INDIA & whn?
4. Whts ur overall IT experience?
5. Whts ur roles & responsibilites in US Company?
6. Who's ur client?
7. Wht's ur current project ur gng to wrk in US?
8. Wht's ur highest educational qualification?
9. Ur stream is non IT, hw u hav been in IT field?
10. Wht r the technologies ur wrkng on?
11. Can i c ur client letter, company's tax details ?
12. Can i c DS-156, DS-157, I-797B, I-129, Certificates, Last six months bank transactions etc....
Regards,
PavanKumar Nandagiri......................
Tuesday, July 1, 2008
Software Testing Interview Questions
2. What is the Purpose of Testing?
3. What types of testing do testers perform?
4. What is the Outcome of Testing?
5. What kind of testing have you done?
6. What is the need for testing?
7. What are the entry criteria for Functionality and Performance testing?
8. What is test metrics?
9. Why do you go for White box testing, when Black box testing is available?
10. What are the entry criteria for Automation testing?
11. When to start and Stop Testing?
12. What is Quality?
13. What is Baseline document, Can you say any two?
14. What is verification?
15. What is validation?
16. What is quality assurance?
17. What is quality control?
18. What is SDLC and TDLC?
19. What are the Qualities of a Tester?
20. When to start and Stop Testing?
21. What are the various levels of testing?
22. What are the types of testing you know and you experienced?
23. What exactly is Heuristic checklist approach for unit testing?
24. After completing testing, what would you deliver to the client?
25. What is a Test Bed?
26. What is a Data Guidelines?
27. Why do you go for Test Bed?
28. What is Severity and Priority and who will decide what?
29. Can Automation testing replace manual testing? If it so, how?
30. What is a test case?
31. What is a test condition?
32. What is the test script?
33. What is the test data?
34. What is an Inconsistent bug?
35. What is the difference between Re-testing and Regression testing?
36. What are the different types of testing techniques?
37. What are the different types of test case techniques?
38. What are the risks involved in testing?
39. Differentiate Test bed and Test Environment?
40. What ifs the difference between defect, error, bug, failure, fault?
41. What is the difference between quality and testing?
42. What is the difference between White & Black Box Testing?
43. What is the difference between Quality Assurance and Quality Control?
44. What is the difference between Testing and debugging?
45. What is the difference between bug and defect?
46. What is the difference between verification and validation?
47. What is the difference between functional spec. and Business requirement specification?
48. What is the difference between unit testing and integration testing?
49. What is the diff between Volume & Load?
50. What is diff between Volume & Stress?
51. What is the diff between Stress & Load Testing?
52. What is the Diff between Two Tier & Three tier Architecture?
53. What is the diff between Client Server & Web Based Testing?
54. What is the diff between Integration & System Testing?
55. What is the Diff between Code Walkthrough & Code Review?
56. What is the diff between walkthrough and inspection?
57. What is the Diff between SIT & IST?
58. What is the Diff between static and dynamic?
59. What is the diff between alpha testing and beta testing?
60. What are the Minimum requirements to start testing?
61. What is Smoke Testing & when it will be done?
62. What is Adhoc Testing? When it can be done?
63. What is cookie testing?
64. What is security testing?
65. What is database testing?
66. What is the relation ship between Quality & Testing?
67. How do you determine, what to be tested?
68. How do you go about testing a project?
69. What is the Initial Stage of testing?
70. What is Web Based Application Testing?
71. What is Client Server Application Testing?
72. What is Two Tier & Three tier Architecture?
73. What is the use of Functional Specification?
74. Why do we prepare test condition, test cases, test script (Before Starting Testing)?
75. Is it not waste of time in preparing the test condition, test case & Test Script?
76. How do you go about testing of Web Application?
77. How do you go about testing of Client Server Application?
78. What is meant by Static Testing?
79. Can the static testing be done for both Web & Client Server Application?
80. In the Static Testing, what all can be tested?
81. Can test condition, test case & test script help you in performing the static testing?
82. What is meant by dynamic testing?
83. Is the dynamic testing a functional testing?
84. Is the Static testing a functional testing?
85. What are the functional testing you perform?
86. What is meant by Alpha Testing?
87. What kind of Document you need for going for an Functional testing?
88. What is meant by Beta Testing?
89. At what stage the unit testing has to be done?
90 Who can perform the Unit Testing?
91. When will the Verification & Validation be done?
92. What is meant by Code Walkthrough?
93. What is meant Code Review?
94. What is the testing that a tester performs at the end of Unit Testing?
95. What are the things, you prefer & Prepare before starting Testing?
96. What is Integration Testing?
97. What is Incremental Integration Testing?
98. What is meant by System Testing?
99. What is meant by SIT?
100 .When do you go for Integration Testing?
101 Can the System testing be done at any stage?
102. What are stubs & drivers?
103. What is the Concept of Up-Down & Down-Up in Testing in integration testing?
104. What is the final Stage of Integration Testing?
105. Where in the SDLC, the Testing Starts?
106. What is the Outcome of Integration Testing?
107. What is meant by GUI Testing?
108. What is meant by Back-End Testing?
109. What are the features, you take care in Prototype testing?
110. What is Mutation testing & when can it be done?
111. What is Compatibility Testing?
112. What is Usability Testing?
113 What is the Importance of testing?
114. What is meant by regression Testing?
115. When we prefer Regression & what are the stages where we go for Regression Testing?
116. What is performance testing?
117. What is the Performance testing; those can be done Manually & Automatically?
118 What is Volume, Stress & Load Testing?
119. What is a Bug?
120. What is a Defect?
121. What is the defect Life Cycle?
122. What is the Priority in fixing the Bugs?
123. Explain the Severity you rate for the bugs found?
124. Diff between UAT & IST?
125. What is meant by UAT?
126. What all are the requirements needed for UAT?
127. What are the docs required for Performance Testing?
128. What is risk analysis?
129. How to do risk management?
130. What are test closure documents?
131. What is traceability matrix?
132. What ways you followed for defect management?
Regards,
PavanKumar Nandagiri......................
Monday, June 30, 2008
Number of ways to parameterize data in QTP?
There are four types of parameters:
Test, action or component parameters enable you to use values passed from your test or component, or values from other actions in your test.
Data Table parameters enable you to create a data-driven test (or action) that runs several times using the data you supply. In each repetition, or iteration, QuickTest uses a different value from the Data Table.
Environment variable parameters enable you to use variable values from other sources during the run session. These may be values you supply, or values that QuickTest generates for you based on conditions and options you choose.
Random number parameters enable you to insert random numbers as values in your test or component. For example, to check how your application handles small and large ticket orders, you can have QuickTest generate a random number and insert it in a number of tickets edit field.
Tuesday, June 24, 2008
How to Search a word in word doc
Dim wrdApp
Dim wrdDoc
Dim tString, tRange
Dim p, startRange, endRange
Dim searchString
'Create the Word Object
Set wrdApp = CreateObject("Word.Application")
Set wrdDoc = wrdApp.Documents.Open("D:\pavan\Word.doc") 'replace the file with your MSDoc
searchString = "pavan" 'replace this with the text you’re searching for
With wrdDoc
For p = 1 To .Paragraphs.Count
startRange = .Paragraphs(p).Range.Start
endRange = .Paragraphs(p).Range.End
Set tRange = .Range(startRange, endRange)
tString = tRange.Text
tRange.Find.Text = searchString
tRange.Find.Execute
If tRange.Find.Found Then
msgbox "Yes! " & searchString & "is present"
End If
Next
.Close ' close the document
End With
wrdApp.Quit 'close the Word application
Set wrdDoc = Nothing
Set wrdApp = Nothing
Regards,
PavanKumar Nandagiri...............
Comparing two excel sheets data
This code will open two excel sheet and compare each sheet cell by cell, if any changes there in cells , it will highlight the cells in red color in the first sheet.
Set objExcel = CreateObject("Excel.Application")
objExcel.Visible = True
Set objWorkbook1= objExcel.Workbooks.Open("D:\pavan\doc1.xls")
Set objWorkbook2= objExcel.Workbooks.Open("D:\pavan\doc2.xls")
Set objWorksheet1= objWorkbook1.Worksheets(1)
Set objWorksheet2= objWorkbook2.Worksheets(1)
For Each cell In objWorksheet1.UsedRange
If cell.Value <> objWorksheet2.Range(cell.Address).Value Then
cell.Interior.ColorIndex = 3 'Highlights in red color if any changes in cells
Else
cell.Interior.ColorIndex = 0
End If
Next
set objExcel=nothing
Regards,
Pavankumar Nandagiri..............
How to get a files from a Folder through VB Scripting
Dim objFolder
' Create the File System Object and get a folder
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objFolder = objFSO.GetFolder("D:\pavan")
' Grab a collection of files
Set colFiles = objFolder.Files
For each objFile in colFiles
'Wscript.Echo
msgbox "Name: " & objFile.Name
Next
Regards,
Pavankumar Nandagiri................
Tuesday, May 20, 2008
Difference between Quality assurance & Quality control
Quality assurance is an activity which establishes & evaluates the process that produce products
QA measures the process to identify the weaknesses & correct those weaknesses to continually improve the process
Quality assurance is a staff function, responsible for implementing the quality policy
defined through the development and continuous improvement of software development
processes.
Staff function: A staff function is a secondary business activity that supports the line functions of a business to achieve the objectives. The nature of this function is advisory. The people belonging to this function investigate, research, and give advice to their line managers.
Quality Control: Quality control is the process by which product quality is compared with applicable standards, and the action taken when nonconformance is detected.
Quality control is a line function, and the work is done within a process to ensure that the work product conforms to standards andrequirements.
Quality control activities focus on identifying defects in the actual products produced. These
activities begin at the start of the software development process with reviews of requirements,
and continue until all application testing is complete.
The following statements help differentiate quality control from quality assurance:
• Quality control relates to a specific product or service.
• Quality control verifies whether specific attribute(s) are in, or are not in, a specific product or service.
• Quality control identifies defects for the primary purpose of correcting defects.
• Quality control is the responsibility of the team/worker.
• Quality control is concerned with a specific product.
• Quality assurance helps establish processes.
• Quality assurance sets up measurement programs to evaluate processes.
• Quality assurance identifies weaknesses in processes and improves them.
• Quality assurance is a management responsibility, frequently performed by a staff
function.
• Quality assurance is concerned with all of the products that will ever be produced by a
process.
• Quality assurance is sometimes called quality control over quality control because it
evaluates whether quality control is working.
• Quality assurance personnel should never perform quality control unless it is to
validate quality control.
Regards,
Pavankumar Nandagiri..............
Monday, April 14, 2008
Best Practices While Testing
1. Prepare comprehensive test plan specifications and test cases for each level of testing. Supplement these with the test data and test logs. Test plans for system testing may involve operators and test plans because acceptance testing involves customers.
2. Design the test cases to test system restrictions, such as file and database size (stress testing).
3. Develop the data to test specific cases. Copies of live files must not be used except for Acceptance testing.
4. Do not use confidential data for testing without written authorization, especially in the case of Acceptance testing.
5. Follow relevant standards.
6. Perform Regression testing on each component of the system. This ensures that no anomalies have crept into the system because of the changes made to the system.
7. Make sure to document and set up the test environment for each level in advance of testing. Test environments specify the preconditions required to perform the tests.
8. Specify the intended test coverage as part of the test plan. Test coverage is the degree to which specific test cases address all specified requirements for a specific system or component.
Regards,
Pavankumar Nandagiri....
Friday, April 11, 2008
Thursday, April 10, 2008
Breadcrumbs
Its purpose is to give users a way to keep track of their location within programs or documents. The term is taken from the trail of breadcrumbs left by Hansel and Gretel in the popular fairytale.
In Websites:
Breadcrumbs typically appear horizontally across the top of a webpage, usually below any title bars or headers. They provide links back to each previous page that the user navigated through in order to get to the current page, for hierarchical structures usually the parent pages of the current one. Breadcrumbs provide a trail for the user to follow back to the starting/entry point of a website. They may look something like this:
Home page → Section page → Subsection page
Regards,
PavanKumar Nandagiri..........
Monday, April 7, 2008
REGRESSION TEST
1.Code Base Regression Test Selection (CBRTS)
2. Specification Based Regression Test Selection (SBRTS)
3. Risk Based Regression Test Selection (RBRTS)
Regression test Folder Structure:
Module Level structure (Just with Modules)
1. Easy to Add
2. Easy to locate in high level
3. Easy to maintain in high level
UC level structure under Module (Existing structure of System Tests)
1.Easy to maintain in functional level / module level
2. Easy to locate in low level
3. Easy to maintain in low level
Regression test selection from System tests:
1.Risk Based Tests from every UC.
2. Test case that covers the primary objective / summary outline of the UC.
3. Test case that covers the priority E2E functionalities from that UC.
4. Integrated E2E test cases from UC level.
Conditions to be followed on Regression Test selection:
1. Selected tests must cover all the major functionalities of the module.
2. No –ve tests in RT.
3. Selected tests must not concentrate on data type / data change / screen design.
4. Selected tests must not get affected on DBCR/UICR.
5. Selected Regression tests must cover most of the UAT cases.
6. Selected tests must cover all the possible High Risk areas in functional flow.
Regards,
Pavankumar Nandagiri........
Tuesday, March 11, 2008
QC Testing Process
QC Plan and Test Strategy: Documents a high level view of the goals, scope, test environment, high level test data, test preparation, roles and responsibilities, etc.
Final QC Report: reports the number of defects found, the QC process ratings, the development actual hours, the QC actual hours, customer feedback and the defects broken down by causal codes.
Regards,
Pavankumar Nandagiri........