Top Tosca Interview Questions (2024) | CodeUsingJava
















Most frequently asked Tosca Interview Questions


  1. What is Tosca Automation Tool?
  2. What are the advantages of Tosca?
  3. Comparison between Tosca and Selenium?
  4. How to Launch multiple browsers in TOSCA?
  5. Which are the different types of Errors in Tosca?
  6. Tosca Reporting allows reports to be created for which object types?
  7. How does Tosca Testsuite supports Model Based and Risk Based Testing?
  8. What are Dynamic Expression available in Tosca?
  9. What are the components of the Tosca Testsuite package?
  10. What are the types of errors in Tosca?
  11. How do we capture program output in Tosca?
  12. What is Test Data Management?
  13. What are the steps to perform Tosca Connect - HP ALM Tosca Integration?
  14. What are the various ways to identify objects in Tosca Testsuite?
  15. Define business parameters in Tosca?
  16. Explain about test configuration parameters?

What is Tosca Automation Tool ?

Tosca is one of the popular Automation tools offered by Tricentis. The major advantage of Tosca is that it provides both performance and queality ricentis Tosca has gained a lot of attention because it offers a good balance between performance and quality. It is a Continuous Testing platform that accelerates testing to keep pace with Agile and DevOps. TOSCA is an automation tool for functional and regression testing of various software products. It also includes GUI, CLI (command line interface), integrated test management, and API.

What are the advantages of Tosca?

  • Multiple Features in One Tool
  • No Scripting Required
  • Scalable
  • Deliver fast feedback for Agile and DevOps
  • Reduce regression testing time to minutes
  • Maximize reuse and maintainability
  • Gain clear insight into business risk
  • Integrate and extend existing test assets


Comparison between Tosca and Selenium?

Tosca Selenium
Licensed Tool Open Source Tool
Need Coding No Coding needed
As it is open source, no dedicated support Good dedicated support
No defined framework Framework is defined


How to Launch multiple browsers in TOSCA?

We cannot trigger multiple browsers in TOSCA, however we can use cross browser execution. For cross browser execution:
  • Create a Test Configuration Parameter "Browser" either at TestCase or at its parent levels.
  • We can choose value InternetExplorer, Firefox, or Chrome.
  • The execution will be triggered on respective browser.

Which are the different types of Errors in Tosca?

In the handling of errors and exceptions, Tosca differentiates between three types of errors:
  • Verification-Failure: verification does not provide the expected results (e.g. an invoice total differs from the TestCase definition).
  • Dialog-Failure: the application wants to steer a control which does either not exist or is not in an operational state. Application errors like crashes or jams (i.e. if the application is not responding) also belong to this category.
  • User Abort: Abort of the test execution by the user

Tosca Reporting allows reports to be created for which object types?

Tosca Reporting allows reports to be created for the following object types -
  • Modules
  • TestCases
  • ExecutionLists
  • ExecutionLogs
  • Requirements (Requirements Management AddIn)
  • Requirement sets (Requirements Management AddIn)

How does Tosca Testsuite supports Model Based and Risk Based Testing?

Tricents Tosca is used for helping us to define our test cases by first scanning the application, it contains the automation logic that is decoupled from the test logic specified as a test case.
The required models are defined, they can be used for executing manual and automated test cases with input and verfication data.They are dynamic, synchronized with the application under tests and also can be updated to reflecting any changes in the application while eliminating the maintenance challeges of traditional approaches.

What are Dynamic Expression available in Tosca?

There are 4 types of Dynamic Expression available in Tosca:
  • Random numbers {RND[]}
  • Random text {RANDOMTEXT[]}
  • Random character strings (16 byte long) {CTMSTMP}
  • Intervals {INT[+/-]} Example - 123,6{INT[+/-5]}

What are the components of the Tosca Testsuite package?

The components of Tosca Testsuite Package are:
Tosca Commander acts like an IDE which is used for creating projects.
Tosca Executor helps in executing the test cases.
Tosca XScan helps in scanning input fields and also in saving the information as modules.
Test Repository helps in saving all the workspaces.


What are the types of errors in Tosca?

There are many types of Errors in Tosca:
Verification Failure - It helps in expecting results that are not attained during verification.
Dialog Failure - It helps in checking application errors such as crashes or jams or tries to go in a path which does not exist.
User Abort - It helps when the users stops the test execution.

How do we capture program output in Tosca?


2016-10-12 09:00:00 INFO [thread-name] MYPROGRAM started
2016-10-12 09:00:01 INFO [thread-name] MYPROGRAM initialisation successful
2016-10-12 09:00:02 INFO [thread-name] MYPROGRAM completed successfully



What is Test Data Management?

Test Management helps us in enabling us to manage the test data needed for execution, it is a part of Tricentis Tosca Testsuite standard installation.It helps in managing, using and reusing test datas.Testers also can access the exact test data required seamlessly for even more complex scenarios and with on demand access in stateful test data.

What are the steps to perform Tosca Connect - HP ALM Tosca Integration?

Steps for performing Tosca Connect are:
Installation of REST API.
Installation of Tasktop with the License Key.
TestCases sync from TOSCA to Test Plan Module in HP ALM.
Execution List sync from TOSCA to Test Lab Module in HP ALM.
Execution Entry and Latest Test Result sync from TOSCA to Test Lab/Test Runs Modules in HP ALM.

What are the various ways to identify objects in Tosca Testsuite?

There are various ways for identifying objects such as:
Identify by properties
Identify by Anchor
Identify by image
Identify by index

Define business parameters in Tosca?

Business Parameters helps in allowing us for steering the values we want in our test cases, it can also be updated if the playload has changed.
It can be defined manually within the module:
XML elements and attributes in the Payload tab
JSON data in the Payload tab
Headers in the Headers list
Parameters in the Params tab
Transport information in requests

Explain about test configuration parameters?

Test Configuration Parameters is used for helping us to customized our tests to set values, it also can be used for the Tosca Objects such as:
Project root element
ExecutionList
Component folder
ExecutionEntry folder
Configurations folder
ExecutionEntry
TestCase folder
ScratchBook
TestCase
TestCase-Design folder