Tosca Interview 70 Questions
Tosca Interview 70 Questions
what are the frameworks have you worked in your prior projects?
Tosca has its own model based test automation framework where it considers each application
or model be it database, salesforce or any web application, everything is considered as a
separate model for automation using Tosca.
Tosca Executor.
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 continue 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 dropbox 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.
What is Module? What are the different types of 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 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.
What is Rescan?
➢ Rescan is used to update the existing User defined Modules.
➢ By using Rescan one can add the new attributes to the existing User defined Modules.
➢ By using Rescan one can update the existing attributes of any User defined Module.
Tosca Standard Modules - Tbox automation tools and Tbox xEngines & Test data management
How do you define the Test data in Tosca and from where you will pass it?
Test Case Design and Test Data Services
I have taken RTB (Reusable Test Block ) reference in my testcase and I want to add few steps to
it. How can you add it?
By Using resolve references we can add steps in testcase
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.
Test Data Management is used for dynamic Test Data management . It is used to
manage the data which get created during the course of the execution. It consists
of a repository where the Data would reside and we can insert and extract data
It has several standard modules using which we can perform actions with regard to
insertion and retrieval of data . TDM connection is the test configuration parameter
What is the 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 exists but still the control is Visible or not.
Synchronization timeout will make the Tosca to wait till it identifies 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 move to the 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.
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.
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 testcases.
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.
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
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 Dialog failure.
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.
sheet.
Generate Instances:
Generate Instances – All Combinations
➢ It will create all the possible combinations
➢ Generate Instances – Orthogonal
➢ It will not Use duplicate data, It will use each instance only once while generating
the combinations.
➢ Generate Instances – Pairwise
➢ It will first take one pair and then generate the instances.
➢ Generate Instances – Linear Expansion
➢ In order to create the instances in Linear Expansion, every Instance should have at least
one straight through.
What is Strikethrough?
Strikethrough 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.
What is the Test Mandate in Tosca?
➢ In a multiuser workspace, several testers should be able to execute the same tests
simultaneously. They should also be able to execute these tests independently, to not
overwrite other testers' results. You can facilitate this by working with Test Mandates.
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.
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.
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 these values are between 0 to 10 (min to max).
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 these values are between 0 to 10 (min to
max).
DATE Expression – Tosca default date format is DD-MM-YYYY for Date dynamic expression
is simple date syntax - {Date}
Date full Syntax is {Date[][][]}
In Tosca we can change Date format also for that Last square bracket [] will be
useful Syntax - {Date[][][MM/dd/yyyy] {Date[][][dd/MM/yyyy]}
Middle Square bracket will be useful for adding future or fast date
Small tt means AM&PM format, if you want April 20 2021 12:30AM then key
2. Retest
performing the testing on the Same functionality again and again with different sets of or
multiple data is called Re- testing
3. Smoke Testing
Critical functionality is working or not. Those testing is called smoke testing. Smoke
testing will be the initial stage of testing.
4. Sanity Testing
Performing testing on Basic functionality of testing is called Sanity testing.
2 – High
3 – Medium
4 - Low
2 – High
3 – Medium
4 – Low
Verification Validation
It is a static analysis technique. It is a dynamic analysis technique
Here, testing is done without where testing is done by
executing the code. Examples executing the code. Examples
include – Reviews, include functional and non-
Inspection, and walkthrough. functional testing techniques.