0% found this document useful (0 votes)
82 views18 pages

Your Ultimate Tosca Basics For Interview

Tosca is a model-based test automation tool by Tricentis that facilitates automated functional and regression testing through reusable modules and test cases. Key components include Tosca Commander for project management, Tosca Scan for UI control identification, and various testing strategies like data-driven testing and API testing. The tool supports integration with CI/CD pipelines and offers features like distributed execution, recovery scenarios, and version control through GIT.

Uploaded by

palranjeet2512
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
82 views18 pages

Your Ultimate Tosca Basics For Interview

Tosca is a model-based test automation tool by Tricentis that facilitates automated functional and regression testing through reusable modules and test cases. Key components include Tosca Commander for project management, Tosca Scan for UI control identification, and various testing strategies like data-driven testing and API testing. The tool supports integration with CI/CD pipelines and offers features like distributed execution, recovery scenarios, and version control through GIT.

Uploaded by

palranjeet2512
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 18

Basics of

TOSCA AUTOMATION
By Rupendra Ragala
Basics of Tosca

What is Tosca?
Tosca is a model-based test automation tool
developed by Tricentis. It allows automated functional
and regression testing.

What are Tosca Modules?


Modules are reusable representations of UI or API
elements that Tosca interacts with during execution.

What is Tosca TestCase?


A TestCase is a combination of modules arranged
logically to perform automated steps on an
application.

What is a Tosca Workspace?


It's a working area where all project artifacts like
modules, test cases, and requirements are created
and stored.
What is Tosca Commander?
Tosca Commander is the graphical user interface of
Tosca where you build and manage automation
projects.

What is Tosca Scan?


Tosca Scan identifies UI controls on an application
screen and creates technical modules automatically.

What is a TestSheet in Tosca?


It's part of TDM (Test Data Management) used for
designing and managing test data.

What are Business Components in Tosca?


Reusable parts of business processes used primarily
in test case design and execution.

What is Reusable TestStepBlock in Tosca?


A TestStepBlock that can be reused across multiple
test cases to avoid duplication.
What is the difference between a Module and a TestCase?
Module = Template (how to interact with controls);
TestCase = Logic (what steps to perform).

Explain Tosca's Model-Based Testing.


Instead of scripting, users model the behavior of the
application using modules and data to generate tests
automatically.

What is Data-Driven Testing in Tosca?


Executing the same test case with multiple sets of
data inputs using TestCase templates.

What is an ExecutionList in Tosca?


A collection of test cases prepared for execution.

What is the role of the ScratchBook in Tosca?


Temporary execution space to run and debug test
cases before official execution.
What is a Buffer in Tosca?
Temporary storage during runtime to store values
that can be reused later in test steps.

What is a Business Parameter?


Inputs to business components for data-driven
execution.

Explain ActionModes in Tosca.


Modes like "Input", "Verify", "Buffer", and "WaitOn" that
define the type of operation on a control.

What is Steering Parameter in Tosca?


Used to control the behavior of test steps dynamically
(e.g., WaitTime, ActionMode).

What is the difference between WaitOn and Verify


ActionMode?
WaitOn waits for a condition to occur, Verify checks if
the condition is true.

What are TestCase Templates?


Templates that create multiple test cases from one
design by binding them to datasets.
What is Tosca XScan?
A tool used to scan and capture technical information
from an application to create modules.

What is TBox?
Tosca Box (TBox) is a set of standard modules
provided for common automation actions like clicking,
input, verification, etc.

What is Test Data Service (TDS)?


A service provided by Tosca to manage, create, and
update test data across environments.

What is API Testing in Tosca?


Tosca can automate REST, SOAP, and other API
services without relying on UI.

Can Tosca do Mobile Testing?


Yes, Tosca integrates with Appium for mobile app
testing.
Explain Tosca Distributed Execution (DEX).
Allows execution of tests across multiple machines
simultaneously.

What is Tosca Continuous Integration?


Integrates Tosca with CI/CD tools like Jenkins,
Bamboo for continuous testing.

What are Conditions in Tosca?


Logical branching used in test cases based on certain
conditions (e.g., If/Else).

What is Recovery Scenario in Tosca?


Mechanism to handle unexpected errors or
application crashes during test execution.

What is the difference between Static and Dynamic


Modules?
Static = Controls identified at scan time.
Dynamic = Controls identified at runtime (dynamic ID,
etc.).
What is a Tosca Repository?
Central storage (Database) for all project artifacts to
allow team collaboration.

What types of Automation Engines are there in Tosca?


Classic Engine
XEngines (like XBrowser, XScan)

Explain the Check-in and Check-out concept.


Check-out: Lock an artifact for editing.
Check-in: Save changes back to the repository.

What is a Virtual User (VU)?


Simulated user used in Tosca Distributed Execution
for concurrent test executions.

How can you version control your Tosca artifacts?


Tosca supports GIT integration for version controlling
artifacts.
What is Parameterization in Tosca?
Replacing hardcoded values in tests with dynamic
parameters.

What is the difference between Test Configuration


Parameters (TCP) and ExecutionList Configuration
Parameters (ECP)?
TCP = For design-time configuration;
ECP = For execution-time configuration.

What is the Importance of ExecutionLogs in Tosca?


Detailed logs of each execution, used for
troubleshooting and analysis.

How can you integrate Tosca with ALM/QC?


Using Tosca’s inbuilt integration plugins or TOSCA-
QC Integration.

What is the purpose of the 'TemplateInstance' in Tosca?


Each row of data in a TestCase template generates a
TemplateInstance (individual TestCase).
How will you handle dynamic objects in Tosca?
Use dynamic XPath, identify properties that remain
constant, or use regular expressions.

How do you perform API Chaining in Tosca?


Buffer the output from one API call and input it into
the next API call.

Can Tosca validate Database records? How?


Yes, using Tosca DB Modules to connect and execute
SQL queries.

How do you handle Captcha in Tosca Automation?


Captchas are not automatable directly; handled
through workarounds like disabling them in test
environments.

Explain "Reuse" strategy in Tosca.


Create Reusable TestStepBlocks, Business
Components, and Modules to minimize duplication.
How do you schedule Tosca tests automatically?
Use Tosca Execution Manager (or CI/CD pipelines) to
schedule and trigger tests.

What are different types of Tosca Execution Modes?


Interactive Execution (manual trigger)
Batch Execution (scheduled)
Distributed Execution

What is Service Virtualization in Tosca?


Simulating dependent systems not yet developed or
unavailable using Tosca Virtual Services.

How can you trigger Tosca tests from Jenkins?


Using Tosca CLI (Command Line Interface) and
configuring Jenkins pipelines accordingly.

What are common challenges faced in Tosca


Automation?
Dynamic object identification
Handling frequent UI changes
Data maintenance for large datasets
Tool licensing and infrastructure setup
How do you handle dynamic objects (like dynamic IDs) in
Tosca?
Use dynamic identification methods like wildcards,
regular expressions, or anchor-based identification
inside Tosca XScan.

What would you do if a control is not recognized by Tosca


XScan?
Try using Technical ID Scan (Identify by properties).
Use Anchor-based scanning.
Switch to Automation Engine 3.0 (XEngines) or API
testing if UI fails.

How do you perform API testing in Tosca?


Use Tosca's API modules — create a request module,
configure request headers, body, method, and verify
responses with validations.

What is your strategy for test data management in Tosca?


Use Tosca TDM (Test Data Management) or connect
to external databases, excel files, or TestSheets to
maintain reusable and dynamic data.
How do you achieve data-driven testing in Tosca?
Design a TestCase Template, bind a TestSheet, and
automatically generate multiple test instances for
different data combinations.

How do you handle multi-environment testing (e.g., Dev,


QA, Prod)?
Configure Test Configuration Parameters (TCP) or
Environment Variables to manage environment-
specific values dynamically.

How do you perform database validation in Tosca?


Use DB Modules in Tosca to connect to a database,
run SQL queries, and verify the fetched results against
expected values.

How would you optimize a slow-running Tosca TestCase?


Remove unnecessary waits.
Optimize XPaths and object identification.
Use steering parameters like FastClick or FastInput.
How do you reuse common steps across multiple test
cases?
Create Reusable TestStepBlocks or Business
Components and link them wherever needed.

What if your Tosca test case fails due to unexpected pop-


ups?
Implement Recovery Scenarios to handle unexpected
popups and resume execution.

How do you create a buffer and use it later in Tosca?


Use ActionMode: Buffer to store a value, and
reference it later with {B[BufferName]} syntax.

How do you validate JSON responses in Tosca API


testing?
Parse the response using XPath or JSONPath and
verify individual fields using modules.
What is the way to execute Tosca tests automatically
from Jenkins?
Create a Tosca workspace execution list.
Use Tosca CI/CD command-line utilities
(ToscaCIClient.exe) in Jenkins pipelines.

How do you perform a conditional execution of steps in


Tosca?
Use Conditions and If/Else structures based on values
or system states at runtime.

If an application’s UI changes frequently, how would you


maintain stability in Tosca tests?
Design robust modules using stable properties.
Keep modules separate from logic (modular
approach).
Use dynamic expressions wherever possible.
What steps would you follow to build an API Chain in
Tosca?
Send request 1, capture output in a buffer.
Pass buffered value into request 2.

How do you execute tests on multiple machines using


Tosca?
Set up Distributed Execution (DEX) agents.
Create execution lists and assign them to available
agents.

How would you test a CAPTCHA-protected flow in Tosca?


Disable CAPTCHA in the test environment if possible.
If not, automate only up to the CAPTCHA or manually
intervene.

How do you integrate Tosca with Azure DevOps (ADO)?


Configure ADO pipelines to trigger Tosca CLI
commands or integrate Tosca ExecutionSets with
ADO TestPlans.
How do you debug a failed Tosca test execution?
Review Execution Logs.
Check actual vs expected results.
Debug in ScratchBook by running step-by-step.

What’s the difference between Classic and XScan


engines?
Classic: Old engine, property-based scanning.
XScan/XEngines: Modern, faster, multi-technology
support (Web, Mobile, API).

How do you manage version control for your Tosca


artifacts?
Use Tosca's GIT Integration (or TCS - Tosca
Continuous Synchronization) to manage versions and
branches of Tosca projects.
THANK YOU
FOLLOW ME FOR MORE

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy