TestComplete Check Your Knowledge Part I Track 4: UI Functional Testing, TestComplete Question Title * 1. Please provide your name and email address Name Email Question Title * 2. You need to be able to check the user input of address city and state in text boxes on a form in a Windows Application are all valid. What should you do? (More than one answer choice may achieve the goal. Select the BEST answer.) Use one Group Checkpoint to read values of the text boxes. Use THREE Property Checkpoints to evaluate each value in the text boxes. Use a Region Checkpoint to compare the text boxes. Use ONE Property Checkpoint to read the values of all 3 text boxes. Question Title * 3. You are writing a Keyword Test. You want to make sure that two text boxes on a web page are the same width. What should you do? (Only one answer is CORRECT.) Use the Property Checkpoint operation to compare one text box width property to another text box width property. Use the Compare Properties operation to compare one text box width property to another text box width property. Use the Object Checkpoint operation to compare one text box width property to another text box width property. Use the Web Comparison Checkpoint operation to compare one text box width property to another text box width property. Question Title * 4. You are testing a web page. You want to use a checkpoint to verify that the web page has no broken links. What should you do? (Only one answer is correct.) Add a Web Comparison checkpoint. Set the Mode to Compare entire page. Add a Web Accessibility checkpoint. Select the Check multimedia links option. Add a Web Accessibility checkpoint. Select the Check link accessibility option. Add a Web Comparison checkpoint. Set the Mode to Compare only specified and select the Links checkbox. Question Title * 5. You need to test an image on your web page to make sure that it doesn’t change from the stored image. What should you do? (Choose all that apply) Create a Region Checkpoint and select the image as an object. Create a Region Checkpoint and select the image by using a region on the web page. Use a Compare Files Checkpoint to compare the stored image to the web page image. Use a Compare Pictures Checkpoint to compare the stored image to the web page image. Question Title * 6. You have imported address data from a CSV file into a project DBTable variable named "OrderDBTable". How do you get the first "City” column from the DBTable using a Keyword Test. What should you do? (Only one answer is CORRECT.) Drag a Log Message operation to the Test Steps and set the value to the "OrderDBTable" variable and City column as the value. Drag a Log Message operation to the Test Steps and set the value to the "OrderDBTable" variable. Drag a Log Message operation to the Test Steps. Set the MessageText parameter to use a Variable mode and City as the value. Drag a Log Message operation to the Test Steps. Set the MessageText parameter to use Table Data mode and select the "OrderDBTable" variable and City column as the value. Question Title * 7. You need to import data into your project so you can run a data driven test. You need to tell the R&D department what types of imports are supported by TestComplete.What imports are supported? (Choose all that apply) A Database table and/or query. An OpenOffice spreadsheet. A Microsoft Excel worksheet. Any CSV file. Question Title * 8. You are writing a Keyword Test. You need to wait for a request to a database to complete which fills out information on a form. The database should return within 10 seconds or less. The form’s OK button Enabled property becomes true after the database operation is successful.What should you do? (More than one answer choice may achieve the goal. Select the BEST answer.) Use an On-Screen Action with the WaitProperty and check for Enabled equal to true. Use a While Loop that checks for Enabled equal to true. Within the While Loop, delay execution for 5 seconds. Use a For Loop that checks for Enabled equal to true. Within the For Loop, delay execution for 5 seconds. Use a Property Checkpoint Operation that checks for Enabled equal to true. Question Title * 9. You need to be able to run two extensive but identical Keyword Tests except that one test checks for an object’s caption is set to 1 and the other tests that it is set to 2. You need to be able to run these Keyword Tests with minimal reproduction of operations. What should you do? (More than one answer choice may achieve the goal. Select the BEST answer.) Copy and paste the contents of one Keyword Test into another Keyword Test. Change the same checkpoint in the pasted test to check for 2 instead of 1. Create only one Keyword Test that has one integer parameter. Add this test to the test items twice setting the parameter to 1 for the first test item and 2 for the second test item. Create only one Keyword Test. Add this test to the test items twice. Use a project permanent variable with a Default Value of 1. After the first run of the test set the variable to 2 then after the second run of the test set the variable back to 1. Create only one Keyword Test. Add this test to the test items setting the Count to 2. Use a project permanent variable with a Default Value of 1. After the first run of the test set the variable to 2 then after the second run of the test set the variable back to 1. Question Title * 10. You need to perform a property checkpoint if the new orders window is open on the tested process. If the new orders window is not there do not perform the test.What should you do? (Choose all that apply) Add an If … Then Operation to check if the Enabled property of the new orders window is true. If true, perform the Property Checkpoint. Add a Property Checkpoint and select the If Exists option. Add an If Object Operation to check for the existence of the new orders window. If the new orders window exists, perform the Property Checkpoint. Add an On-Screen Action Operation using the Exists property. Add an If … Then Operation to check that the Last Operation Result is true then perform the Property Checkpoint. Question Title * 11. You have an existing Keyword Test that tests a Windows application. The application contains a main menu at the top. You need to click the File|Open… menu item in order to bring up a dialog to test. What should you do? (Only one answer is correct) Add an On-Screen Action Operation to the test supplying the string “File|Open…” as the value and Click as the operation. Add an On-Screen Action Operation to the test supplying the integer index of the “File|Open…” menu item as the value and Click as the operation. Add a Menu Action Operation to the test supplying the integer index of the “File|Open…” menu item as the value. Add a Menu Action Operation to the test supplying the string “File|Open…” as the value. Question Title * 12. You need to create a log folder to hold certain messages during a particular portion of your Keyword Test. What should you do? (Only one answer is CORRECT.) Add a Log Folder operation to your test. Add a Log Attribute operation to your test specifying a new log folder. Add an Append Log Folder to your test. Call a script function to add the folder because only scripts can add a new folder to your test. Question Title * 13. You have been notified that the log files for TestComplete tests are taking too much space on disk. You want to reduce the amount of space taken by the log without sacrificing error information by modifying the TestComplete Project Options.Which should you do? (Only one answer is CORRECT.) Check the Compress on Close option. Uncheck the Post image on error option. Change the Store last option to a number greater than zero. Change the Store last option to zero. Question Title * 14. You have an order application that has a cancel button. You need to get to the cancel button in order to click it in a Keyword Test.What is the main benefit of using an Alias? (Only one answer is CORRECT.) An Alias adds a template to simply finding similar objects. An Alias allows users to remove unnecessary objects from the hierarchy to create a more logical view. An Alias can optionally use conditional mode to find an object. An Alias can optionally use extended find to find the object at any level in the hierarchy. Question Title * 15. You need to test a Windows application dialog that has a caption which will be the current day of the week. The caption is the only unique identifier for the dialog.What should you do? (Only one answer is CORRECT.) Use the store full data option to specify the days of week. Use the required children option to specify the days of week. Use one name mapping for every day of the week. Use conditional name mapping “or” statements for every day of the week. Question Title * 16. You have several projects which include several tests in your project suite. If any test fails or an unexpected error occurs you need to stop the execution of the current project.What should you do? (Only one answer is CORRECT.) Set “Stop on unexpected error” in the Test Items window to Project. Set “Stop on exception” in the Test Items window to Project. Set “Stop on error” in the Test Items window to Project. Set “Stop on exception” and “Stop on error” in the Test Items window to Project. Done