For QTP Information & Scripts visit: www.gcreddy.
1. What are the Features & Benefits of Quick Test pro (QTP)..? Operates stand-alone, or integrated into Mercury Business process Testing and Mercury Quality C enter. Introduces next-generation “Zero-configuration” Keyboard Driven testing technologies in Quick Test Professional 8.0 – allowing for fast test creation, easier. 2. Differences between QTP 6.5 and 8.2 what are extra features in 8.2? Multimedia Add-in is available in QTP 6.5. Multimedia Add-in is not available in QTP 8.2. Parameterization is the extra Features in QTP 8.2. compared to QTP 6.5. 3. How to handle the exceptions using recovery scenario manager in QTP? There are 4 trigger events during which a recovery scenario should be activated. They are A pop up window appears in an opened application during the test run. A property of an object changes its state or value. 4.What is the use if Text output value in QTP? Output values enable to view the values that the application takes during run time. When parameterized, the values change for each iteration. Thus by creating output values, we van capture the values an object in runtime. 5. How to use the object spy in QTP 8.0? To view the Run time objects and Test objects properties and object. 6. What is the extension of the object repository files in QTP? Two types of Object repository there are shared repository (extension .tsr) and Action repository(extension .mtr) 7. Explain the concept of object repository & how to QTP recognizes objects? With QTP 8.2, there available QTP plus, setup. It provides Repositories Merge Utility. The Object Repository Merge Utility enables user to merge Object repository files into a single Object repository file. To recognizes a object using properties. 8. What are the properties you would use for identifying a browse & page when using descriptive programming? For Browser we will have to user title, html id property to identify the browser and web page. Methods of an
For Software Testing Information visit: www.gcreddy.net
For QTP Information & Scripts visit: www.gcreddy.com
9. What are the scripting language you could use when working with QTP? QTP supports vb scripts scripting language. 10. Give me an example where you have used a COM interface In your QTP project? Com interface appears In the scenerio of front end and backend foreign in you are using oracle as back end and front end as VB or any language then for better compatibility we will go for an interface of which COM will be one amoung those interfaces. 11. Few basic questions on commonly used Excel VBA functions. Common functions are: Creatinf a sheets and assigning values to sheets and coloring the cell Auto fit cell setting navigation from link in one cell to other saving. 12. Explain the keyboard create object with an example. Create object: Creates and returns a reference to an Dynamic object. Example: Ser Excel sheet = Create Object(“Excel.Sheet”) 13. Explain in brief about the QTP Automation Object Model. To pre-configure test settings before executing the QTP test.
14. How to handle Dynamic Object in QTP? User GETRO property we will handle the runtime objects. 15. Where can I find the Run-time data table? In the result window shows a run time data table. It includes the table-shaped icon that display the run-time Data Table – a table that shows the values used to run a test containing Data Table parameters or the Data Table output values retrieved from a test while application execution time.
For Software Testing Information visit: www.gcreddy.net
For QTP Information & Scripts visit: www.gcreddy.com
16. How to do Data-Driving in QTP? By parameterizing the test script. 17. What are the differences between call to Action and Copy Action? When you inset a call to action, they are ready only in the calling test. It can be modified in the original test. Where as come to copy action, you can make changes to the copied action, your changes will not effect the original action where it created. 18. Discuss QTP Environment. QuickTestProficinal environment using the graphical interface and Action Screen technologies – A testing process for creating test scripts, relating manual test requirements to automated verification features – Data driving to use several sets of data using. 19. Explain the concept of how QTP identifies object. During tecording QTP looks at the objects and stories it as test objects. For each object QT earns a set of default properties called mandatory properties, and look at the rest of the objects to check whether this properties are enough to uniquely identify. 20. Differentiate the two Object Repository Types of QTP. In QTP there are 2 object repositories, they are 1.Shared Object Repository 2. Per Action Mode, by default it’s per action mode. We want to maintain the Object Repository per each action separately. Select a per action mode. 21. What are the differences are and best practical application of each. Per action: For Each Action, one Object Repository is created. Shared: One Object Repository is used by entire application. 22. Explain what the differences between Shared Repository and Per_Action Repository. In shared repository, one object is used in more than one action and in per action repository, everytime in every, objects are stored differently and are not shared.
For Software Testing Information visit: www.gcreddy.net
Triggered Events 2. Post Recovery Test-Run. The result shown for last action only. What are the differences between check point output value. What projects have you used WinRunner on? Tell me about some of the challenges that arose and how you handled them. If we use batch testing. Descriptive programming is the answer to this question. Have you ever written a complied module? If yes tell me about some of the functions that you wrote. 28. 25. Can you do more than just capture and playback? Yes you can do more than work fine. Function used for Capturing Desktop. Is there any inbuilt function in QTP? Yes. An output value is a value retrieved during the run session and entered into runtime table or data table subsequently it can be used as input value in your test.com
23. browser and pages. 26. we use GUI SPY for that to handle such situation. Recovery scenerio has three steps 1. 24. How do you test siebel application using QTP? In SWE section you need to add Automation Enable = True and at the same time you need to use SWE Cmd = Auto On in the URL. I used the functions for capturing the dynamic data during runtime. 27. 30. which will generate the scripts as you enter the appropriate steps. In that how can I get result for every action? Click in the Expend icon in the tree view to view the result of every action. We can write scripts without recording and it would still
For Software Testing Information visit: www. WR fails to identify the objects in GUI. there’s an in-built functionality called “step Generator” in Insert>Step>step Generator – F7. How to do the scripting. How the exception handling can be done using QTP? Recovery scenerio manager provides a wizard that guides you though the defining recovery scenerio. 31. Recovery steps 3.gcreddy.net
. capture/playback. How long have you used the product? Depending up on the Licence.gcreddy. 29.For QTP Information & Scripts visit: www. If there is a non STD window OBK WR cannot recognize it.
Add the properties. 36.net
. Check out with the following example: Dim a Set a = Wscript. Which imports a tabbed text file or a single sheet from an existing Microsoft Excel file into the table? The sheet you Import replace all data in the currently selected. The file extension of Shared object repository. 1). 33. How can we do the Frame work in QTP? Depending upon the project and client requirements. 34.com
32.CreateObject(“Wscript. 39. 37.run “notepad. explain as to how would you design the driver code for a keyboard based test script. low level recording mode. Test script prepare in QTP. Re-usable Actions 3).gcreddy. The Share object repository is .For QTP Information & Scripts visit: www. Key words prepare in a Excel sheet and objects description prepare in notepad.normal 2. How to handle java tree in QTP? First of all we need to handle a java add-in to handle a java tree. how many types of recording modes in QTP? Describe each type with an example where we use them? 3 types of recording modes in QTP. There we have the java option to recognize the objects there select the tree option.
For Software Testing Information visit: www.exe”.1.shell”) a. Non Reusable actions 2). 38. I want to open a Notepad window without recording a test and I do not want to use System Util.analog mode 3. External actions. Run command as well how do I do this? Another alternative to open a notepad is to use Shell Object. How do you data drive an external spreadsheet? Import from External Spreadsheet File by selecting Import then From File. In tools we have the “object identification” drop down list.tsr extension. 40. Testing>QTP which features of QTP would you like to improve? How would you go about implementing it? We are not implementing any concept in QTP. How many types of Actions are there in QTP? QTP supports three types of Actions.gcreddy. 35.
41. 47. How to load the *. How can you write a script without using a GUI in QTP? Object repository? Without OR. How can we handle it.gcreddy. Yes. Using a repository merge tool. 51. What is the procedure to test flash application using QTP? Using Multimedia Add-ins Support. The syntax is… >CreateObject(“Adodb. How you write scripts in QTP? Using vbscript. How to fetch test data from Database by using QTP? In order to fetch test data from Database we have to create a adodb connection object to connect with data base. 44. 45.vbs or test generating script in a new machine? By using Test->setting->resources->libraries option. We can update. Can we update the database though QTP. How can we pass parameters in a actions? Using Input and output parameters. 46. 50.
For Software Testing Information visit: www. It is available with QTplus tool.connection”) . How will you test a stapler? Using user acceptance test.For QTP Information & Scripts visit: www. where you would directly assign property values and write methods. 53. 42. How to merge the object repository files. 43. tester need to write descriptive tests. 48. 49. 54. What is the descriptive programming? What is the use of descriptive programming? Test Execution faster. How to instruct QTP to display errors and there description in the test results instead of halting execution by throwing error in the mid of execution due to an error (for example Object not found)? By using err object this object value passes to result window.gcreddy. If a error occur during the execution of QTP script. What is descriptive programming? Executing the test script with out object repository.net
. Using Recovery Scenerio manager. How did you add run-time parameter to a datasheet? Using dt sheet object.
which one would. Sometimes even the severity is low. We don’t fix bugs. We can convert Cutom Objects into standard Objects. In what occasion we can specify Global sheet and Action Sheet? We store data in the Global tab when we want it to be available to all actions in our test.Describe the last project scenario and generate test cases for it? Based on the last project functionality we write test cases for it. 56. Its supported by using test batch runner. 59. What would be strategy to fix bugs in an unknown piece of code? R&D works means basically we can stay it is a verification process. In this kind of Situations Using New Virtual Object. Define Virtual Object? Virtual Object enable you to record and run tests on objects that are not normally recognized by Quick Test. 58.com
For Software Testing Information visit: www. to pass parameters from one action to another. It is supported for all environments. As a tester. If there are a lot of bugs to be fixed.net
. (The Debug Viewer pane is not displayed when you open 103) 61.gcreddy. or Web page. We can teach Quick Test to recognize any area of your application as an object by defining it as a virtual object.. 60.gcreddy. and Command tabs. you resolve first. we only find bugs As a developer. 57.Difference between Text and Test Area Checkpoints? Text Checkpoint-Enables you to check that the text is displayed in a screen. The Debug Viewer pane contains the Watch Expressions. QTP supports Batch test? Yes. Bugs are to be fixed basing on the property and severity of bugs. Variables. What are Main panes available in QTP Test Browser? Test pane-Contains the Tree View and Expert view tabs Test Details Plan-Contains the Action screen Debug Viewer pane-Assists you in debugging your test. then priority will be more to fix that bug.For QTP Information & Scripts visit: www.. Some times QTP may not recognize some objects. window. according to specified criteria. for example. 62.. But if attaches to major functionality.. Before you implementing some logic into your function you have to review those to find is there any errors which can be cleared by going through that piece of logic we are going.
2. Click next and give the scenario name and description. How many tabs are available to view your test in a Test pane and what are they? Two these are Tree & Expert. Visual Basic. 8. 9. Test Run error exceptions 4). 7.com
Teat Area Checkpoint. Application Crash exceptions. With what extension you can save the list of tests in a file to run in Test Batch Runner? . 1. What are the 3 mains stages involved in Testing with QTP? Creating Tests. 6. Running Tests. 67. Click next and select proceed next step.For QTP Information & Scripts visit: www. Test result details. Test Details pane (Active Screen). 10. Date table. Test result tree. 69. Press the new scenario 3. 65. Select the pop-window which we want to handle (capture) by clicking the spy button. Click finish Afterward save that scenario. Pop-up exception 2). 64. Select the Recovery scenario manager.
For Software Testing Information visit: www.gcreddy.net
. Analyzing Tests. Click next and uncheck add another recovery operation. there are commonly _ used hot keys. Select the specified option like keyboard or mouse operation press next. 63. However. The specific task performed by a particular hot key varies by operating system or application. Select the pop-up exception. and A environments. according to specified criteria. Write a Function to capture the Pop-up’s? Here I am writing steps to handle pop-up Exceptions. What are Main panes available in QTP Test Browser? Test pane (Tree & Expert). It is supported for standard windows. 68.Enables you to check that a text string appears within a defined area in a W application. 12. What are the key elements available in Test Results Window? Test Results File bar. Object State exception 3).MTB 66. What is meant by hot keys? A hot keys or a combination of keys on a computer keyboard when pressed performs a task. Click next 4. What ate different types of exceptions ? Four types of Exceptions are there 1). Click next and select add scenario to current test and add scenario to default setting. 70. 5. Test Results bar. 11. Press next. Status. Debug viewer pane.gcreddy. Select the specified option click default or press enter.
According to that the entire group will do their testing.com
71.gcreddy. Regression testing is the renewed testing of already tested program or part after modification with the aim that the modified had. Without using GUI map editor? We can recognize the application in WinRunner? Without Using GUI map Editor.gcreddy. What test you perform mostly? Regression or retesting in your testing process? Retesting is the repeated execution of the test case which results in a fault. For a triangle (sum of two sides is greater than or equal to the third side). 78.net
. How does you test a web link which is changing dynamically? This could be tested through the automated test tools like rational robot and WinRunner. Functionality.For QTP Information & Scripts visit: www. 75. Minimum number of test=(number of outputs) multiply (1. and performance testing comes under system testing. What are the flaws in water fall model and how to overcome it? Since testing comes at the last stage. usually will do testing. Regression. with the aim that fault has been cured. 76. We can Recognize the Application objects using a Descriptive programming. what is the minimal number of test cases required.6) (approx calculation) 72. 73. we will calculate the number of test cases that depends on the particular module and its complexity. How do we know about the build we are going to test? Where do you see this? In test plat we are going to have all the details about who should test which tests in a team which is given by team leader.What is system testing and what are the different types of tests you perform in system testing? System testing is a type of Block box testing means testing the application. Generally. What did u as a team leader? The roles of a lead 1) before the project gets started. will conduct one team meeting and discuss briefly about the upcoming project. After the integration testing. 74. 2) will distribute the work among the team member and let them know which part of the application they are going to test3) 77. there are huge chances of defect multiplication.
For Software Testing Information visit: www. defects will be migrated to every stage wastage of human resources and time delays are also introduced.
The default behavior of the Action sheet is 1st iteration no matter how many rows are available. How to pass parameters from one action to another action. The default behavior of the global sheet is that the test iterates for all the rows in the Global sheet. You can store the variable you want to pass as Environment Variable in One action and then if you need to access the same variable in another action first you have to call that environment variable in second action.net 10
. to make the test object property values match the property values run time object. How to perform cross platform testing and cross browser testing using QTP? Explain giving some example? Cross Platform Testing: There is a provision of getting the Operating system in QTP by using the Built in Environment. Browser ("Core Values"). Cross Browser Testing: First get the type of browser you are using: Eg. What is difference between global sheet and action sheet? A Test is comprised of 1 or more actions. The Global sheet can be accessed by all the Actions in the Test. we can modify test object properties manually while design the test or component or using 'SET TO PROPERTY" Statements during run session. store it in some variable and use it.GetROProperty("version") This will give you Internet explorer 6 or Netscape 5. Then based on the Platform you need to call the actions.com
QTP (b) 1). which are relevant to that browser. This default behavior can be modified by right clicking on the action and modifying the action's properties. 4). Based on this value you call the actions. An action sheet is local to the particular action.gcreddy. 3).gcreddy.. which you recorded on that particular platform.. How to create the dynamic object repository in QTP? Property values of objects of applications may change dynamically each time your application opens.the test iterates for 10 times.For QTP Information & Scripts visit: www. If there are 10 rows of data in the global sheet. The action sheet is named after the name of the action. or based on certain conditions... Platform = Environment ("OS"). 2). Eg.
For Software Testing Information visit: www.
Login We can record the script for one action and set in the action Properties as Reusable.gcreddy. We can Â add . It's recommended to use QTP tool for more reliability. J2EE. Whenever you need Login script you can call that Reusable Action. HTTP. But at the same time we don’t find any problem in using the QTP to test the java based web application These are some of the web application supported by QTP: XML.vbs files in QTP. WSDL.For QTP Information & Scripts visit: www.gcreddy. Ex: .net 11
. click the Step Into button. 8). 9). I've heard that a java web application can be tested by WinRunner but is not flexible. test menu->setting->Resource Tab. 7).com
5). use that function.vbs file in QTP if it's open then you only get your questions answer. By setting this then only you are going reuse some other action.net So what i would suggest is to go for QTP to test the Java based we application. Otherwise you cannot call that action. Is there any function to double click a particular row in a web table? There will be a function by the name activate. You also try to open . Is it possible to test a web application (java) with WinRunner? Otherwise is it possible to check with QTP? Which one is best? We find some difficulties. What conditions we go for Reusable Scripts and how we create and call that into another script? When we are going to call the action to another actions we are going to set the calling action as reusable. required argument is the row number. SAP. .vbs file so that it is not viewable to others? VBS file is visible in notepad only not in QTP. or press F11 to run
For Software Testing Information visit: www. What is the use of command tab in Debug viewer? Can we execute any user-defined queries? Step Into Choose Debug > Step Into. when we use WinRunner to test with the Java based web application. Can we mask a Code In . 6).
We can use function wherever we need it. What is the use of function and sub function in QTP? Function and Sub Function are similar. : flight reservation : if you right click on the information table of flight and say add database check point you would get check point properties . or press F10 to Run only the current step in the active test or component. If the current line of the active test or component calls another action or a function. 11). if you want to add parameterization click on the icon in the value cell and add parameters. e.). the called action/function is displayed in the Quick Test window. Step Out runs to the end of the called action or user-defined function. Only the difference is Sub Function will not return any thing to the function.For QTP Information & Scripts visit: www. Check point is added. 10. We can do parameterization and also reducing the lines of code.there select the data base icon which looks like excel sheet and click ok. When the current Step calls another action or a user-defined function. etc. and the test or Component pauses at the first line of the called action/function..g.What is database checkpoint? Database check helps to check database used is correct or not... Step Over Choose Debug > Step Over or click the Step Over button.gcreddy.com
only the current line of the active test or component. then Returns to the calling action and pauses the run session.
For Software Testing Information visit: www. but the called action script is not Displayed in the Quick Test window. add the places you want to check and run the test. the called action or Function is executed in its entirety. Step Out Choose Debug > Step Out or click the Step Out button. means dbcheck point is correct. data table will be highlighted.. if successful. But using Function it returns result to the function. or press SHIFT+F11 Only after using Step Into to enter a action or a user-defined function.net 12
16).NOW MOST OF THE COMPANIES ARE WORKING ON QTP 8. How to call a function present in dll file in QTP Script.3 Msgbox objRecordset.0 BETA VERSION IS IN MARKET. 13). select "New Run Results folder" option from the Run dialog box and select the path to save the result file.gcreddy. So that. 17) How to get the column count and column name from result set in database connection program? I am giving examples so that u can under sand easily. I have n iterations of test run in QTP.net 13
.For QTP Information & Scripts visit: www. 15). 1).com
12). Execute File "Path of the . Go to insert ->select Call to Existing Action Select which action wants to call. dbconn. I want to see the results of not only the latest (‘n’th) iteration but also all the previous iterations (1to ‘[n1]’th) While Executing the QTP script.recordcount
For Software Testing Information visit: www. 1.gcreddy. How to call from one action to another action in QTP? Using "Call to Existing Action" we can call one action from another action.connection") dbconn. we can verify previous iterations results also.vbs file " 14). Example for record count Set dbconn=create object ("adodb.Recordset") objRecordset. It goes by the screen area.2 VERSION. But for image checkpoint we need to have an image. What is the Difference Between Bit map Check point & Image Check point Please explain in detail For Bit map Check point we need not have any image. What is the new Version of QTP which is recently released in the Market? CURRENTLY QTP 9.open "select * from login table".open "dsn=xxx" Set objRecordset=create object ("ADODB.
First we have install Terminal Emulator add-in.com
2). Use text checkpoint when the position of text is critical. combo box etc. This will contain many objects like chkbox.name) Next 18) How to identify a 'web element' class object while recording and running in 'Event' mode of settings.net 14
. It will contain an alert message and OK or/and Cancel buttons. Difference is that if u wants to validate that a particular string has to come within a defined area then use text area checkpoint.. u will use text area checkpoint to validate that name appears within the text box. Remove all other
19) What are the new features available in QTP 8. but these objects will be identified depends the X. I’m able to run either a mouse over operation or an event but not both as per the requirement. Then try to identify the objects. The objects will be added to the object Repository. Y co-ordinates of the objects.For QTP Information & Scripts visit: www.
For Software Testing Information visit: www. 21) How do you retrieve the Class name of a Test Object programmatically from within a script? Using GetROProperty () function 22) Testing Mainframe applications. 23) Difference Between text and Text area checkpoints in QTP Text checkpoint both can check the whole string which u can do by using standard checkpoint. Add html tag and inner text properties to the web element. properties to that object in object repository. u will use text checkpoint in this example to see that surname appears first(assuming some format specified wherein surname should be first). For field names For each x in objRecordset. Developers to validate a field use dialog box..2 compared with earlier versions? Setting parameters to the actions step->action properties->parameters tab here we can set the input and output parameters.gcreddy. Assume u have a text box in one screen that displays the name entered in previous screen.gcreddy.fields Msgbox (x. 20) What is difference between window (" ") and dialog (" ") in QTP while creating script? Window is a separate window that appears on clicking on a particular link on which we can perform actions like edit the content etc. edit box.
Value=Variable Excelsheet. Using this defines Adodb. 3. a) Win Object b) Windows 26) How to write QTP test results to an Excel application Set Excel sheet=Create Object (Excel.xls" In addition to the creation of the excel object. It is not saving I want to write recovery scenario how? To write Recovery scenario u must 1st stop recording when u get an error then from Tools menu-> select Recover Scenario Manager When Recover Scenario Manager window is opened u can follow the steps as they r descriptive & select the appropriate option for the type of error u receive.gcreddy.xls driver. There is 3-execution mode in QTP they are 1.Visible=True Excelsheet. you can use the ADO concept as well as the inbuilt data export function of QTP.xls”.Cells (1..the default mode where expected & actual results are verified & output is given.For QTP Information & Scripts visit: www. In this mode every object is identified as under only 2 classes.1).When u want to update the expected result then update mode is used.Activesheet. 1) ADO: In this.Updte concept similar in VB 2) DataTable. Normal .Connection and Record set for the required excel which you want to update.
For Software Testing Information visit: www. Debug. you have to create one DSN through ODBC for the Microsoft Excel *. sheet) Excelsheet. Then simply you can update any column using Recordset. 1 27) How to write recovery scenario for below questions and what are the steps we will follow? If I click save button.gcreddy.Saveas"C: C.ExportSheet "C: name. 25) How can we recognize objects in Flex application using QTP? If you are recording in the low level mode.this requires Microsoft debugger.net 15
24) What are different execution modes available in QTP & explain them. 2. Update . u have to select what action is to be performed if this particular error occurs after completing the entire procedure u need to save the scenario as well as the file.
gcreddy. UID=" & strUserID & ".open strConnectionString set Open Connection = con End Function 31) How to configure the environment variables in QTP and how to use the variables. To give unique identification for the object.getrowcount command will read up to the last record 29) How to test Dynamic web pages using QTP If you know the one property of the object. PWD=" & strPassword set con = create object ("adodb.net 16
. strPassword ' strDriver => Name of Database Driver to be used ' strServer => Database Server address ' strUserID => User ID to connect to database ' strPassword => Password to connect to database 'Return Value: con => Object: Connection to database ' NULL if it fails 'Calls: None [Calls no other user defined function] '--------------------------------------------------------------------------------------Function Open Connection(byval strDriver. 28) After importing external ..byval strUserID. How to set NO of iterations run for all row in the Data table? I mean we dot know How many rows are existed before importing the .byval strServer. strServer. Or we need to go for the descriptive programming. at that time we need to use object identifier to identikit object we need to add some more properties of the object. Value ("XXXXXXX")
For Software Testing Information visit: www.byval strPassword) Dim strConnectionString strConnectionString = "DRIVER=" & strDriver & ". if u know the one object property. Thus u can use Recovery scenario to handle exceptions. SERVER=" & strServer & ". Getrowcount.gcreddy. it bypass the object repository 30) How do we connect to Oracle database from QTP? Name: Open Connection 'Function: Opens a connection to the required database 'Input Parameter: strDriver. That is sufficient for the QTP to identify the object.connection") con.com
Then thru Test-> Setting-> Recovery option attach the file to the recording & u do have a choice of whether to activate on every step or etc etc.For QTP Information & Scripts visit: www.getsheet ("sheet name").xls sheet FOR i = 1 to datatable.xls datasheet into Data table of QTP. with example? Setting the Environment Variable VARIABLE=Environment.. strUserID.
Retrieving the Environment Variable Environment. Bottom...net 17
. Left. [MatchWholeWordOnly]) Object.. Depending upon these factors u decide the 'Framework'. Data. Getroproperty: retrieves the particular property.gcreddy.. This help to insert checkpoints and for doing DDT for that objects
35) Can any body explain me the differences between a reusable and a external action with example?
Reusable action: An action that can be called multiple times by the test with which it is stored (the local test) as well as by other tests. for this i will check the focus was there or not by using GetRoproperty method but if focus is not there which method i need to use. Keyword Driven to name few.
For Software Testing Information visit: www. Framework is nothing but the approach by which u implement QTP to your project. I need the script. [MatchWholeWordOnly] 34) 1) what is the advantage and disadvantage of using Virtual Object wizard? 2) How efficiently we can use Virtual object Wizard in QTP? Virtual object Wizard we can map Custom Objects (objects which are not recognized by QTP) to Standard Class. In flight application login page by default the focus is on username field. Right. Value ("XXXXXXX")=VARIABLE/CONSTANT 32) What is the process for creating an automated test script using QTP assuming you have reviewed the manual test case and understand the requirements? Transferring your testing from Manual to Automation depends upon lot of factors. Right. to focus to the perticulat text we can use this method: Object. Left. External action: A reusable action stored in another test. Top.. Library.. Getroproperty: set the property to particular object. I will give example. GetTextLocation (TextToFind.. Top.. 33) What is the method used to focus on particular field.For QTP Information & Scripts visit: www. Bottom.gcreddy. GetTextLocation (TextToFind... There is various type of framework available..
Pages. VB Script Keyword view: Displays the action performed during recording in terms of objects.FileSystemObject") Set f1 = fso.For QTP Information & Scripts visit: www.gcreddy.writeline("Step1 Login details is pass") else f1.
For Software Testing Information visit: www. Page("xyz").com
36) How to write QTP test results to an Excel application? Dim fso.Exist Then f1.xls". 38) The concept of checkpoint declaration in the QTP mainly for the Objects. suppose Mona appeared in that field then checkpoint fails to validate and you get result as test case failed for that checkpoint. and should know where test case goes wrong. In Standard checkpoint one can set height/width/location of X-y co-ordinates of object /text etc. Suppose For Standard checkpoint I have given Text for username should be Lena’s if any other text appears in that field. f1 Set fso = Create Object ("Scripting.. 39) What is Expert view in QTP? Can you explain with example? n QTP we have two script views: • • Expert view Keyword view
Expert View: Displays the action performed during recording in script view..e. Basically insertion of checkpoint to get expected output.gcreddy. which supports SIEBEL Application. True) And Then use If condition's To store the results If Browser ("abc"). Text and Tables? Check point declaration is basically compare two values and give the result. CreateTextFile ("D:\testfile.writeline("Step1 Login details is Fail") End If
37) How good is QTP for testing siebel applications? Whether QTP recognizes siebel objects? QTP supports siebel Application.net 18
. i. It is the best Automated tool.
40) What is the best way to do regression testing using QTP? Regression testing is not tool dependent.For QTP Information & Scripts visit: www.net 19
. private Public: In any testing tool not only the QTP if we declare as a Public then we can use that variable to any function within the script Private: we can use that variable within the function 42) How can we return values from user-defined function? provide code with small example . Commas separate multiple variables. ' Value not found. Private Indicates that the Function procedure is accessible only to other procedures in the script where it is declared or if the function is a member of a class. An error occurs if more than one Default procedure is specified in a class. assign the return value to the function name. Note: So. For Eg: Function Binary Search (. . follows standard variable naming conventions. Return a value of False. and that the Function procedure is accessible only to other procedures in that class. Expression Return value of the Function. Firstly there should a regression test strategy. Arglist List of variables representing arguments that are passed to the Function procedure when it is called. a) Arguments Public Indicates that the Function procedure is accessible to all other procedures in all scripts. Name Name of the Function.. Then these test suites are automated based on regression group 41) What are the use functions in QTP? Public. based on this strategy you can group functional test cases to form regression test suites. If lower > upper Then
For Software Testing Information visit: www. to return a value.gcreddy.) .gcreddy. .. Default Used only with the Public keyword in a Class block to indicate that the Function procedure is the default method for the class. Statements Any group of statements to be executed within the body of the Function procedure.
For QTP Information & Scripts visit: www. which are not there in Object Repository. must be able to program in VBScript in order to implement the real advance testing tasks and to handle dynamic situations. 3) Block commenting is not provided till 8. variables. If we use descriptive program we can reduce the size of object repository. about the OR path. We can do that by using Descriptive Programming. End Function 43) Without recording objects in Object Repository are we able to run scripts? Yes. data for DDT. how do you ensure that these two browsers do not clash? TestDirector is management tool.. 46) What are the disadvantages or drawbacks in QTP? 1) QTP takes very long to open huge tests. While the TD itself runs on a browser.gcreddy.net 20
. It contains information regarding naming conventions. 2) QTP scripts are heavy as it stores all the html files (for active screen) as well. 45) What is descriptive programming? Descriptive program we can work with the objects.gcreddy. Also CPU utilization becomes 100% in that case. 44) What is Limitation of QTP? must know VBScript in order to program at all. So before we open application (whatever may be the application like web based or stand alone application) we should open TD so there is no clash between TD and web based application.com
Binary Search = False Exit Function End If .2 version
47) What is QTP framework? When we prepare the data for data driven testing? QTP framework is like Test Plan for automation using QTP... 48) You are trying to test a web-based application. how the scripts should be commented and what is the purpose of each script etc. 49) What are environment variables in qtp? The Environmental Variables in QTP are 1) User-Defined 2) Built-in
For Software Testing Information visit: www. so QTP performance also increases. it would be used to invoke QTP or WinRunner scripts one after another. You invoked QTP from TD to test the web application.
Data-driven scripts: In Data-driven testing.e.. user is adding page title.For QTP Information & Scripts visit: www.In QTP we have four types of exception handles.Resources. Reusable 2. parameter2.gcreddy.Test. user is giving set number of values and replace these columns name with the declared one in the data driven database. When scripts are running. Set qApp = CreateObject ("QuickTest. from Shared to Per Action.net 21
.gcreddy..Application") qApp. we can call the function as below function functionname (parameter1.these objects will be verify with the scripts. user can defined screen objects.. What is the different between data driven and keyword driven testing? Keyword Driven: In the Keyword Driven testing.Settings.. 51) How many number of actions possible in QTP? There are 3 types of actions available in QTP 1. label name.com
50) What is keyword driven testing please give process one example.) end function
For Software Testing Information visit: www. Extern Action 52) How to change the Object Repository Mode using CODE? i. Suppose.non-reuseable 3..ObjectRepositorytype = "Per Action" Set qApp = Nothing 53) How can I implement error handling in QTP and How to recall a function in QTP? Through exception handling we can implement error handle..
without programming. 4. descriptive properties. The references to objects in the script will all be identified by the logical name. Java/J2EE. rather than any physical.gcreddy. You can then enter test data into the Data Table. PeopleSoft. To which environments does QTP supports? A). Advanced testers can view and edit their tests in the Expert View. to expand test case coverage. check) and any parameters for that method (such as the value for a call to the set method). What is QTP? A). the test data used. SAP.gcreddy. . Data can be typed in or imported from databases. etc) that uniquely identify each object. QuickTest is a graphical interface record-playback automation tool. Quick Test will add an entry for each item you interact with.For QTP Information & Scripts visit: www. What is keyboard view and Expert view in QTP? A). In addition to these environments. or text files. QuickTest’s keyword Driven approach. QTP also enables you to test java applets and applications and multimedia objects on Applications as well as standard windows applications. including Windows. click. Any changes made in the Expert View are automatically synchronized with the keyword View. spreadsheets. tet automation experts have full access to the underlying test and object properties. 3. and detailed explanations of each checkpoint pass and failure. Each object Repository entry will be identified by a logical name (determined automatically by Quick Test). Each line in the Quick Test script will contain a reference to the object that you interacted with. Visual Basic 6 applications and . and will contain a set of properties (type.net 22
. java or windows client application. By combining Test Fusion reports with QTP. a Test Fusion report displays all aspects of the test run a high-level results overview.Net. It is a able to work with any web. As you record your test. How Does Run time data (parameterization) is handle in QTP? A). 5. 2. QTP supports functional testing of all enterprise environments. an integrated spreadsheet with the full functionality or Excel. Siebel. to manipulate data sets and cteate multiple test iterations.NET framework applications… 6. How QTP recognizes Objects in AUT? A).
For Software Testing Information visit: www. name. application screen shots for every step that highlight any discrepancies. Mainframe terminal emulators. ActiveX. via an integrated scripting and debugging environment that is round-trip synchronized with the keyword view. and Web services.com
QTP (c) 1. a call to the appropriate method (set. which reveals the underlying industry-standard VBScript that QTP aucomatically generates. QuickTest stores the definitions for applications objects in a file called the Object Repository. Quick Test enables you to test standard web objects and ActiveX controls. Once a tester has run a test. Web. an expandable Tree View of the test specifying exactly where application failures occurred. Explain about the test Fusion Report of QTP? A). Oracle. Visual Basic. you can share reports across an entire QA and development team.
gcreddy. choosing.What is parameterizing Tests? A). In how many ways we can add check points to an application using QTP? A). 10. An object checkpoint(Standard) checks the values of an object on a Application. We can add checkpoints while recording the application or we can add after recording is completed using Active screen (Note: To perform the second one The Active screen must be enabled while recording). A checkpoint verifies that expected information is displayed in a Application while the test is running. An Accessibility checkpoint checks the web page for Section 508 compliance. You can add eight types of checkpoints to your test for standard web objects using QTP. “Window1” and then while running its “Window2” in this case how does QTP handles? QTP handles those situations “Regular Expressions” . 6. What are the types of Object Repositories in QTP? A). suppose you want to check how your application responds to ten separate sets of data. your changes do not have any effect on other actions. When you test application. 8. For example. A table checkpoint checks information within a table on a Application. 1. 4. A database checkpoint checks the contents of databases accessed by your. You can choose which type of object repository you want to use as the default type for new tests. An image checkpoint checks the values of an image on a Application. Alternatively. 8. 3. Explain the Check points in QTP? A). An XML checkpoint checks the contents of individual XML data files or XML documents that are part of your web application. If an application names is changes frequently i. you can
For Software Testing Information visit: www.
. QuickTest has two types of object repositories for storing object information: shared object repositories and action object repositories. However. each with its own set of data. A page checkpoint checks the characteristics of Application 2. Therefore. A text checkpoint checks that a text strings is displayed in the appropriate place on a Application. In this mode. 12. or modifying object repository files. 7. You could record ten separate tests.e while recording it
has name A). 9.For QTP Information & Scripts visit: www. and you can change the default as necessary for each new test. The object repository per-action mode is the default setting. QTP identifies the object in the application by Logical Name and Class. Quick Test automatically creates an object repository file for each action in your test so that you can create and run tests without creating. if the same test object exists in more than one action and you modify an object’s property values in one action. A).com
7. if you do modify values in an action object repository. 5. you may want to check how it performs the same operations with multipie sets of data. For example: The Edit box is identified by Logical Name: PSOPTIONS_TIME20 Class: Web Edit.How does QTP identifies the object in the application.gcreddy. you may need to make the same change in every action (and any test) containing the object.
For Example. You can also choose to save only the selected area of the object with your test or component in order to save disk space For example. Identifies the Quick Test test object class that represents the object on which you performed the operation and creates the appropriate test object Reads the current value of the object’s properties in your application and stories the list of properties and values with the test object. You can record the new map
For Software Testing Information visit: www. Using the Object Spy.What is the Difference between Image check-point and Bitmap checkpoint? A).page(“Mercury Interactive”) .For QTP Information & Scripts visit: www. The object model is a large set of object types or classes that Quick Tests uses to represent the objects in your application. A test object is an object that Quick Test creates in the test or component to represent the actual object in your application Quick Test stores information about the object that will help it identify and check the object during the run session. A run-time object is the actual object in your web site or application on which methods are performed during the run session. you specify the area you want to check by selecting an object you can check an entire object or any area within an object. It creates a Web Button object with the name Find.net 24
. and records the following properties and values for the Find Web Button: It also records that you performed a Click method on the Web Button. Records the operation that you performed on the object using the appropriate Quick Test test object method. Image checkpoint enable you to check the properties of web image. While creating a test of component. Quick Test displays your step in the keyboard view like this: Quick Test displays your step in the Expert View like this: Browser(“Mercury Interactive”).gcreddy. The map has control keys for zooming. 13. You use the Object Spy pointer to point to an object. you can view the properties of any object in open application. Chooses a unique name for the object. Each test object class has a list of properties that can uniquely identify objects of that class and a set of relevant methods that Quick Test can record for it. 15. and inserts a checkpoint in the test or component. suppose you have a web site that can display a map of a city the user specifies. When you perform an operation on your application while recording.Click 14. You can check an area of a Web page or application as a bitmap.gcreddy. suppose you click on a Find button with the following HTML source code: <INPUT TYPE=”submit”NAME =”find”VALUE=”Find”> Quick Test identifies the object that you clicked as a Web Button test object. The Object Spy displays the selected object’s hierarchy tree and its properties and values in the properties tab of the Object Spy dialog box.What is test object model in QTP? A). Web Button (“Find”).com
create a parameterized test that runs ten times: each time the test runs.What is Object Spy in QTP? A). Quick Test captures the specified object as a bitmap. generally using the value of one of its prominent properties. it uses a different set of data.
For QTP Information & Scripts visit: www. Batch Testing in WR is nothing but running the whose test set by selecting “Run Test set” from. Using the bitmap checkpoint.What does it mean when a check point is in red color? What do you do? A). if so explain? A). Data Table parameters enable you to create a data-driven test (or act on) That runs several times using the data you supply.How do you do batch testing in WR & is it possible to do in QTP. The “Execution Grid”.testlab? A). to check how your application hadles small and large ticked orders. A red color indicates failure. or iteration. For example. 17. Get executed one by one by keeping all the remaining scripts in “Waiting” mode.What do you call the window TestDirector . 20.If i give some thousand tests to execute in 2 days what do you do? A). and color settings. “Execution Grid”.net 25
. It is place from whether we Run all Manual/Automated Scripts
For Software Testing Information visit: www. you can check that the map zooms in correctly. 16. In each repetition.com
that is displayed after one check on the control key that zooms in the map. Adhoc testing is done. Note: The results of bitmap checkpoints may be affected by factors such as operating systems. 18. If our test cases are automated then. You can create bitmap checkpoints all supported testing environments (as long as the appropriate add-ins are loaded). By selecting “Run Test set” all the test scripts can be executed. Quick Test uses a different value from the Data Table Environment variables parameters enable you to use variable values from Others sources during the run session. 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.gcreddy. screen resolution. The same is possible with QTP also. It coverts the least basic functionalities to verify that the system Is working fine 19. you can have Quick Test generate a random number and insert it in a number of ticket edit field.How many ways we can parameterize data in QTP? A).gcreddy. These may be values you supply. In this process the Scripts. or values that Quick Test 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. Here we analyze the cause for failure whether it is a Script Issue or Environment Issue or a Application issue.
Export “….3 differences between QTP & WinRunner? A).xls” file? A). What do you to script when object are remove from application? 26.mtb file.xls” file? A). 28.xls”.com
21.gcreddy. Login to TD.Importsheet(FileName. IterationRange. Parameters] Here the actions becomes reusable on making this call to any Action. You can also choose to include or exclude a test in your batch list from running during a batch run. Statement can return the value of the ExitAction’s RetVal argument. If the action called by the RunAction statement includes an ExitAction statement. IterationRange String Not always required. (b) QTP supports “. A). SheetSource. Enter the row range (i.xls file name…” 25.NET” application Automation not available in WinRunner (c) QTP has “Active Screen” support which captures the application not available in WR. RunAction ActionName.7”). Click on “Test Lab” tab.xls” file to Data table during Runtime.[IterationMode.”name”. Valid only when the IterationMode is rnfIterations.
For Software Testing Information visit: www. you can set up a list and save the list as an .How to Import data from a “.How do you do batch testing in WR & is it possible to do in QTP. SheetDest) Datatable>ImportSheet “C:\name.How to export data present in Database to an “.How to export QTP results to an “.Syntact for how to call one script from another? And syntax to call one “Action” in another? A). You can use Test Batch Runner to run several tests in succession. if so explain? A).e “1. By default it creates an “XML” file and displays the results. at another time.net 26
. 23. 22. Click on “New Test Set or Ctrl+N” Icon to create a Test Set. or enter rngAll to run iterations on all rows. 27. Indicates the rows for which action iterations Will be performed. DataTable. Datatable. Using Test Batch Runner. 24.gcreddy. the RunAction. (Test sets can be grouped as per module). so that you easily run the same batch of tests again.How do you create new test sets in TD A). Select the Desired folder under which we need to create the test set. (a) QTP is object bases Scripting (VBS) where WinRunner is TSL (C based) Scriptting.For QTP Information & Scripts visit: www. The results for each test are stored in their default location.Import “…XLS file name…” Datatable.1.
When you run test or Component. variables which WR does not have.”5:45”) 30.Analyzing the Checkpoint results? A). DataTable. Vbs. Table checkpoints are supports for Web and AvtiveX applivation.For QTP Information & Scripts visit: www. To add a table checkpoint. You can use database checkpoints in your test or component to check databases accessed by your Web site or application and to delete defects.LocalSheet The following example uses the LocalSheet property to return the local sheet of The run-time Data Table in order to add a parameter (column) to it. You define a query on your database. The results displayed for table and database checkpoints are similar. My param=DataTable. For Activex tables. 29. you can check that a specified value. you can check the contents of database accessed by your application.AddParameter(“Time”. To navigate back to that location in your application like you have to with WinRunner. (f) Definitions and create checkpoints after having record a script – without having. Tests or components. their. the checkpoint Fails.LocalSheet. Standard Checkpoint: By adding standard checkpoints to your tests or components. 31. If the results do not match. you can also check the properties of The table object. By adding database checkpoints to your. If the results do not match. Is display in a cell in a table on your application. 32.
For Software Testing Information visit: www.gcreddy.com
(d) QTP has “Data Table” to store script values. and then You create a database checkpoint that checks the results of the query.Table and DB Checkpoints: A). This greatly speeds up script development. (e) Using a “point and click” capability you can easily interface with objects. the checkpoint fails. Chechpoint to your test or component. Quick Test compares the expected results of the check points to the actual results of The run session. You can check that a specified value is displayed in a cell in a table by adding a table.net 27
. you use the Checkpoint properties dialog box.How to add a Runtime parameter to a datasheet? A). By adding table checkpoints to your tests or components.you can Compare the expected values of object properties to the object’s current Values during a run session.gcreddy.What scripting language is QTP of? A). as well as for variefy of External add-in environments.
By comparing the two bitmaps (expected and actual). These configuration options are particularly helpful when the text string you want to check appears several times or when it could change in a predictable way during run session.Checking Bitmaps: A). Quick Test compares the object or selected area of the object currently displayed on the web page or application with the bitmap stored when the test or component was recorded. Quick Test automatically displays the Checked Text in red and the text before and after the checked text in blue.gcreddy.
For Software Testing Information visit: www. When you run the test or component. For text area checkpoints. you can check that the map zooms in correctly. only the text string captured from the defined area is displayed (Text Before and Text After are not displayed). see Viewing Checkpoint Results. Using the bitmap checkpoint. While creating a test or component. and inserts a checkpoint in the test or component. For example. 34. Quick Test captures the specified object as a bitmap. you can identify the nature of the discrepancy. (b) Manually define an SQL statement. You can install Microsoft Query from the custom installation of Microsoft Office. In the Text/Text Area Checkpoint propertied dialog box.gcreddy. You can also choose to save only the selected area of the object with your test or component in order to save disk space. you specify the area you want to check by selecting an object. suppose you have a web site that can display a map of city the user specifies. For more information on test results of a checkpoint.Text/Text Area checkpoint: A). If there are differences. You can check an area of a web page or application as a bitmap. by default. the Checkpoint Summary pane display [complex value] instead of the selected text for the checkpoint. and color settings. It is not Available when creating a database checkpoint 33. You can create bitmap checkpoints for all supported testing environments (as long as the appropriate add-ins are loaded). Quick Test captures a bitmap of the actual object and displays it with the expected bitmap in the details portion of the Test Results window. You can record the new map that is displayed after one click on the control key that zooms in the map. The checkpoints timeout option is available only when creating a table checkpoint. screen resolution.For QTP Information & Scripts visit: www.net 28
. Note: In windows-based environments. you can specify the text to be checked as well as which text is displayed before and after the checked text. You can check an entire object or any area within an object. The map has control keys for zooming.com
Database checkpoints are supported for all environments supported by Quick Test. Note: The results of bitmap checkpoints may be affected by factors such as operating system. as Well as for a variety of external add-in environments There are two ways to define a database query (a) Use Microsoft Query. if there is more than one line of text selected.
For Software Testing Information visit: www. You can use scheme validation to check that each item of content in an XML file adheres to the scheme description of the element in which the content is to be placed.Object Repositories types. An XML file can consist of elements with attributes and values (character data). These tags describe the data content. Applications that display an XML document or file use either Cascading style sheets (CSS) of XSL Formatting objects (XSL-FO) to present the data. attributes. which & when to use? A).com
To designate parts of the captured string as checked Test and other parts as Text Before and Text After. Although this data can change over time. XML documents and files often need a well-defined structure in order to be portable across platforms and development systems. and elements can have attributes associated with them. you can check the content of an element to make sure that its. or set of objects. The Configure Text Selection dialog box opens. A few common uses of XML checkpoints are described below: An XML file can be a static data file that is accessed in order to retrieve commonly used data for which a quick response times is needed-for example. In general. If any part of this structure (including data) changes. zip codes. XML files contain text with simple tags that describe the data within an XML document. XML files are often an intermediary that retrieves dynamically changing data from one system. The data is then accessed by another system using Document. Deciding which Object Repository Mode to Choose To choose the default object repository mode and the appropriate object repository mode for each test. you application’s ability to process the XML file may be affected. and values have not changed. enabling the accessing system to read and display the information in the file. Using an XML checkpoint. You can verify the data content of XML files by inserting XML checkpoints. country names. or area codes. There is a parent and child relationship between the elements. XML makes the complex data structure portable between different computer environments/operating systems and programming languages. One way to accomplish this is by developing an XML scheme. or very few. Checking XML :
XML (Extensible Markup Language)is a meta-makeup language for text documents that is endorsed as a standard by the W3C. which describes the structure of the XML elements and data types. tests that correspond to a given application. Type Definitions (DTD). You can use an XML checkpoint and parameterize the captured data values in order to check an XML document or file whose data changes in a predictable way. especially under the following conditions: You have only one. but not the presentation of the data.net 29
. You can use an XML file checkpoint to validate that the data has not changed from one application release to another.gcreddy. 35. facilitating the sharing of data.For QTP Information & Scripts visit: www. the object repository per-action mode is easiest to use when you are creating simple record and run tests. you need to understand the differences between the two modes. click configure button. interface.gcreddy. it is normally quite static.
40. FALSE. interface. Only properties that are included in the test object description can be set. in which test runs are stored. You often work with multi-action tests and regularly use the Insert copy of Action and Insert Call to Action options. or with the statement immediately following the most recent call out of the procedure containing the on Error Resumes Next statement. “MyValue”. SetToproperty changes the property values used to identify an object during the test run. 37.net 30
. spying and recognizing the Objects logical names and properties available. Testpath.How to change the run-time value of property for an object? A). Parameters: Up to 15 WinRunner function argument. Note that this argument is relevant only when working with a test in a Quality Center Project.RunTest “D:\test1”.gcreddy.Can we Script any test case with out having object repository? Or Using Object Repository is a must? A). CloseApp. e. When the test is not saved in Quality Center.How to execute a WinRunner Script in QTP? A). [parameters] TSLTest.For QTP Information & Scripts visit: www.RunTestEx TestPath. or set of objects. On Error Resume Next: Causes execution to continue with the statement immediately following the statement that caused the run-time error. [parameters] --> Used in QTP 6.How to retrieve the property of an object? A). This allows execution to continue despite a run-time error.gcreddy.Description” “& Err. Parameters: The test set within Quality Center.RunTest. TestSet. Using “GetRoproperty”. TSLTest.
For Software Testing Information visit: www. this parameter is ignored.RunTestEx “C:\WinRunner\Tests\basic_flight”.g: TSLTest. the shared object repository mode is generally the preferred mode when: You have several tests that test elements of the same application. You can then build the error-handling routine inline within the procedure. “& Err. TRUE.How to handle Run-time errors? A).”” (b).Number &” . 39. 38. You expert the object properties in your application to change from time to time and/or you regularly need to update or modify test object properties. RunMinimized. You generally create single-action tests Conversely. (a)TSL Test.Source & Err. Using “Err” object msgbox “Error no:” “ & Err. U can script with out Object repository by knowing the window Handlers. No. 36.com
You do not expert to frequently modify test object properties. CloseApp: Indicates whether to close the WinRunner application when the WinRunner test run ends.0 used for backward compatibility.HelpContext”.
When we try to use test run option “Run from Step”.5 is not but QTP 8. Script: . This is default behaviour.tsr.How to “Turn off” QTP results after running a script? A). Object used to open and close applications and processes during a run session.5 can handle. Eg: SystemUtil. Object Repository: . Mandatory (b). 47. From the Test results Viewer “Tools>Filters>Warnings”…must “Unchecked”.Does QTP is “Unicode” compatible? A).How to suppress warnings from the “Test results page”? A). A SystemUtil.
48.Run statement is automatically added to your test when you run an application from the start menu or the Run dialog box while recording a test.What is the extension of script and object repository files? A). Assistive.
For Software Testing Information visit: www.gcreddy.0 is expected to be Unicide compatabile by end of December 2004.4MB is the maximum size of XML file that QTP 6. In addition to recording the mandatory and assistive properties specified in the object Identification dialog box.Run “Notepad. but a log will be created and can viewed manulaly which cannot be restricted from getting created. Use “Focus” property of “GetRoProperty” method.exe” SystemUtil. SystemUtil. The ordinal identifier assigns the object a numerical value that indicates its order relative to other objects with an otherwise identical description (objects that have the same values for all properties specified in the mandatory and assistive property lists).closeDescendentprocesses (closes all the processes opened by QTP) 42.Any limitation to XML checkpoints? A).Types of properties that Quick Test learns while recording? A). 49. 46.net 31
. Quick Test can also record a bank up ordinal identifier for each test object. This ordered value enables QuickTest to create a unique description when the mandatory and assistive properties are not sufficient to do so. the browser is not launching automatically why? A). (a).How to open any application during Scripting? A). Mercury has determined that 1.How to verify the cursor focus of a certain field? A).For QTP Information & Scripts visit: www. Goto “Tools>Option>Run Tab” and Deselect “View results when run session ends”. But this suppresses only the result window. Excel: Default. 43. QTP 6.xls 44.mts.com
41. (a). be
For Software Testing Information visit: www. CInt()--.gcreddy.How to make arguments optional in a function? A).How to covert a string to an interger? A).Inserting a call to Action is not Importing all columns in Datatable of globalsheet. 52.com
50. 51.For QTP Information & Scripts visit: www.net 32
. This is not possible as default VBS doesn’t support this.> a conversion function available. Why? A).gcreddy. Inserting a call to action will only Import the columns of the Action called. Instead you can pass a blank scring and have a default value if arguments are not required.