Skip to main content

Posts

Showing posts from December, 2008

Manual Testing Questions

1. Differentiate between QA and QC? QA: It is process oriented (Quality Assurance) It evolves in entire process of software development. Preventing oriented. QC: It is product oriented (Quality Control) Work to examine the quality of product. Deduction oriented. 2. What is a bug? A computer bug is an error, flaw, mistake, failure, or fault in a computer program that prevents it from working correctly or produces an incorrect result. 3. What is a test case? Test case is set of input values, execution preconditions, expected results and execution Post conditions, developed for a particular objective or test conditions, such as to exercise a particular program path or to verify compliance with a specific requirement. 4. What is the purpose of test plan in your project? Test plan document is prepared by the test lead, it contains the contents like introduction, objectives, test strategy, scope, test items, program modules user procedures, features to be tested features not to tested approa

ISTQB Sample Paper # 2(Foundation Level)

1.Software testing activities should start a. as soon as the code is written b. during the design stage c. when the requirements have been formally documented d. as soon as possible in the development life cycle 2.Faults found by users are due to: a. Poor quality software b. Poor software and poor testing c. bad luck d. insufficient time for testing 3.What is the main reason for testing software before releasing it? a. to show that system will work after release b. to decide when the software is of sufficient quality to release c. to find as many bugs as possible before release d. to give information for a risk based decision about release 4. which of the following statements is not true a. performance testing can be done during unit testing as well as during the testing of whole system b. The acceptance test does not necessarily include a regression test c. Verification activities should not involve testers (reviews, inspections etc) d. Test environments should be as similar to produc

ISTQB Sample Paper # 1 (Foundation Level)

1 When what is visible to end-users is a deviation from the specific or expected behavior, this is called: a) an error b) a fault c) a failure d) a defect e) a mistake 2 Regression testing should be performed: v) every week w) after the software has changed x) as often as possible y) when the environment has changed z) when the project manager says a) v & w are true, x – z are false b) w, x & y are true, v & z are false c) w & y are true, v, x & z are false d) w is true, v, x y and z are false e) all of the above are true 3 IEEE 829 test plan documentation standard contains all of the following except: a) test items b) test deliverables c) test tasks d) test environment e) test specification 4 Testing should be stopped when: a) all the planned tests have been run b) time has run out c) all faults have been fixed correctly d) both a) and c) e) it depends on the risks for the system being tested 5 Order numbers on a stock control system can range between 10000 and 999

Smart Indentification in QTP

Smart Identification in QTP : : QTP has a unique feature by the name Smart Object Identification or recognition which is used for identifying the objects smartly, whenever the normal identification fails due to the dynamic changes in the properties of the objects. Smart identification is a technique in QuickTest Professional. It is used to identify the objects, even though few mandatory properties are changed at run time. Smart Identification is nothing but an algorithm used by the QTP when it is not able to recognize an object. A simple generic example as per the QTP manual would be, A photograph of a 8 year old girl and boy and QTP records identification properties of that girl when she was 8, now when both are 10 years old then QTP would not be able to recognize the girl. But there is something that is still the same that is there is only one girl in the photograph. So a kind of PI - Programmed intelligence is needed instead of AI. Note:- - Smart Identification is not Artific

Web Based Functions -III

Sub CloseBrowser(sBrowserName,sOption,sOR) If sOR = "OR" then if sOption = 1 then if Browser(sBrowserName).Exist then Browser(sBrowserName).Close Call GenerateTestStatus(iTestNo, FCR_DONE, "Close Browser", "Browser '" & CStr(sBrowserName) & "' has been closed successfully.") End if Else ' Write for Closing all Browser End if Else if sOption = 1 then if Browser("name:="&sBrowserName).Exist then Browser("name:="&sBrowserName).Close Call GenerateTestStatus(iTestNo, FCR_DONE, "Close Browser", "Browser '" & CStr(sBrowserName) & "' has been closed successfully.") End if Else ' Write for Closing all Browser End if End if End Sub Function FrameDate(sDate,sDelim) 'Help 'sDate : Should be in Format "29 May,2007" for Delim as "," 'sDate : Should be in Format "5/29/2007" for Delim as "/"