0% found this document useful (0 votes)
831 views

Tosca Interview 70 Questions

Uploaded by

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

Tosca Interview 70 Questions

Uploaded by

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

Personal Questions

1.Tell me about yourself?


Myself XXXX , and having around 4.5 years of experience
with around 3 years on Tosca and 1.5 years on manual
testing.
I Have worked on multiple technologies like web
applications, SAP, Mainframe and a bit of API as well.
And also Certified in AS1, AS2, TDS1,TDS2 and AE1.
Have been actively working on creating regression suites and
also setting up the DEX architectures, performing the analysis
and reporting to stake holders.
This is pretty much with regard to my professional expertise.

Previous company ---

If asked tell XXX is client

2.Explain about your project?

1) I have worked on retail application it was related to product e-commerce


application and we had to validate the details of the product, checkout flows
etc.
Also we had the OTC module for SAP where we had created multiple sales
order using for different ship to and sold to parties with different types of
materials.
2) I worked on a banking application where based on the customer types we
used to validate the transaction details against the pdf that was generated.
3) Manual testing I worked on an insurance application where we had to
create multiple quotations for different scenarios with nominees’
guardians for different countries.

3.Which DATABASE SERVER have you used for your Project?


Data base server - MS SQL Server

4. Roles and Responsibilities


I work as an individual contributor and also manage the regression runs for the
particular releases, perform analysis of the failures like actual issues.

5. What are your date-to-date activities in your project?


Understanding the user stories and following the manual Test Cases and preparing
the strategy of Automation.
Identify the Reusable Functions and create reusable libraries in the Test Case
section. Create test Cases using test case templates in the Test case section.
Responsible for running test cases in other environments and posting defects.

6. Tell me about your challenges you have faced?


One of the most important challenges was that Tosca doesn’t support to run the scripts in
different browser resolutions. (For example if you do Zoom In and Zoom out.)
While Using Tosca 11.3 version we had to perform a pdf validation where we are not able
to get the contents since the pdf engine was not present. However with the help of
Tricentis and our .Net team we were able to get a custom module created using Visual
studio and then we were able to retrieve contents of the pdf.
Another important challenge which we faced while moving from one environment to
another, we were not able to get certain objects to be identified in Tosca so we made use
of Regex.
For example we used Regex in case the button was “Submit” and “submit” both were being
identified when we ran them across different environments.

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 real time Questions


What are the components of Tosca?
Tosca Commander.

Tosca Executor.

Tosca XScan (Tosca

Wizard) Test Repository.

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 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.

Test Configuration Parameters:


➢ Test configuration parameters can be used to pass specific values to various Testcases.
➢ Test Configuration Parameters are nothing but variables, which we can pass to different
test cases.

Test Configuration Parameter Levels


Test configuration parameters can be created in 3 Levels
➢ Project Root Level.
➢ Test case Folder Level
➢ Test case Level

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

How many types of logs are available in tosca?


Actual log and execution log

Retry levels in Recovery scenario?


Testcase, Teststep, Teststep Value , default tosca will take TestCase we need change to TestStep.

What are the steering parameters available in tosca?


Scrolling behaviour, bring to front, bring to back and Top, Bottom and Centre

X and click difference?


X operation is not visible but Click option will be visible on screen mostly prefer X.
What is dex (Tosca Distributed Execution) in tosca?
Dex is distributed execution useful to fasten the execution. Instead of using only one server tosca
will use agent machines on that network to reduce the execution time

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.

What is Test Data Management?

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

from the TDM repository using the TDM connection .

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

used for this purpose .

Types of Action Modes?

Action Modes in Tosca


● The ActionMode Select allows you to select specified nodes
● The ActionMode Input can be used to transfer values to the test object. This can,
for example, include the input of values into an Editbox, clicking buttons or
selecting a ComboBox, etc.

Action Mode For Dynamic Buffer


Action mode for XBuffer should be: Verify-Syntax for XBuffer: {XB[]}

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 identifies the control and it will not wait
for the complete specified time.

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.

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.
# - Including Header
$ - Excluding Header

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.

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.

What is the difference between Synchronization Timeout and Tbox Wait?

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.

What is the 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.

What is the 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 testcases.

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.

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 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.

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.

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.

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

How to use Mouseover in Tosca?


Directly Tosca cannot scan the attributes present under Mouseover in the applications. In such
cases we will go to the Advanced view and expand the Filter items bar and manual select the
required item and we will add them to the Modules.

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 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.

Can you test Recovery Scenarios in a Scratch book?


No, Recovery Scenarios can be executed only from Execution section, we cannot run Recovery
Scenarios from Testcases section.

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.

Test sheet creation:


➢ Create the test sheet.
➢ Create the required Attributes under the test sheet.
➢ If Business Relevance is selected as Yes, then Tosca generates the combinations automatically.
➢ If Business Relevance is selected as No (or) Result, then Tosca will not generate
the combinations automatically.
➢ Business Relevance “Result” is used to perform Verification.
➢ Under the attributes one can create different Instances with following Characters.
Valid, Invalid, Straight Through.

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 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.

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 an 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 Technical ID parameter in associated module attribute i.e.,
ExplicitName = True, then Tosca allows you to update the testcase attribute name.

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.

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.

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)

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.

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.

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.

Can you test Recovery Scenarios in a Scratch book?


No, Recovery Scenarios can be executed only from Execution section, we cannot run Recovery
Scenarios from Testcases section.

Regular Expression in Tosca


➢ Regular Expression is also called as Regex.
➢ During the Execution if at all Tosca is unable to Identify the control due to Regular changes
in its properties value then the best solution to overcome this situation is Replacing the
corresponding constant value with a Suitable Regular expression (*).
What is Damage class?

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).

How much damage will happen if the functionality is not working

What is Frequency class?

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).

How much frequently we use that functionality

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.

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).

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

Syntax – {Date[][+5y+5M-20d][dd/MM/yyyy]} by using this concept we


can go any date or month or year of the fast or future.
First Square bracket will useful for to keep fixed date
Date Time – {DATE [][][] hh:mm}
Small hh means 12hrs and cap HH means 24hrs
Last braket is to change the format of the date. If you want to 11-05-2021 format
key dd-MM-yyyy.
If you want November 20 2021 then you should give MMMMMMMMM dd
yyyy If you want 20 Nov 2022 the you should key dd MMM yyyy

Small tt means AM&PM format, if you want April 20 2021 12:30AM then key

{DATE [][][MMMM dd yyyy hh:mm tt]


Manual Testing Questions
1. Regression Testing

Regression testing is testing existing software applications to make sure


that a change or addition hasn't broken any existing functionality.

2. Retest
performing the testing on the Same functionality again and again with different sets of or
multiple data is called Re- testing

testing a specific bug after it was fixed


To ensure that the defects which were found and posted in the earlier build
were fixed or not in the current build.

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.

5. Difference between Bug and Defect


A Bug is the result of a coding Error and A Defect is a deviation from the Requirements. A
defect does not necessarily mean there is a bug in the code, it could be a function that
was not implemented but defined in the requirements of the software

6. Bug life cycle

7. Severity and Priority

Severity - given by Tester


Severity will be 1-4---1 - Critical

2 – High

3 – Medium

4 - Low

Critical – Nothing can do in application (login link in not working)

Priority – given by Developer


1 - Critical

2 – High

3 – Medium

4 – Low

8. Difference between Quality Control and Quality Assurance

Quality Control Quality Assurance


Quality control is a product-
Quality assurance is a process-
oriented approach of running a
oriented approach that focuses on
program to
making sure that the methods,
determine if it has any defects, as
techniques, and
well as making sure that the
processes used to create quality
software meets all of the
deliverables are applied correctly.
requirements put forth by the
stakeholders
9. What are the different levels of manual testing?

Four levels of manual testing are:

● Unit testing – It is a way of testing the smallest piece of code referred to


as a unit that can be logically isolated in a system. It is mainly focused on the
functional correctness of the standalone module.
● Integration Testing – It is a level of software testing where individual units are
combined and tested to verify if they are working as they intend to when
integrated. The main aim here is to test the interface between the modules.
● System Testing – In system testing all the components of the software are tested
as a whole in order to ensure that the overall product meets the requirements
specified. There are dozens of types of system testing, including usability testing,
regression testing, and functional testing.
● User Acceptance Testing – The final level, acceptance testing, or UAT (user
acceptance testing), determines whether or not the software is ready to be
released.

10. What different types of manual testing are there?


● Black Box Testing
● White Box Testing
● Unit Testing
● System Testing
● Integration Testing
● Acceptance Testing

11. What’s the difference between verification and validation in testing?

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.

12. Functional Testing


FT is done by manual testers. Newly added feature or functionality testing is called
functional testing

You might also like