Professional Documents
Culture Documents
Interview
Interview
Level
Q1) Discuss about Tricentis Tosca.
Ans. Tosca is now one of the market leader as a test automation tool which has the
ability to automate all kind of applications. It allows to design script-less automated
tests.
1. Tosca Commander.
2. Tosca Executor.
3. Tosca ARA (Automation Recording Assistant)
4. Tosca Wizard
5. Test Repository.
Q3) Explain the advantages of Tosca as a test automation tool?
Ans. The Tosca commander is the UI interface of the tool which allow users to
design, maintain, execute and analyze the test cases. So, it is the core backbone of
the Tosca Test suite. The Tosca commander build with different sections such as
Requirement, Modules, Test Case, Test script Design, Execution, and Reporting,
etc.
(
Tosca Commander) Tosca Interview Questions and Answers
Q5) How to execute test scripts from Tosca ExecutionLists?
Ans. The different approaches of Tosca test executions are mentioned below –
1. Tosca Commander
2. Tosca Executor
3. Tosca Wizard
4. Test Repository
Q7) How to execute test scripts from Tosca ScratchBook?
Ans. We can perform trial run of the newly created or enhanced test cases through
the ScratchBook to check the correctness. The Tosca logs the execution results in
ScratchBook for temporary purposes. The entire or part of test cases(i.e. test steps)
can be executed through ScratchBook.
Two options are available to execute the testcases from scratch books which are
explained below –
1. Can be executed at any time.
2. We can organize the test cases in scratchbook before execution.
Q8) Is it possible to integrate Tosca with Jira?
Ans: JIRA is a test management tool. By integrating with JIRA, we can manages the
bug or issues which are raised in Tosca. So, if there is any new issues are raised in
TOSCA, same will be synched to JIRA through the interface.
Ans. Tosca is now one of the market leader as a test automation tool which has the
ability to automate all kind of applications. It allows to design script-less automated
tests.
Ans. The excel data can be read with the help of either of the below approaches –
1. In Test Case Design approach of TOSCA, data can be read from the
external excel file with predefined format.
2. The “Excel Engine” allows to import and read from excel file.
Q13) Is it possible to launch multiple browsers in TOSCA?
Ans: It is not possible to launch multiple browsers in Tosca. But it can be achieved
by following below steps –
The Test Case Parameter(TCP) with the name “Browser” need to add testcase, root
folder, or execution list level.
Ans: The data driven test automation is possible with the help of TCD (Test Case
Design). The test sheet of TCD represents the the template where we can create the
instances which are representing the test data for individual test cases. Again, we
can create the attributes with in test sheet that represent the each data parameters
and the data values can be created with in attribute as instances with in it.
For data reusability, we can define classes. After creation of TCD, the test sheets
with different data sets can be mapped with template test case from where we can
generate different test cases based on the different data. The test case creation
process is known as instantiation of the template test cases.
Tosca Interview Question and Answer-TestSuite
Q15) How to launch more than one browser in Tricentis TOSCA?
Ans: Launching multiple browsers is not possible in TOSCA. But the user can
achieve cross-browser execution.
Ans: By default, Tosca provides four different states after test execution. Those are
–
1. Passed
2. Failed
3. No result
4. Error
Q17) Explain the limitations of TOSCA ScratchBook?
Ans: The temporary execution logs are stored in ScratchBook. During the test
development, we used this option for temporary execution to check the script
correctness.
If the action within a test step is executed repeatedly, the details will not be available.
Also, the execution logs are not available permanently.
Q18) Explain the benefits of linking Tosca test cases with requirements?
Ans. The main purpose is the ensure the coverage of the testing based on the
requirements. It will provides a high level picture of requirement coverage for test
analysis.
Ans: The templates in Tosca defines a unique test flow with the help of modules.
Instead of actual data, the data parameters from the TCD are linked with. Generally,
the template is nothing but something in a conventional format. The Technical test
case can be converted to the template by right-clicking on it. The template uses the
data from TCD datasheet.
Ans: The specifications can be linked to test cases to track the requirement
coverages. It will provides a high level picture of requirement coverage for test
analysis.
Ans. Test data management enables you to deal with the test data necessary for
test execution. The data driven test automation is possible with the help of TCD
(Test Case Design). The test sheet of TCD represents the the template where we
can create the instances which are representing the test data for individual test
cases. Again, we can create the attributes with in test sheet that represent the each
data parameters and the data values can be created with in attribute as instances
with in it.
For data reusability, we can define classes. After creation of TCD, the test sheets
with different data sets can be mapped with template test case from where we can
generate different test cases based on the different data. The test case creation
process is known as instantiation of the template test cases.
Ans. String operations are utilized for verifying or changing the strings with regular
expressions. It features count specific character/word from the announcement,
aligning a word with another word, confirming the structure of a number, etc. You
ought to have a module AidPack downloaded and downloaded on your endeavor to
execute String operations.
Q23) Why SratchBook is required in Tricentis TOSCA?
Ans: We can perform trial run of the newly created or enhanced test cases through
the ScratchBook to check the correctness. The Tosca logs the execution results in
ScratchBook for temporary purposes. The entire or part of test cases(i.e. test steps)
can be executed through ScratchBook.
Ans. Exploratory is an approach to record the test scenario will navigating the
scenario manually. It records the screen shots with technical information and
generates a pdf file at the end. This document can be used for future references and
training purposes.
1. Planning.
2. Specification.
3. Execution.
4. Logging.
5. Analysis.
Q26) Describe the purpose of “Tosca Query Language”(TQL)?
Ans: The TQL is the shorter form of Tosca Query Language which is used for
advance searching purposes in Tosca. Conceptually, this is similar to SQL that
means we can searched based on the conditions.
Ans. Tosca allows users with a standard module to perform a comparison of pdf
files. After the comparison of two pdf files, the mismatches will be available in
execution logs.
Q28) What is Tosca CI? How does the user execute test scripts using CI Tool?
Ans: CI stands for continuous integration. TOSCA is able to execute the testcases
through CI tools like Jenkins, Bamboo, etc. as part of continuous testing. With the CI
features, we can integrate with CI tools easily. After the integration, test can be
triggered through third party CI tools.
Ans. While we need to execute test steps repeatedly, the Tosca loop is used. Tosca
provides different loop structure such as Do, For, While loops, etc.
Ans: The Tosca WebAccess is a web interface which allows to access the
workspace through the web browsers. The installation of Tricentis Tosca
Commander is not required to work with workspaces through the WebAccess.
The workspace server system stores the data of workspaces and using the client
browsers, we can access it.
Ans. The API scan feature of Tosca allows to create the modules after scanning the
API for a specific system. Basically, it enables to automate and design the API Test
Cases.
Ans: The HP Quality Center (name of the latest release is ALM) is a test
management tool which manages the test development, execution and defect
cycles. Tricentis Tosca allows to integrate with Quality Center with minimum
customization. The main purposes of the integration are to manage the test
executions and the defect managements. The execution data and the defect details
will be synched between both the tool through the integration.
Ans. The test configuration parameters (TCPs) can be used for parametrized the
test data for configuration related activities i.e. ideally it should be used for those
parameters which will be applicable across the entire test suites. Tosca provides
some in-build TCPs which are used to change the default configuration of the
Tricentis Tosca. The user defined TCPs can be created for the below specified
objects –
Ans.
Ans: The TOSCA commander administrator uses TC shell, and there are two
different methods of starting TC Shell.
Ans. With the help of standard module “TBox File Existence,” we can verify the
existence of any specified file. This module has below attributes –
Ans: Two types of logs are available in Tosca after the test execution. Those are –
Ans: BDD is stand for Behavior Driven Development which follows agile
methodology grounded software development process. The process is works as per
the Test Driven Development.
BDD does not generate workable test cases but workable documentation. Here, the
actions and behavior are explained as texts. This permits them to be tested as
workable documentation. Requirements are depicted as user stories.
Ans. The ActionMode value “Constraint” is used to search for the specified values.
For example – we can search a specific column value in a table with the help of
“Constraint” easily.
Ans. During the Tosca workspace creation window, the default objects are either
auto incorporated or need to added manually using import subset option.
The default components are kept in standard.tce file which is available in the folder
“%TRICENTIS_PROJECT%ToscaCommander”.
The default components which are associated with the file are –
Ans: This class is used to calculate the damage values for any specific events. This
is calculated based on damages in terms of cost. The range of this values are
between 0 to 10 (min to max).
Ans: This class is used to calculate the damage values for any specific events. This
is calculated based on damage quantity in terms of frequency. The range of this
values are between 0 to 10 (min to max).
Q44) Discuss the manual test case template creation steps in Tosca?
Ans. Users can design the TestCase templates using the anticipated sections of
Samples.tce subset and Tosca BI Modules. We need to follow below steps to create
TestCase template –
2. We can convert technical test case into template by selecting context menu option
“Convert to Template” after right-clicking on test case.
3. Drag and drop the appropriate TestSheet onto the desired TestCase Template.
Ans: Yes, Tosca supports the API Testing. The API Scan is used to scan create the
modules for the corresponding APIs. Using the API modules we can send the
request and receive the response for the API call.
Q47) How to use multiple web browsers within the same test case using
Tosca?
Ans. Users want to automate a test script pass over different applications that
execute on other browsers. Using buffers, changing the Test Configuration
Parameters at execution time by the below methods.
2. During the execution, we can change the buffer value using “TBOX Set Buffer”
module to change the value of “Browser” test configuration parameter according to
the browser name to launch.
Ans: The Classic or Base engine is responsible to the test execution. Base engine
follows the architecture of the test cases which are managed as business-based
objects. The business-based object information and activities to steer the controls,
which are related to test scripts, are accepted by the Classic engine.
1. Object access.
2. Object steering.
Q50) Discuss Tosca Model-Based Testing?
Ans. The models represent the unit of functionalities which are created by scanning
the application. The modules contain the technical information of the controls to steer
the test objects. Now, model-based testing explain the approach where test cases
are developed and executed based on the modules. Basically, modules are added
into test case as a test step through drag-drop approach to complete the test cases.
In the testcase, we need to provide the data as TestStepValue and actions. No
scripting is required to develop the test case.
Ans: When any user or Test wants to execute a large set of test scripts in multiple
machines, the tester must create TestEvents in Tosca commander.
Ans: The Test data Management(TDM) components are used to managing the test
data which are required for test execution. The TDM component is available with the
standard Tosca installation. The data are stored same as shared database
repository which is used to create the workspace, through the TDM which will be
assigned to test cases during the execution. In case of SQLite, the separate instance
of database is required for TDM.
Ans: We can perform trial run of the newly created or enhanced test cases through
the ScratchBook to ensure the correctness. The Tosca logs the execution results in
ScratchBook for temporary purposes. The entire or part of test cases(i.e. test steps)
can be executed in ScratchBook.
After right-clicking on one or more selected test cases, test case folders or test
steps, we can initiate the execution by selection of option from context-menu.
Ans: There are many scenarios like banking, insurance, etc. domain projects; we
required a batch to be run at a specific time. This requirement can be fulfilled using
TestMandates. The test mandate allows to execute different parts of execution list
parallelly with out locking the main execution list.
2. The the data sheet attributes which are defined in TCD or external excel template,
i.e. the data parameters have to be linked with template attribute with the correct
syntax.
3. Right-click on the template testcase and select the context menu option “Create
TemplateInstance” to start the process.
4. The excel sheet with predefined structure, has to be displayed in the subsequent
dialog.
Ans: he process instantiating means to generate the instance test cases from the
template based on the different data which are defined in “TestCase Design” section.
This approach in Tosca, is also known as data-driven testing.
Ans. The business parameters are use to pass the data into a Reusable
TestStepBlock as arguments. The primary purpose of the business parameters is to
parameterized the use of test data in Reusable TestStepBlock instead of using hard
coded data. It can be created after right-clicking on the selected Reusable
TestStepBlock which is created in Library folder.
Ans. TC-Shell allows to control the Tosca commander from the command line. It can
be launched in two unique manners using interactive and script.
1. A group of commands which are written in a flat file (such as bat file),
can mange some operation such as execution of tests from execution
with out opening the Tosca Commander. This approach is used to
automate the triggering of test execution process.
2. Users may use the comprehensive selection of purposes of the GUI
version from the Tosca commander.
Q60) Explain the steps that create test cases through ARA?
Ans: The different approaches to steer the controls during the scanning, for any test
objects are mentioned below-
1. Identify by properties
2. Identify by Anchor
3. Identify by index
4. Identify by image
Q62) What is DokuSnapper in Tosca?
Configure options and settings > Settings Dialog > Settings – Engine > Settings –
DokuSnapper
Ans: TDS stands for Test Data Service, which is used for test data management in
Tosca. Using TDS, we can store the dynamic test data in a shared location which is
easy to read/ update by the test case. As the data stored in a shared location, it is
useful to share the same dynamic data across multiple test cases. Also, we can
update it without opening Tosca as it’s treated as a separate component.
Q64) Explain the API Testing using TOSCA? Explain the advantages.
Fast execution.
Reduce execution cycle time.
Testing can be initiated before system integration.
Q65) Explain the exploratory testing features available in Tosca?
Ans: It’s an approach to record test scenarios as a document for functional analysis,
verification/ testing of training purpose.
Q66) How can we change the value of any Test Configuration Parameter during
the execution?
Ans: First, one buffer has to be assigned for the Test Configuration Parameter
(TCP). After that, by changing the buffer value using “Tbox Set Buffer”, we will be
able to change the TCP value during execution.
Ans: Yes, Tosca supports mobile automation using engine ME3.0 for mobile testing.
Q70) What are the different engine available for mobile automation?
• Intuitive recording
• Easy clean-up
• Fast playback
• Linear recording
Ans: The Tricentis Tosca has introduced these features from Version 14.x.
Ans: There will be no impact on the existing test cases which are developed with an
AI engine. The reason is that the AI engine does not consider the technology of the
application.
Q82: Describe a scenario where Execution Errors can occur in Tosca and how
to resolve them. A: Execution Errors might occur when a UI element is modified or
moved in the application under test. To resolve, re-scan the application and update
the test case with the new UI element definition.
Q83: What are the benefits of ExecutionLists in Tosca? Can you schedule
them? A: ExecutionLists help group, order, and execute test cases in sequence,
aiding in regression testing, end-to-end processes, and ensuring dependent test
cases execute in order. Yes, using the Test Execution Scheduler, you can set a
specific time and frequency for ExecutionLists.
Q84: How does Tosca’s API Scan facilitate performance testing? Describe a
complex scenario you automated using Tosca’s API testing features. A: While
Tosca is primarily a functional testing tool, its API Scan captures API requests and
responses, and you can measure response times for API calls, offering basic
performance metrics. For a complex scenario, consider automating a multi-step
checkout process in an e-commerce application, involving adding items to the cart,
applying discounts, validating stock, and confirming payment.
Q86: Describe a scenario where Dynamic Loops are beneficial in Tosca. How
would you implement Progressive Loops in a Tosca test case? A: Dynamic
Loops are useful when iterations aren’t known in advance. For instance, testing a
cart with variable items. For Progressive Loops, set the loop to start from a specific
row in your dataset and define the step size to test every nth data set.
Q90: How does integrating Tosca with JIRA improve bug tracking? Describe
challenges faced during integration and resolutions. A: Integration streamlines
defect tracking, allowing automatic bug logging in JIRA when a test fails. Challenges
might arise in mapping Tosca’s defect fields to JIRA’s custom fields, which can be
resolved by ensuring a consistent field naming convention and using Tosca’s
settings for correct field mapping.
Q91: Describe a scenario where the Rescan feature was crucial in updating
your Tosca test cases. How does Rescan support agile development? A:
Rescan is crucial when the application undergoes changes, helping update Tosca
modules. In agile, with frequent changes, Rescan ensures test cases are updated
with minimal effort, keeping automation relevant in rapidly evolving environments.
Q92: How do Tosca Templates facilitate test step reuse? Describe a complex
scenario you automated using Tosca Templates. A: Templates create reusable
test steps, promoting reusability and reducing redundancy. For complexity, in a multi-
user login scenario, a template for login steps can be created and post-login
validations for user types can be customized using the template.
Q93: How does associating test scenarios with requirements improve test
coverage in Tosca? Describe a situation where this association identified a
testing gap. A: Associating test scenarios with requirements provides traceability,
indicating which requirements are tested and which are pending. If a new feature is
added without test scenarios, this association would highlight the gap, prompting the
creation of relevant test cases.
Q94: How does exploratory testing in Tosca support manual testing? Describe
a challenge faced during exploratory testing in Tosca and resolutions. A:
Tosca’s exploratory testing aids manual testers by allowing defect logging,
screenshot captures, and note-making during sessions. A challenge might be
reproducing a specific defect found during testing. With Tosca’s session logs and
notes, providing context becomes easier.
Q95: How do you use TQL for advanced searching in Tosca? Describe a
complex query you executed using TQL. A: TQL (Tricentis Query Language)
enables advanced searching in Tosca. For complexity, you might use TQL to find all
test cases related to a module that failed in the last run and were last modified by a
specific user.
Q96: How does Tosca WebAccess facilitate remote testing? Describe a
situation where it improved your testing workflow. A: Tosca WebAccess is a
web-based interface for Tosca, allowing remote access without local installation. It’s
beneficial for distributed teams or when testers need to access Tosca outside their
usual environment, like when a critical bug is reported and needs immediate
validation.
Q97: How would you debug Syntax Errors in Tosca? Describe a scenario
where System Errors occurred and the resolution. A: Syntax errors arise from
incorrect test scripting or TQL formulation. Using Tosca’s error messages can help
pinpoint and rectify them. System errors might occur from issues with the system
where Tosca runs, such as insufficient memory. The resolution might involve
optimizing system resources or increasing RAM.
Q98: How would you validate API responses against expected values in
Tosca? A: Tosca allows validation of API responses against expected values using
assertions. You capture the expected response and use Tosca’s comparison
capabilities to validate the actual response against it.
Q99: How would you handle infinite looping issues in Tosca? A: Infinite looping
arises from incorrect loop configurations. Ensure loops have a clear exit criterion and
regularly validate test logic.
Q100: How do you configure Tosca CI for different development
environments? A: Tosca CI can be tailored for various development environments
by integrating with specific CI/CD tools, configuring environment-specific variables in
Tosca, and ensuring the Tosca workspace is accessible across environments.
Q101: What steps would you take to ensure the effectiveness of a Cleanup
Scenario in Tosca? A: Regularly validate that the Cleanup Scenario returns the
system to the desired state, execute it independently to verify its actions, and
monitor logs for successful completion.
Q102: How do you manage Rescan conflicts in Tosca? A: Review each conflict
to understand the change’s nature, decide on accepting the new change, retaining
the existing configuration, or merging the changes. Ensure test cases are re-
executed post-rescan for validation.
Q103: How would you customize Tosca Templates for complex test
scenarios? A: Add custom steps or logic for unique testing needs, use parameters
and variables for adaptability, and incorporate conditional logic for different test
conditions.
Q104: How would you optimize TQL queries for large Tosca projects? A: Limit
the scope of the search to relevant areas, use precise criteria to filter results, and
regularly review and update saved queries for relevance.
Q105: How do you ensure security while accessing Tosca workspaces via
WebAccess? A: Implement strong authentication and authorization measures,
ensure data encryption during transmission, and regularly monitor access logs for
suspicious activities.
TOSCA:
Scripless Automation: TOSCA offers scriptless automation, reducing the need for
extensive programming skills.
Answer: TDM stands for Test Data Management. It’s a critical component of TOSCA
that allows you to manage test data, ensuring the availability of relevant, secure, and
consistent data for testing. TDM is integrated with TOSCA to provide test data
provisioning and masking capabilities.
Answer: Running a TestStep in TOSCA involves selecting the test case, executing it,
monitoring the execution progress, and reviewing the test results. You can run a
TestStep from Tosca Commander or through the Tosca Executor, depending on your
testing needs.
Answer: Tosca Execution Lists allow you to group and execute multiple test cases or
modules in a predefined order. To execute tests using Execution Lists, you create an
Execution List, add test cases or modules to it, configure execution parameters, and
then initiate the test run.
Answer: TOSCA’s risk-based testing is an approach where test cases and scenarios
are prioritized based on the perceived risks associated with different parts of the
application. It allows testers to focus more on critical areas and functionalities,
ensuring comprehensive testing while optimizing resource allocation.
Answer: Optimizing TOSCA test suite execution can be achieved through techniques
like parallel test execution, selective test case execution, using test data efficiently,
and minimizing unnecessary waiting times in test scripts.
Answer: In TOSCA, you can encounter different types of errors, including syntax
errors (related to script or test case design), runtime errors (occurring during test
execution), and configuration errors (resulting from incorrect tool settings or
connections).
Answer: TOSCA supports integration testing by allowing the creation of test cases
that validate interactions between different components or services within an
application. These test cases can ensure that the integrated components work
correctly as a whole.
Answer: Strategies for regression testing in TOSCA include reusing existing test
cases, automating repetitive tests, and executing a subset of test cases focused on
areas impacted by recent changes. Additionally, creating a regression test suite can
help streamline the process.
Question: How can we fetch test data from Excel using Tosca?
Answer: TOSCA enables fetching test data from Excel by using TOSCA DataSources,
where you can create a connection to an Excel file and use it as a data source for
parameterization in test cases.
Answer: In TOSCA, you can use multiple browsers in the same test case by creating
separate test steps for each browser, configuring them accordingly, and ensuring
synchronization between the steps as needed.
Answer: TOSCA allows for automation of test case design and creation by using
recording capabilities, scripting, and data-driven techniques. You can create
templates and modules for common actions and automate the generation of test
cases.
Question: What is the difference between a reusable
component and a module in TOSCA?
Answer: Tosca WebAccess is a web-based interface that allows users to access and
manage their TOSCA test cases, execution results, and project data from a web
browser, providing remote access to TOSCA functionalities.
Question: What is Tosca CI? How does the user execute test
scripts using CI Tool?
Answer: Tosca API Scan is a feature that allows testing the integration and
functionality of APIs within TOSCA. It provides tools for creating API test cases and
validating their behavior.
Answer: To check the existence of a file in TOSCA, you can use a FileExists block in
your test case, which verifies whether a specified file exists in the specified location.
Reduced Manual Effort: Testers can significantly reduce the time and effort
required for creating automation scripts, making the test automation process more
efficient.
Accurate Automation: ARA minimizes human errors during script creation since it
records actions exactly as they are performed, reducing the chances of script
inaccuracies.
Enhanced Test Coverage: With ARA, testers can quickly generate automation scripts
for a wide range of test cases, enabling more comprehensive test coverage.
Answer: TOSCA can assist in automating regression testing for mobile apps by
allowing you to create reusable test modules and test cases. You can parameterize
your test data, making it easy to run the same test cases on different app versions.
TOSCA also provides support for capturing and validating mobile app elements,
enabling comprehensive regression testing with minimal manual effort.
Answer: TOSCA supports cross-platform testing by providing modules and test cases
that can be designed to work with both Android and iOS. Challenges may include
handling platform-specific elements, maintaining separate test data for each
platform, and synchronizing test execution across different devices and operating
systems.
Answer: TOSCA Node Types define the characteristics and properties of different
components in an application. They specify the behaviour and attributes of these
components, helping define their role and relationships within the application
topology
Answer: TOSCA manages versioning through the use of template versions. When
changes are made, new versions of templates are created. Existing instances can be
migrated to the new version, ensuring backward compatibility and enabling the
evolution of service templates and application definitions without disrupting existing
deployments.
Answer: A complex TOSCA template for a multi-tier application might consist of web
servers, application servers, and database servers. Each component is represented as
a TOSCA Node Type, and relationships are defined between them. The template
outlines deployment details, configurations, and scaling rules for each tier, creating a
comprehensive blueprint for the application’s structure and behaviour.
Question: You are given a TOSCA service template for a web
application. The template defines a web server and a database
server as two node types. Explain how you would deploy this
application using a TOSCA orchestrator.
Answer: To deploy the web application using a TOSCA orchestrator, you’d follow
these steps: