Exam Code : CT-TAE
Exam Name : Certified Tester Test Automation Engineer
Vendor Name :
"ISTQB"
CT-TAE Dumps
CT-TAE Braindumps CT-TAE Real Questions CT-TAE Practice Test
CT-TAE Actual Questions
killexams.com
Certified Tester Test Automation Engineer
https://killexams.com/pass4sure/exam-detail/CT-TAE
The GUI of a Customer Relationship Management (CRM) application has been delivered through internet Explorer with proprietary Active X and Java controls. This implementation enables rich client capabilities, but specific commercial automation tools are necessary to automate test cases at GUI of functional test cases. This is to demonstrate whether a small set of the commercial are able to properly recognize actions taken by a tester when interacting with GUI of the CRM application.
Which of the following scripting techniques would be MOST suitable in this scenario?
Data-driven scripting
Keyword-driven scripting
Linear scripting
Structure scripting
What are the four horizontal layers of the gTAA?
Test adaptation, test execution, test design, test definition
Test generation, test execution, test definition, test APIs
Test generation, test definition, test execution, test adaptation
Test definition, test execution, test reporting, test adaptation
Explanation:
The gTAA is a reference architecture for test automation systems, and it is organized into four layers to separate different concerns. Each layer has its own responsibilities and interacts with the others to form a complete test automation system. The Test Generation layer is for creating test cases, the Test Definition layer is for defining those cases and their data, the Test Execution layer is for running the test cases, and the Test Adaptation layer handles interactions between the test automation system and the system being tested.
You have implemented a keyword-driven scripting framework, which uses a test execution tool to run the tests. This
has been in use for the past year and all of the teams now use this framework as the standard approach for test execution.
The teams all work on different aspects of the SUT and they have all experienced significant benefits in the use of this scripting framework. However, on closer examination, you have discovered that there are numerous instances where the teams have the same functionality to test but are using different keywords.
One of your objectives for improvement is to create consistency among the teams. What is the BEST way to handle this situation?
Move to a model-based approach to scripting where the models include the keywords.
Do nothing, each team are working in isolation and they are all experiencing significant benefits in the way they are currently working.
Provide each team with a set of guidelines and naming conventions for keywords.
Create a central library of keywords and associated definitions for each team to use.
Explanation:
By having a shared library, all teams can refer to the same keywords, creating a more consistent and unified scripting approach. This can make it easier to manage and maintain the scripts, especially when different teams need to work together or share resources. It can also reduce the risk of misinterpretations or misunderstandings due to different teams using different keywords for the same functionalities. The other options, while might be valid in some other contexts, do not directly address the issue of consistency among the teams.
As a TAE you are evaluating a functional test automation tool that will be for several projects within your organization. The projects require that tool to work effectively and efficiently with SUTâs in distributed environments. The test automated tool also needs to interface with other existing test tools (test management tool and defect tracking tool.) The existing test tools subject to planned updates and their interface to the test automated tool may not work property after these updates.
Which of the following are the two LEAST important concerns related to the evaluation of the test automation in this scenario?
â Is the test automation tool able to launch processors and execute test cases on multiple machines in different environments?
â Does the test automation tool support a licensing scheme that allows accessing different sets?
â Does the test automation tool have a large feature set, but only part of the features will be sets?
â Do the release notes for the planned updates on existing specify the impacts on their interfaces to other tools? Does the test automation tool need to install specific libraries that could impact the SUT?
A and C
A and E
B and E
C and D
Answer: D
Question: 15
You have inherited a TAS that is working well it uses keyword-driven scripting and was well architected. The automation architect who built the system has now moved on to another company. The TAS is working across several projects and has a multiple library of keywords, categorised by project. The individual project teams maintain these keyword scripts.
Based only on the given information, what is the MOST significant risk for the TAS?
The keyword driven scripts may become out of date if not maintained
The level of abstraction, coupled with the departure of the architect may make the system hard to maintain
New projects may not work as well with the TAS as the current projects
Because the keyword scripts are maintained by different teams, there is a likelihood that good coding standards are not followed
The Test Automation Manager has asked you to provide a solution for collecting metrics from the TAS that measures code coverage every time the automated regression test pack is run. The metrics must be trend based to ensure that the scope of the regression test pack continues to reflect enhancements made to the SUT - coverage must not drop and should ideally increase. The solution must be as automated as possible to avoid unnecessary manual overheads and errors.
Which of the following approaches would BEST meet these requirements?
Test automation cannot measure code coverage for the SUT, only the code for the automation tools and scripts. The automated test cases would need to be run manually with a code coverage and reporting tool running in the background.
The automated testware would record overall code coverage for each run and add the figure to a new row in a pre- formatted Excel spreadsheet. You would then present the spreadsheet to stakeholders so they could look for changes in coverage.
The automated testware would record overall code coverage for each run, export the data to a pre-formatted Excel spreadsheet that automatically updates a trend analysis bar chart for you to distribute to stakeholders.
The automated testware would record the pass/fail rate of each regression test case, export the data to a pre- formatted Excel spreadsheet that automatically updates a trend analysis success rate bar chart and emails it to stakeholders.
You are working as a TAE for a company who have been using a web test execution tool for a number of years. The tool has been used successfully on ten web applications in the past.
The company are developing a new web application which has a friendly User Interface, but the developers have used an object throughout the application which the tool is unable to recognise. As a result, you have no way of capturing the object or verifying the contents using the automation tool.
What is the first thing you should do about this problem?
See if the application can be run on a desktop and if the object can be recognised on the desktop by the tool.
Investigate whether the object can be recognised by other test execution tools in the market
Ask the developers to remove the object and replace it with some text fields
Ask the developers if they can change the object to something that can be recognised by the tool
Explanation:
It is common in software testing to encounter situations where test automation tools are unable to recognize certain objects or elements within an application. In such cases, the first step is usually to collaborate with the development team to identify whether the problematic object can be replaced or modified to become recognizable by the automation tool.
This is generally the most efficient and cost-effective approach because it allows you to continue using the same test automation tool without the need for additional training or license costs that may come with switching tools. It also keeps the test environment consistent and doesn't require the redesign of the test cases that are already automated. The other options either involve possibly unnecessary tool or platform switching, or suggesting changes that may not suit the application's requirements.
Of course, if changes to the object or application aren't feasible, then other options such as switching tools or finding workarounds may need to be explored. However, the first step should be to communicate with the developers and investigate a potential quick fix to the issue.
Consider a TAS deployed into production. The SUT is a web application and the test suite consists of a set of automated regression tests developed via GUI. A keyword-driven framework has been adopted for automating the regression tests. The tests are based on identification at low-levels of the web page components (e.g class indexes, tab sequence indexes and coordinates) in the next planned release the SUT will be subject to significant corrective maintenance (bug-fixes) and evolution (new features) Maintenance costs to update the test scripts should be as low as possible and the scripts must be highly reusable.
Which of the following statements is most likely to be TRUE?
The keyword-driven framework is not suitable, it would be better to adopt a structured-scripting approach
False positive errors are likely to occur when running the automated tests on the new releases without modifying the test
The total execution time of the automated regression test suite will decrease for each planned release.
The keyword-driven framework introduces a level abstraction that is too high and makes it difficult what really happens
You are currently designing the TAA of a TAS. You have been asked to adopt an approach for automatically generating and executing test cases from a model that defines the SUT. The SUT is a state-based and event-driven that
is described by a finite-state machine and exposes its functionality via an API. The behavior of the SUT depends on hardware and communication links that can be unreliable.
Which of the following aspects is MOST important when designing the TAA in this scenario?
Looking for tools that allows direct denoting of exceptions and actions depending on the SUT events.
Adopting a test definition strategy based on classification tree coverage for the test definition layer.
Looking for tools that allow performing setup and teardown of the test suites and the SU
Adopting a test definition strategy based on use case/exception case coverage for the definition layer.
You are working on a government system called âMaking Tax Digital" or MTD for short. This system is being implemented to stop manual human input error and also to reduce fraudulent behaviour from companies when submitting their tax and VAT returns.
The key concept is that registered companies will need to use government recommended 3rd party software for their accounts and book keeping. These 3rd party applications will have a direct interface into the government's main system for transactions and submissions.
You have been using a test execution tool successfully on the project so far. and have implemented a basic âcapture/replayâ approach to scripting.
The management have been encouraged with the automation so far, but want the following objectives to be met:
Test cases added easily
Reduction in the amount of scripts and script duplication
Reduction in maintenance costs
Which scripting technique would be MOST suitable in this scenario in order to meet the objectives?
Linear scripting
Structured scripting
Data-driven scripting
Keyword-driven scripting
Explanation:
Keyword-driven scripting allows for easier addition of test cases, less script duplication, and reduced maintenance costs which are the objectives outlined by management. This is because in keyword-driven scripting, you design test scripts using a set of predefined keywords, which represent actions that will be executed on the application under test. The keywords and the data associated with them are usually stored in tables (like a spreadsheet), making it easier to add, remove, or modify test cases.
Linear scripting (A) doesn't provide flexibility in terms of reducing script duplication and maintenance costs as it involves writing a linear set of instructions for each test case.
Structured scripting (B) is useful when there is a need to create modular and reusable scripts, but it requires more complexity to implement than keyword-driven scripting and isn't as easily adaptable for adding new test cases.
Data-driven scripting (C) is efficient when you need to test the same functionality with varying inputs and expected results, but it doesn't inherently reduce script duplication or maintenance costs as much as keyword-driven scripting can. It also doesn't directly aid in adding new test cases in an easy manner.
Consider a SUT that small run on multiple platform during the execution of automated test runs. In each test run an automated test suite needs to be executed, with the same version of the TAF, against the same version of the SUT of each platform. Each platform shall have its own dedicated test environment. Your goal is to implement a process as automated as possible ( i.e with minimal manual intervention) that allows implementing a consistent setup of the TAS across the multiple test environments.
Which two of the following aspects are MOST relevant for achieving your goal in this scenario? â The configuration of the TAS uses automated installation scripts
â The TAF saves the logs needed to debug errors in XML format
Features of the TAF not used by the automated tests have been tested
All the automated test cases contain the expected results
The TAS components are under configuration management
A and e
B and c
B and d
A and d
If model-based testing has been selected for the overall test automation approach for a project, how does that influence the layers of the TAA?
All layers are used, but the test generation layer will be automated based on the defined model
There will be no need for the execution layer
No adaptation will be needed because the interfaces will be defined by the model
There will be no need to design the tests for the API because those will be covered by the model
Explanation:
In a model-based testing approach, all layers of the Test Automation Architecture (TAA) are typically used, but the test generation layer will be automated based on the defined model. The model describes the behavior of the system under test (SUT) and is used to automatically generate test cases.
Option B is incorrect because the execution layer is still needed to execute the generated test cases.
Option C is incorrect because the adaptation layer is typically needed to handle interface-related issues between the Test Automation System (TAS) and the System Under Test (SUT), regardless of the model used.
Option D is incorrect because even with a model-based testing approach, designing tests for the API (if APIs are a part of the system) would still be necessary. The model can aid in this, but it does not eliminate the need for test design.
You are implementing test automation for a project and you want to be able to generate test cases automatically using a series of test design tools which use a variety of test design techniques such as decision tables, pairwise testing and boundary value analysis.
You also want to generate test data automatically which can then be used by the tests.
Initially these tests will be run manually to verify their correctness and ultimately you want to include them in the test execution tool so that they can run unattended.
Which layer of the gTAA will be used to support the specification of the test cases and preparation of the test data?
The generation layer
The definition layer
The execution layer
The adaptation layer
Explanation:
The definition layer of the Generic Test Automation Architecture (gTAA) is responsible for defining test cases and preparing test data. This layer uses test design tools and techniques, like decision tables, pairwise testing, and boundary value analysis that you mentioned, to define what needs to be tested. This includes the preparation of test data that will be used by the tests.
The generation layer, on the other hand, is responsible for generating the actual test scripts from the defined test cases. The execution layer is responsible for executing the generated test scripts.
And finally, the adaptation layer is responsible for managing the interaction between the Test Automation System (TAS) and the System Under Test (SUT), which involves handling interface-related issues.
Designing the System Under Test (SUT) for testability is important for a good test automation approach and can also benefit manual test execution.
Which of the following is NOT a consideration when designing for testability?
Observability: The SUT needs to provide interface that give insight into the system.
Re-useability: The code written for the SUT must be re-useable for other similar system.
Clearly defined architecture: The SUT Architecture needs to provide clear and understandable interfaces giving control and visibility on all test levels.
Control: the SUT needs to provide interfaces that can be used to perform actions on SU
You are working on a web-based application called Book Vault that allows people to upload books and order books. This application must be available on all major browsers.
You have been testing the application manually and management have asked you to consider automating some of the tests.
You have investigated a number of commercial and free tools which can automate tests at a web browser level and one tool in particular meets your requirements and you have implemented a trial version.
You have basic programming skills and the main goal is to automate a few functional tests to see if the tool is compatible with the application and can recognise the objects and controls.
Which scripting technique would be MOST suitable in this scenario in order to meet the objectives?
Structured scripting
Capture-replay scripting
Data-driven scripting
Model-based scripting
Explanation:
Given that you have basic programming skills and you are in the exploratory phase of the tool, the Capture-replay scripting approach would be the most suitable for this scenario. Capture-replay scripting involves recording a series of user actions as they navigate through the application, and then replaying those actions in an automated way. This technique is typically easy to use, requires minimal programming skills, and can quickly provide a basic level of automation for functional tests. It will also allow you to see if the tool is compatible with your application and can recognize the objects and controls. The other scripting techniques like Structured, Data-driven, and Model-based scripting require a more advanced level of programming skills and a better understanding of the application.