TOSCA INTERVIEW QUESTIONS
1. A) What is Cross Browser testing
B) Why is it necessary to be done
C) Will Tosca supports Cross Browser testing?
A) Testing a web application in multiple browsers is called Cross
Browser testing.
B) Why it is necessary: To make sure the SUT or web applications works
in multiple browsers and also to check the quality of application, it is
necessary to do the Cross Browser Testing
C) Yes, Tosca Supports CBT
2. How Tosca supports cross browser testing?
For multiple test cases, the browser can be defined only one (that could
be chrome or IE or Mozilla etc...) In that case, we can set Buffer for each
browser and we can perform desired steps in that particular browser.
Example:-
There is a case, where we have to perform 10 steps in Tosca, First 5
should be performed in Chrome and remaining five steps should be
performed in edge [CBT].
This can be achieved by following steps
1. For first five steps that should be performed in chrome are:-
A. Define Buffer Browser value as Chrome by adding Tbox set Buffer
in test case before performing actual steps
B. Define first five steps, this will make the test steps to perform in
edge.
2. For remaining five steps that should be performed in edge should
follow below steps: -
A. Define Buffer Browser value as Edge by adding Tbox set buffer in
Test case
B. Perform remaining steps, this will make the test steps to perform in
edge.
3. How do you test an application that is opened in two tabs in same
browser?
To operate in such cases, we have to add configuration parameter by right
clicking on the module and we have to set the configuration parameter
name as ConstraintIndex and set the value as the number of tab you have
to perform (set value as 1 or 2 to perform actions in 1st tab and 2nd tab
respectively).
There is alternative way to handle multiple tabs
In Test step add Tbox set Buffer module
Then set Buffer name as Index
And add the value as the number of tab
Then navigate to that particular module and add configuration parameter
as ConstraintIndex and define the value as the {B[Index]}
This will set the value of ConstraintIndex
4. How do you close a particular tab when multiple tabs are opened in the
same browser?
5. What is the purpose of Explicit Name and how do you create it and what
will you define the value for it?
6. What are the different sections available in Tosca? And explain each
section elaborately.
Requirements
Test case design
Test cases
Modules
Execution
Issues
2. What are the different types of control Identifications in Tosca?
Identify by Properties.
Identify by Index.
Identify by Anchor.
Identify by Image.
Identify by properties:
If at all Tosca is unable to identify any control uniquely with the properties
that are captured during the scanning, then we can use Identify by properties
and select the required properties to identify the control uniquely so that
Tosca can identify the control and continues the execution.
Identify by Index:
If at all Tosca is unable to identify any control uniquely when we have 1 or
more controls with same labelling, then we can use Identify by Index and
select the Index of that Particular control to Identify the Control uniquely.
Identify by anchor:
If at all Tosca is unable to identify any control uniquely then we can use
Identify by Anchor and Drag and drop the Parent control information to
Anchor drop box to identify the Control uniquely.
Identify by image:
If at all Tosca is unable to identify any control uniquely then by using
Identify by Image we can select particular region in the application to
identify the Control uniquely.
3. What is Module? What are the different types are Modules available in
Tosca?
Module stores controls Information in the form of list of properties and each
test step must be associated with one module and basically there are 2 types
of modules available in Tosca,
Standard Modules.
User defined Modules.
Standard Modules: Standard Modules are the default modules which comes
by default and we can use directly them wherever needed in our test cases,
Ex: OpenUrl, Tbox Wait, Close Browser, etc.
User defined Modules: User defined Modules are the application specific
modules which will be created by Automation test engineers according to
their requirements.
4. What is Verify Action Mode in Tosca?
Verify Action Mode is used to Verify whether the Control is
Exists/Enable/Visible or not and Verify Action Mode is also used to verify
the Inner text of any Control.
5. What is Buffer Action Mode in Tosca?
Buffer is used to store some value, for Ex: We can store innertext of any
control to buffer and we can call that buffer whenever we need to verify
innertext of any control.
There are 2 types of Buffers in Tosca
Static Buffer
Syntax: {B[Buffername]}
Dynamic Buffer
Syntax: {XB[Buffername]}
6. What is TCP?
Test configuration Parameter is used to configure/passing some value to the
parameters and we can call those parameters wherever required.
Syntax: {CP[TCPName]}
7. What is Synchronization Timeout in Tosca?
Synchronization is process of making the Tosca to wait till it identify the
Control, we can set some Timeout duration under
Project>Settings>TBox>Synchronization, So Tosca will wait till that time
duration to identify the Control.
8. What is the difference between Synchronization Timeout and Tbox Wait?
Synchronization timeout will make the Tosca to wait till it Identify the
Control within the specified time, suppose if the control is identified in few
seconds only then it will not wait for remaining time and Tosca will movie to
next step.
But in Case of Tbox wait, it will make the tool to wait entire specified time
forcefully even the control is identified in between.
9. What is Library and Reusable Test Step block?
Reusable Test Step blocks are Reusable scripts which can be created only
under libraries
Usually in any web application we will have some set of actions which needs
to be executed in each and every test scenario, so in this case instead of
creating the same test steps again and again in each Test scenario we will
create the Reusable Test step blocks and We can call those references
wherever it is required.
10.What is Business Parameter?
Creating Business Parameters is the only way to pass different values to the
Reusable test step blocks.
Business Parameter are reusable parameters which can be created only under
the reusable test step blocks, under reusable test step blocks we can create
Business parameters and can link the test step values with the Business
parameters and we can call these Business parameters wherever required and
we can pass the values directly into test cases.
11. How to take the screenshot in Tosca?
Tosca provides a Standard module called Tbox Take screenshot, we can add
this TBox Take Screenshot within the test cases wherever it is required, one
need to give environment as Desktop, Directory location and file name, so
that Tosca will save the screenshot on that particular location.
12.How to get the length of the String? The syntax for the length of the
string is
{Calc[Len(“”””StringName””””)]}
{Calc[Len(“”””{XB[Buffername]}””””)]}
13.What is Recovery Scenario?
During the execution if Tosca faces any problematic situations to continue
the execution due to unexpected dialog box or popup windows, by
considering these problematic situations we can create the possible required
Recovery scenarios to that Test case, so during the execution if Tosca get any
need of those Recovery scenarios, Tosca will be using them and continue
with the execution.
14.What is Cleanup Scenario?
Even if Recovery scenario is also fails to continue the execution and finally
Tosca will go Cleanup Scenario and it will the execute steps mentioned in
the cleanup scenario and it come out from the application.
15.What is the use of Scratch book?
Scratch book is used to perform trial runs while creating the test cases and
Scratch book allows us to execute the scripts in testcases folder level, test
cases level and test step level.
And Scratch book displays the flash status of the execution, and the
execution status will not be stored anywhere if we close the scratch book
status window, we cannot see those result again.
16.What is Rescan in Tosca?
Rescan is used to update the existing user defined modules with the new
attributes and Rescan is also used to update the existing attributes under the
existing modules.
17.What is Regular Expression?
If at all Tosca is unable to Identify the object due to regular changes in any
control’s properties value, then we will replace the constant value with
suitable regular expression (wild card [*]).
18.How to use Mouseover in Tosca?
Directly Tosca cannot scan the attributes present under Mouseover in the
applications in such cases we will go the Advanced view and expand the
Filter items bar and manual select the required item and we will add them to
the Modules.
19.What is the WaitOn Action Mode in Tosca?
WaitOn is used to make the Tosca to wait till it identify the specified control
until the specified time mentioned in Tbox synchronization settings.
WaitOn is a dynamic wait statement, it will just wait till it identify the
control and the will not wait for the complete specified time.
20.What is the use of Tbox Start timer and Tbox Stop Timer?
Tbox Start timer and Tbox Stop Timer is used to measure the execution time
of any test cases, we need to mention Tbox Start timer in the starting of the
testcase and Tbox Stop timer and the end of test case. And we can also insert
a verification point to verify the maximum time.
21.How to fetch the data from Excel in Tosca?
Firstly, we will create the required attributes and instances in excel and then
we will convert the test case to template, we will specify the schema path
with excel location and will update the test step values with the excel
attributes and then we will create the Template Instance and Start the
Instantiation.
22.What is difference between Exists and Visible in Verify Action Mode?
Exists is used to check whether the control is exists (or) not, But Visible is
used to check though the control is exists but still the control is Visible or
not.
23.What is the difference between TCP and Business Parameters?
Both Test Configuration Parameters and Business Parameters are reusable
parameters but if we need to pass different sets of values into Reusable test
step blocks then it is suggested to use Business parameters as once business
parameters are created, we can call those reusable test step blocks wherever
required and pass the different values directly to the test cases.
Whereas if we use TCP, altogether we must create multiple parameters for
multiple set of data, as TCP is a static value.
24.What is the difference in Executing the test case from Scratch book and
Execution list?
If we execute the test case from Scratch book, we will just see the flash
status and once the scratch book is closed, we cannot check the status again
and we cannot download the execution report in scratch book.
If we execute from Execution list, we can keep track of execution status and
we can also download the reports and we can also verify the screenshots in
the reports.
25.What all the applications Tosca can automate other than Web
applications?
Other than Web applications Tosca can also automate SAP applications, API
applications, Desktop applications, Salesforce application etc.
26.Which looping statements are available in Tosca?
Tosca supports DO, and WHILE Statements.
27.What are the different types of Errors in Tosca?
Mainly, there are three types of errors in Tosca.
Verification-Failure: If any verification point is fails, it means if Expected
value and Actual value does not match then Verification will be failed.
User Abort: Abort of the test execution by the user.
Dialog-Failure: During the execution if at all we notice any unexpected
popups and if that stops the execution then we will call it as Dialog failure.
28.Explain how you can use multiple browsers within the same test case?
IF we need to Run the same test case in multiple browsers then we need to
go to TCP and change the Browser to our desired browser and we can run it.
29.How do you Maximize and Minimize the browser?
We have a Standard module called Tbox Window Operation, we can use this
module and can Maximize or Minimize the browser.
30.Can you test Recovery Scenarios in Scratch book?
No, Recovery Scenarios can be executed only from Execution section, we
cannot run Recovery Scenarios from Testcases section.
31.What is Data Driven testing in Tosca?
Performing testing on the same functionality again and again with different
sets of data is known as Data Driven Testing.
Data Driven testing can be done in 2 ways in Tosca,
Testsheet in Test case Design.
Importing the data from Excel sheet.
32.What is Test Mandate in Tosca?
To avoid the overwrite of other tester’s results we will create the test
mandates in execution section and execute the tests under the test mandates.
33.What is Explicit Name?
Generally, Tosca won’t allow us to update test case attribute name in any test
cases, In order to do that we need to add one configuration parameter in
ssociated module attribute i.e., ExplicitName = True, then Tosca allows you
to update testcase attribute name.
34.What is Exploratory scenario in Tosca?
Exploratory testing means learning and testing the application
simultaneously without any requirements.
Exploratory testing is about learning the product, designing, and executing
tests, and interpreting the test results, all at the same time.
35.What are the Dynamic expressions available in Tosca?
Date and Time expressions, Math and Calc Expressions, etc.
36.CI/CD Integration (or) Jenkins Integration:
CI/CD Integration means Jenkins Integration, tell in the interviews that we
didn’t integrate Tosca with Jenkins.
37.Tosca API?
We are doing only web application testing in Tosca, so didn’t get a chance to
work on API testing.
38.Tosca HP- ALM-Integration (or) Jira Integration?
We have not Integrated Tosca with ALM (or) Jira yet, we are manually
opening the ALM for raising the defects.
39.What are Test events in Tosca?
Use below links to explore on Test events,
https://documentation.tricentis.com/tosca/1320/en/content/distributed_execut
ion/ creating_events.htm
https://documentation.tricentis.com/tosca/1420/en/content/distributed_execut
ion/ create_and_execute_testevents.htm
40.What is Action Mode Constraint?
Constraint Action Mode is used to Limit the Search, it can limit the search
until it renders a single element.
41.What is Repetition in Tosca?
Repetitions are used to execute the test steps repeatedly, Repetitions can
apply only for test step folders, one can give the repetition property value in
the test step folder, tosca repeats the execution as per the repetition property
value mentioned in test step folder.
42.How to click on Browser back?
We can use the standard module “Execute JavaScript” to perform browser
back, And we need mention the JavaScript value as window.history.go(-1)
43.What is Cardinality?
If we need any attribute more than one time in the test step, then we can
specify the Cardinality property value as “0-N” in the Module attribute.
44.How to handle multiple tabs in a browser?
In the Module we need to add a Configuration parameter with the property
name as “ConstraintIndex” and with the value as tab number as below.
Ex: ConstraintIndex = 1 (For tab 1)
45.What are the Tosca Automation best practices?
• Use common naming conventions throughout the project.
• Maintain proper folder structure.
• Use libraries reusable scripts for the set of steps needs to be executed in
multiple test cases.
• Check the existing buffers while creating any new buffers, just to ensure
buffers are not override.
46.What are the challenges you faced in Tosca Automation?
• Tosca doesn’t support to run the scripts in different browser resolutions.
(For example if you do Zoom In and Zoom out.)
• Tricentis support team response time is more if there is any dependency
occurs.
47.What is the Tosca version that you are using?
• Tricentis Tosca 14.3
48.What are the components of Tosca?
• Tosca Commander.
• Tosca Executor.
• Tosca XScan (Tosca Wizard)
• Test Repository.
49.What is Check-In and Check-Out in Tosca?
Check-in / Check-out mechanism ensures that users don't interfere with each
other’s work, If one user checkout some testcase, other users can’t access
that testcase until that checked out user check-in backs the testcase.
Check out is used to checkout particular test case. Check out Tree is used to
checkout complete tree. Update All is used to see other user’s updates.
50.Can we compare Pdf using Tosca?
Yes, we can compare 2 pdf files in Tosca by using the standard module
called “1:1 Compare”. In order to compare 2 pdf’s files, Just we need to
mention Reference PDF, Target PDF and Passwords if applicable, and
Accuracy percentage and Excluded Pages.
51.What is Instantiation and Re-Instantiation?
During Instantiation Tosca captures the values from the Test sheet (or) Excel
sheet and creates the template instances for each combinational data.
Whereas Re-Instantiation is used to capture the updated values from Test
sheet (or) Excel sheet.
52.What is Straight through?
Straight through is basically one of the characters for an instance, we must
give the character as Strikethrough only if the format and data both are valid.
53.What Are The Key Features Of Tosca Testsuite?
Script less (No programming language knowledge required)
Model Based (Work based on how your application looks)
UI and Non UI Applications can be automated (Web Applications, XML,
SAP, Mainframe etc)
Can be Integrated with CI Tools like Jenkins using Tosca CI.
54. What Are The Different Tools Under Tosca Testsuite Package?
Tosca Commander (where actual work is done)
Tosca Executor (Used to execute test cases from Tosca commander)
Tosca Wizard (Used to scan applications, to create modules)
Tosca CI (used to integrate with CI tools)
55.What Is Tosca Commander?
This is actual desktop tool where you do your scripting (drag and drop).
56.What Is Model Based Test Technique?
Model-based testing is an application of model-based design for designing
and optionally also executing artifacts to perform software testing or
system testing. Models can be used to represent the desired behavior of a
system under test (SUT), or to represent testing strategies and a test
environment.
57.How Does Tosca Testsuite Support Model Based And Risk Based Testing?
Tricentis Tosca helps you to define your test cases by first scanning the
application. The automation model contains the automation logic which is
decoupled from the test logic specified as a test case. Once the required
models are defined, they can be used to execute both manual and automated
test cases with input & verification data. These models are dynamic,
synchronized with the application under test, and can be updated to reflect
any changes in the application, thereby eliminating the maintenance
challenges of traditional approaches.
58.What Are The Different Ways To Identify Objects In Tosca Testsuite?
Identify by properties
Identify by Anchor
Identify by image
Identify by index
59.How Does Identification By Anchor Works In Tosca Testsuite?
Identify by anchor means Identify the object / Element uniquely by taking
reference of other uniquely identified object / element.
60.How To Take Screen Shot In Tosca Testsuite?
A standard module is provided by Tricentis to take screenshots. It is present
in standard modules. TBox Takes Screenshot.
61.Explain Recovery Scenario In Tosca Testsuite?
As the name suggests, it is to recover from failure. During the test
execution if your test case fails (that could be due to any reason), the
Recovery scenario is a set of steps to ensure that the next test case after this
failed test case should run properly. there shouldn’t be any impact of this
failed test case on them. In the recovery scenario, we can retry at test case
level, test step level or at test step value level.
In Setting -> TBox -> Recovery. There are two conditions when we can
recover, on dialog failure & on verification failure.
62.What is Tricentis Tosca architecture?
Tricentis Tosca architecture
63.How can we fetch test data from Excel using Tosca?
We can fetch test data from Excel in two ways:
For a single TestCase scenario, we can use TemplateInstance and create a
number of test cases that are needed from the test dataset. It will also import
Excel’s test data and embed them into test cases.
For different TestCases and have to import data from an external source,
then we can use the Excel Engine module (or) we can write our own
keywords using VB script and import the Excel test data
64.Can we perform Excel operations in Tosca?
Yes, we can. Tosca provides standard Excel modules that we have to
import to our workspace. We should also have Microsoft Excel 2003 or
Microsoft Excel 2007 installed on our system for it to work.
65.Explain about Tosca Query Language
Tosca Query Language (TQL) is used to write search queries for searching
through objects, object relations, and object properties within a project.
TQL is context-dependent.
66.What is Test Data Management?
Test Data Management is the process of managing data required to carry
out the TestCases. When a workspace is created, Tosca automatically
establishes a connection to the common repository where the test data
resides. We can even connect to another test data source, we can manually
change the connection string to a different repository.
67.What are the types of errors in Tosca?
Tosca template is a model (or) a structured format that can be reusable for
creating concrete TestCases. The TestCases that have a similar sequence of
steps can be converted to templates.
68.What is the use of Rescan?
Tosca Recan is used for scanning the already scanned module. When you
have a scanned webpage in a test case and if the UI is updated a bit, then
we need to rescan the webpage and add it to the test case.
69.What happens if the recovery scenario fails?
A recovery scenario fails, Tosca moves on to the next higher level recovery
scenario. If all of the recovery scenarios are failed, Tosca reports the test
case as failed.
70.Is Tosca a RPA tool?
Whether your customers exist as separate organizations within your
company or as external B2B relationships, leveraging Tricentis Tosca as a
testing tool and shifting into RPA has many advantages since the majority
of the legwork – such as building the Tosca Modules to help drive the
automation – is done upfront.
71.What is exploratory testing?
Exploratory testing is the process of learning about the product, designing
and executing tests, interpreting test results all at the same time. It is called
a plan-as-you-test approach. It is available under Execution Section in the
Tosca Commander.
72.What is Tosca contiguous integration?
Tosca contiguous integration
73.What is synchronization in Tosca?
Synchronization in Tosca allows the execution of automated TestCases to
be synchronized by using processes and events so it can match the
application speed.
74.How do you make a test step in Tosca?
Tricentis Tosca creates the TestSteps on the basis of the
ModuleAttributes. To create a TestStep for an existing TestCase, drag a
Module onto the TestCase. To select several Modules, press Ctrl and drag
them all onto a TestCase. Alternatively, you can drag the Module(s) onto
a TestCase folder to create a new TestCase.
75.What is the steering parameter in Tosca?
Steering parameters define the behavior of your Bot when it comes to
steering these controls. Changing the behavior of a Module means that the
Bot automatically applies this behavior to all Steps that you create from the
Module. If you have already created Steps from a Module, the Bot also
applies the behavior to them.
76.Can Tosca be used for performance testing?
Reuse SAP functional tests scripts as performance tests through integration
with Worksoft Certify and Tricentis Tosca. Reuse SAP functional tests
scripts as performance tests through integration with Worksoft Certify and
Tricentis Tosca.
77.What is qTest Tricentis?
Tricentis qTest streamlines software testing in agile and DevOps
environments and centralizes testing efforts across the enterprise. By taking
a strategic approach to quality, qTest enables enterprises to develop higher-
quality software, faster, to better support new business models and
customer experiences.
78.How do you click on a picture on Tosca?
In the Advanced View of Tosca XScan, click the Identify by button and
select Image from the dropdown menu to open the Identify by Image
window. Select the control to be identified from a screenshot in the left
pane. Refer to chapter “Image-Based Test Automation” for a detailed
description of the next steps.
79.What is cardinality Tosca?
Cardinality. Specifies how often a XModuleAttribute may be used as a
XTestStepValue in one and the same XTestStep (see “Using
XModuleAttributes repeatedly in the TestCase”).
80.What is test mandate Tosca?
To link your test object to a TestMandate, drag and drop the respective test
object onto the TestMandate. Tosca Commander performs the following
actions: It creates a copy of the test object in the TestMandate.
81.Why buffer is used in Tosca?
Tosca uses the term Buffer to refer to values that can be temporarily saved
in Tosca Commander™ and then used again. These values can be either
static or dynamic. There are three different ways to buffer values in Tosca:
The values of controls can be read or verified and written into the Settings
dialog as a buffer.
82.Define a complete success guide for Tosca?
Complete success guide for Tosca
83.Is Tosca open source?
Tosca automation tool is a licensed tool and Selenium is an open-source
automation testing tool. The amount of coding involved in Tosca is 0.
Selenium doesn’t have any specific or particular framework. The object
libraries are available to manage a large number of scripts.
84.What is Tosca architecture?
Tosca is an OASIS open standard that defines the interoperable description
of services and applications hosted on the cloud and elsewhere; including
their components, relationships, dependencies, requirements, and
capabilities, thereby enabling portability and automated management
across cloud providers regardless
85.Can we code in Tosca?
You can also copy and paste code snippets or even entire code snippet
groups via the clipboard. Tosca TDM Studio remembers the order of the
groups and of the code snippets in the groups from one session to the next.
The context menu also contains options for viewing and for editing an
individual code snippet.
86.Is Tosca a test management tool?
Features. Tosca combines test data management and Test Data Service
(TDS) to help teams create, design, locate, manage, and provision stateful
test data, even for the most complex end-to-end scenarios.
87.Why is Tosca Tricentis?
Tricentis Tosca optimizes and accelerates end-to-end testing of your entire
digital landscape. Its codeless, AI-powered approach accelerates
innovation across your enterprise by taking the bottlenecks out of testing
and the risks out of software releases.
88.Does Tosca support desktop applications?
Desktop. Automate test across a wide range of desktop applications,
including. Net, Java, WPF, and Windows 10.
89.What does Tricentis do?
Tricentis is a software testing company founded in 2007 and headquartered
in Vienna, Austria and Mountain View, California. It provides software
testing automation and software quality assurance products for enterprise
software.
90.What is Tricentis RPA?
Tricentis RPA consists of Tricentis RPA Studio and Tricentis Orchestrator.
RPA Studio is a workspace to design, implement and test bots. RPA
Orchestrator enables users to run bots on-demand, distribute bots to agents,
monitor and maintain agents, and generate reports as well as audit logs
91.What is a subset in Tosca?
Tricentis Tosca provides the subset interface to transfer data from one project
to another. For instance, you can copy data from single user projects to multi-
user projects. In addition, you can export specific parts of a project into
another project.
92.What is the simplified architecture of the usage of Tosca?
Ans:
Architecture of the usage of Tosca
93.Is Tosca paid tool?
Ans:
Tosca automation tool is a PAID TOOL, which comes at a reasonable cost
compared to other paid tools in the market. Most of the testers in the current
generation do not mind paying a small amount of money to save time and
effort. The tool works based on the linear expansion or LinearQ (SM)
methodology.
94.Is Tosca better than selenium?
Ans:
It lacks built-in reporting. In comparison to Selenium, Tosca’s test cases
are highly reusable. Selenium’s test cases are not easily reusable. Tosca is
equipped to perform SAP impact assessment, data warehouse testing, and
exploratory management.
95.Is Tricentis Tosca free?
Ans:
You can view all certification courses we are currently offering for free —
along with the corresponding voucher code — in the Quick Reference
table. You can take as many courses as you’d like through the May 31
deadline — you’ll just need a Tricentis Support Portal account to get
started!
96.Can we use XPath in Tosca?
Ans:
XPath certainly can be used to identify elements of an HTML web UI in
Tosca.
97.How do you drag and drop in Tosca?
Ans:
By holding down the SHIFT and/or CTRL key, you can apply alternative
actions, provided that they are allowed in the respective context. Each
action has its own cursor symbol, the appearance of which depends on the
operating system used.
98.What are the challenges in Tosca?
Ans:
However, there are some generic challenges in the Tosca way of
automation. One of the challenges is heavy dependency on Tricentis
support team for issues faced on real time projects. There are very few open
forums and Teams need to connect with the support team for resolution
which can be time consuming.
99.What is Tosca used for?
Ans:
Tricentis Tosca is a software testing tool that is used to automate end-to-
end testing for software applications.
100. How do you explain the Tosca framework?
Ans:
Tosca is a Continuous Testing platform that accelerates testing to keep pace
with Agile and DevOps. In Tosca there are two different automation
frameworks which can be used to recognize controls and create modules.
Each of which steers different technologies.
101. Which language is used in Tosca?
Ans:
Tricentis Tosca is developed in C# for the majority of its parts
102. What is the Tricentis Tosca components and extension?
Ans:
Tricentis Tosca components and extension
103. How can we run tests in ScratchBook?
Ans:
ScratchBook allows us to perform trial runs on TestCases. We have the
following options to run tests in a ScratchBook, Run objects immediately
upon creation Drag and drop the required objects into the window, arrange
them in a specified order and then run them
104. How can we run ExecutionLists?
Ans:
We can run an ExecutionList by clicking on the Run option in the context
menu of the Tosca Commander. We can also run it by directly pressing on
the F6 key in the Execution section
105. How can we identify objects in Tosca Testsuite?
Ans:
There are 4 ways to identify objects in Tosca;
Identify by properties
Identify by anchor
Identify by image
Identify by index
106. How can we use multiple browsers in the same test case in Tosca?
Ans:
We cannot trigger multiple browsers in Tosca. However, we can perform
cross-browser execution. When we need to automate a TestCase with an
application that has to run on different browsers, then we can use buffers.
Using buffers, we can change the value in the test configuration parameter
at run-time. And then specify which browser needs to be used for each
buffer using the TBox Set Buffer.
107. What is the difference between ExceutionLists and ScratchBook?
ExceutionLists ScratchBook
ExecutionLists are used to Whereas a ScratchBook is used
accumulate completed TestCases for running individual TestCases
upon creation of TestCases or to
and run them at once check TestCases that are still in an
incomplete state.
108. Can Tosca be integrated with Jira?
Yes, we can integrate Tosca and Jira using Tasktop Integration Hub in Tosca
Connect. To improve collaboration between development and the testing
team, Tosca has provided Jira integration. We can synchronize failed tests
in Tosca to defects in Jira.
109. Can we perform a pdf comparison using Tosca?
Yes, the TC PDF Compare from Tosca Exchange Portal can be used for
comparing pdf files. We can give 2 pdf files to be compared to this. The
differences found will be shown in the ExecutionLog once the execution is
completed
110. Can we create TestCase templates manually?
Yes, we can create a TestCase template manually by using the Tosca BI
modules. To create a template, right-click on the test case and select the
“Convert to Template” option in the context menu.
111. What is the need for the test configuration parameter?
The test configuration parameter is used to set values for objects. To
simplify the maintenance of tests and avoid repetitions, we can set the
values to test configuration parameters.
112. What is the architecture of Tbox?
Architecture of Tbox
113. How can we perform API testing?
Ans:
We can perform API testing using Tosca API Scan. With this, we can scan
API definitions and functions of an API. Tosca API Scan can be used to
perform end-to-end testing to verify the performance and error-handling of
an API.
114. How does Tosca Testsuite support Model-Based And Risk-Based
Testing?
Ans:
Tosca describes the test cases by scanning the application. The automation
model contains the logic of automation for the decoupling of the test logic
as defined in the test case. If the appropriate models have been established,
they can be used to perform both automated and manual test cases with
input and verification data.
115. Explain about test configuration parameters?
Ans:
Test configuration parameters can help you customise your tests to set
values. It can also be used for the use of Tosca objects. For the following
Tricentis Tosca objects, you can build test configuration parameters:
Project root element
ExecutionList
Component folder
ExecutionEntry folder
Configurations folder
ExecutionEntry
TestCase folder
ScratchBook
TestCase
TestCase-Design folder
ExecutionList folder
116. Can we compare Pdf using Tosca?
Ans:
Tosca offers us with a standard PDF comparison module. This feature
supports two PDF files to be automatically linked to each other. If any
variations are detected, they will be shown in the ExecutionLog after the
test is run.
117. How can you check if a file exists in a specific directory or not in
Tosca?
Ans:
By using “TBox File Existence,” we can verify whether or not a file exists
in a particular directory. Contains the following attributes:
Directory: The directory to the file to be searched.
File: Name of the file to be reviewed. You may use Verify or WaitOn Action
Modes.
118. What Is Tql? Why Is It Used?
Ans:
Tosca query language (TQL) is a powerful search method by which you
can query on your project to find anything which you want. So here we
need to write the query in the language which the system can understand.
There are various expressions, functions available to write TQL.
119. Have You Done Any Api Testing? Can It Be Done Using Tosca?
Ans:
API Testing can be done by using Tosca Testsuite. Tosca API Scan is to
achieve this. We can either specify the url or file path where the JSON or
XML file (API) is located. We can send the request, verify the response,
and XML structure automatically.
120. What Is Test Data Management (tdm)?
Ans:
Test data management is used to manage the test data needed for test
execution. Test data management is part of the Tricentis Tosca Testsuite
standard installation. Tosca uses the same database as the common
repository does for test data management for DB2, Oracle and MS SQL
Server repositories. For SQLite repositories, a separate TDM repository is
created.
112. What Is C Shell? Have You Used It?
Ans:
TCShell is a command line controlar for Tosca Commander. TC-Shell can
be started from the Windows command line using parameters and
parameter values. The command TCShell.exe starts the TC-Shell. The
TCShell.exe file is located in the following directory:
%Tricentis_HOME%. Executing the TCShell.exe requires that a
workspace is specified. In addition, there are also optional start parameters
available. For this we need to configure “TCShell.exe.config
113. What is the architecture of the Tosca co-design environment?
Architecture of the Tosca co-design environment
114. Tosca Jira Integration?
Tosca Can be integrated with JIRA for defect tracking. We can submit an
issue from Tosca to JIRA & if you want to change the status, then we can
synchronize the issue in Tosca so that that will get reflected in JIRA.
115. Tosca Qc / Alm Integration?
HP Quality Centre is an application which allows Test Cases,
Requirements, Execution Lists and defects to be managed. These objects
can be synchronized with Tosca Commander™ by using Tosca Quality
Centre Integration.
116. What Does Instantiating a Template?
Instantiating template means converting one template test case into
multiple test cases based on the test data which is supplied to the template.
This is how we can achieve data driven testing using Tosca TestSuite.
117. What Is a Template? How to Create Templates?
In general, template is nothing but something in standard format. In Tosca
Testsuite, we can convert a test case to a template so that it can be used for
various data combinations. Templates can use test data from test data
sheets.
118. How Data Driven Testing Is Achieved In Tosca Testsuite?
Data driven testing in Tosca Testsuite can be achieved by using a test sheet
in TestCaseDesign Section. There we can create attributes (Parameters
which need to cover for data driven testing) & Create various instances
(possibilities) for each attribute. Finally generate instances. Create a
template from your test case, attach test data sheet to template & then
instantiate the template.
119. What Is The Advantage Of Linking Test Cases To Requirements In
Tosca Testsuite?
We do link test cases to requirements to keep track of the requirements.
This will let us know that how many requirements are covered, how many
are yet to be covered, for which requirements test cases are successfully
passed, So basically this will give high level picture of requirement
coverage.
120. What Is Tosca Ci? How Will You Execute Your Test Cases From Ci
Tool?
Tosca CI is a continuous Integration concept supported by Tosca
TestSuite. We can execute test cases from CI tools like Jenkins, Bamboo
etc. So this Tosca CI is used to connect your Tosca TestSuite workspace
to Integration tools like Jenkins.
121. What Are Looping Statements Available In Tosca?
Tosca do support looping statements like IF ELSE, Do WHILE. Purpose
of them is the same as how they perform in any programming language.
122. What Do You Mean By Exploratory Testing? How It Is Done Using
Tosca?
Exploratory testing is known as the process of learning the product,
designing test cases, executing test cases and interpreting the test results at
the same time. It is a kind of session which can be scheduled from Tosca
Testsuite & from there we can manage the progress of the team.
123. What is the Tosca continues integration?
Tosca continues integration
124. Difference Between Executing Test Cases In Scratch Book And
Execution list?
Test cases in scratch book Execution list
Both ways are used to run Test We should execute it from the
cases in TOSCA Testsuite. When execution list. Logs are saved
we construct the test case, that
time we can execute it from
scratch book, where no logs are there. Jenkins can execute test
saved. cases from the execution list.
125. How Can You Check If Some File Exist At Some Location?
We can check if a file exists by using file operations. In standard modules
there is a module called – TBox File Existance. Give the file path in
directory and file name. Action mode should be verified.
126. What Is TCP To Set Browser?
TCP is a Test Configuration Parameter & is used to set some value to it
which can be used across the test cases. The TCP to set the browser is
“Browser”. & its value can be Internet Explorer or Chrome or Firefox.
127. How Will You Validate Pdf? Can We Compare Pdf Using Tosca?
Tricentis has provided us with a standard module to perform PDF
comparison. It is present in the AidPack engine under the PDF folder. Name
of that standard module is – TC PDF Compare. In this, we can provide base
file and new file path & can compare. There is also a facility to replace the
text (If you want to ignore something while comparing).
128. Explain String Operations In Tosca Testsuite?
String operations include counting specific character / word in statement,
replacing word with other word, verifying format of some number etc. To
perform string operations, you should have a module AidPack downloaded
and imported in your project. Use the module String operations from
AidPack to perform String operations.
129. Can We Use Ms Excel In Tosca? How?
It is Possible, We can Microsoft Excel in Tosca TestSuite by using Excel
Engine. Various operations like read data, write data in excel can be
performed using excel engine. Excel Engine is not a part of standard
modules, we need to download and then import it. The sequence of
operations (to read / write excel) is – Open Excel workbook, Set Active
workbook, Set Active Worksheet, Excel create range, Set Active range, set
excel header, After all these set of steps, we can have read / write / verify
data in/from excel followed by Closing excel workbook.
130. Have You Done Xml Testing? Is It Possible Using Tosca?
\XML testing is possible by using Tosca Testsuite. We can insert data in
XML and verify data from xml. On the folder, right click, Select scan
application & then select Non UI. You have 2 options there, scan from URL
or scan from file (based on your need).
131. Explain Synchronization In Tosca? Where Is The Setting For
Synchronization?
Synchronization means matching the application speed with automation
tool speed. In Tosca, synchronization can be achieved by using Action
Mode waiton synchronization setting is done under Setting -> TBox – >
synchronization There you can set default synchronization Time out (which
will be applied globally) and synchronization Timeout during waiton.
132. What Is Test Configuration Parameter? Where to Use TCP?
Test Configuration Parameter (TCP) is used to set some specific value to
the number of test cases. For Example – Browser, URL, username &
password etc.
Test configuration parameters can be created for the objects listed below:
Project root element
TestCase folder
TestCase
Execution List folder
Execution List
There are some system defined Test configuration parameters like Browser,
Target Time Format, TDConnection, TestStepRetries and many others.
133. What is perform standalone testing?
Perform standalone testing
134. What Is a Business Parameter? Where To Use Them? Scenario?
Business parameter which is used to pass dynamic values in test step
blocks.
Business parameter is created by Right-clicking on a Reusable TestStep
Block and selecting Create Business Parameter Container from the context
menu.
Example – Let us say a library is created for test step blocks which includes
username and password. But if for a few test cases you wanted to enter
different user names and passwords, then business parameters will help
you.
135. What Is Library Parameter? Where Can We Define Them?
Library parameter is nothing but a business parameter which is used to pass
dynamic values in test step blocks.
Example – Let us say a library is created for test step blocks which includes
username and password. But if for a few test cases you wanted to enter
different user names and passwords, then business parameters will help
you.
136. What Is Action Mode Constraint?
Action mode constraint is used to limit the search. If constraint is specified
along with verify, it will verify only those item where constraint is verified.