Interview Questions, Answers and Tutorials

Blog

common problems with software automation

What are the common problems with software automation? The biggest concern is the cost incurred for test automation. Also, often s/w test automation requires skilled personnel and authentic test automation tools. Purchasing license of such tools is a costly affair.Also the time required for test automation is more. Automation often requires recording the sequence of operations you need to perform in order to execute a particular test case and comparing the final o/p with the expected o/p. Functions/macros need also be written sometimes for some test cases. All this could be a time consuming job. What are the parameters of…

How to read XML file from QTP

I’m going to show how to parse XML file and read its values from QTP (QuickTest Professional).For example, we will use this XML file: This XML file describes a bookstore and books located there.  Note: You can download this XML file here. I will use Microsoft’s XML Parser also known as Microsoft.XMLDOM. This XML parser allows running XPath queries. The loading of XML file in QTP is simple enough: Const XMLDataFile = “C:TestData.xml” Set xmlDoc = CreateObject(“Microsoft.XMLDOM”) xmlDoc.Async = False xmlDoc.Load(XMLDataFile) Several comments on this code: Microsoft.XMLDOM is a name of COM object of Microsoft’s XML parser Async is a property of Microsoft.XMLDOM. The property specifies whether asynchronous download of the document is…

Bugs in LoadRunner

Watch for my logic please: Each program contains errors (bugs). LoadRunner is a program too. So, LoadRunner should contain bugs.Even more! LoadRunner contains bugs. Here is a list of bugs in LoadRunner 9.10 that I noticed.And I would like to ask you to share your experience on LoadRunner too. I’m sure that you faced with such errors. Why do I do that? I know, that some members of LoadRunner development team read this blog. So dear readers, you can report errors and make your favourite (I hope :)) LoadRunner better. Also, there is another reason to post LoadRunner bugs. Since…

QTP VBScript – Are you sure 1+1=2?

QTP VBScript contains different niceties. This article shows that 1 + 1 doesn’t equal 2 sometimes. Exactly, 1 + 1 doesn’t equal 2 sometimes. Well, I’ve prepared this QTP script: n1 = InputBox(“Enter first number”)n2 = InputBox(“Enter second number”)n1increased = n1 + 1 If n1increased = n2 Then    MsgBox n1 & ” + 1 equals “ & n2Else    MsgBox n1 & ” + 1 doesn’t equal “ & n2End If I will explain it step by step and show all entered data and generated result.Read first number from user’s inputI enter 1 as a first number: Read second number from user’s inputI…

Quality Center Multiple Choice Questions-5

41) By default, Quality Center sends e-mail in HTML format. To send e-mail asplain text instead, edit the ……. parameter in the Site Configuration tab in SiteAdministration.A) EMAIL_FORMATB) EMAIL_FORMC) MAIL_FORMATD) QC_MAIL_FORMAT42) You can copy a requirement within the same project or between projects.Which of the below items are copied at the time of copying a requirement.A) Test coverage.B) defect linkage.C) risk-based quality management dataD) All of aboveE) None of above43) You can also move a requirement to a new location in the requirements tree bydragging it..A) TrueB) False44) You can delete a requirement from the Requirements module. Deleting arequirement does…

Quality Center Multiple Choice Questions-4

31) QA Manager changes a requirement from a ……….. status to a Reviewedstatus once it is approved.A) ReleasedB) TestedC) Not reviewedD) None of these32) You can also import requirements to your Quality Center project from MicrosoftWord, Excel, or other third-party requirement management tools. To importrequirements, you must first install the appropriate………A) HP Third Party add-in.B) HP Quality Center add-in.C) HP Quality CenterD) HP Quality Center License33) The Requirements Grid view enables you to display requirements in a…………….view.A) FlatB) HierarchicalC) Flat-hierarchicalD) Flat non-hierarchical34) The …………view enables you to analyze the breakdown of child requirementsaccording to test coverage status.. A) Coverage AnalysisB)…

Quality Center Multiple Choice Questions-3

21) You can view a list of alerts for a ………… entity.A) A test in the test plan tree or Test GridB) A test instance in the Execution GridC) None of aboveD) Both A) & B)22) A red flag indicates that the alert is………A) NewB) OldC) Follow upD) Urgent23) A gray flag indicates that the alert ………..A) NewB) has already been readC) Follow upD) Urgent24) A follow up flag is specific to your user login name. Anyone else viewing therecord does not see your follow up alert.A) TrueB) False 25) Quality Center assigns the image a unique file name with…

QTP Questions Set 2

11) The Information pane provides a list of…………. in the test:A) Semantic errorsB) Syntax errorsC) Common errorsD) Logic errors12) When we switch from Expert view to the Keyword view, QTP automaticallychecks for syntax errors in the test and shows them in the information pane.A) TrueB) False13) If the information pane is not open, QTP automatically opens it in case asyntax error is detected.A) TrueB) False14) ………………… provides a list of the resources that are specified in your test butcannot be found.A) Missing paneB) Missing Resources paneC) Resources paneD) Missing Items pane15) Whenever you open a test or a function library,…

Quality Center Multiple Choice Questions-1

1) Test management with Quality Center involves …. Phases.A) FourB) FiveC) SixD) Seven2) The phases of Test management with Quality Center in order are:A) Specify Releases, Specify Requirements, Plan Tests, Execute Tests, TrackDefectsB) Specify Requirements, Specify Releases, Plan Tests, Execute Tests, TrackDefectsC) Specify Requirements, Plan Tests, Specify Releases, Execute Tests, TrackDefectsD) Specify Releases, Specify Requirements, Plan Tests, Track Defects, ExecuteTests3) By creating a list of authorized users and assigning each user a password anduser group, you control the kinds of additions and modifications each user makesto the project.A) TrueB) False4) The …….determines the privileges that the user has within a…