Tosca Interview Questions & Answers

  1. Question 1. What Are The Key Feature Of Tosca Testsuite?

    Answer :

    • 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.
  2. Question 2. What Are The Different Tools Under Tosca Testsuite Package?

    Answer :

    • 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)
  3. LoadRunner Interview Questions

  4. Question 3. What Is Tosca Commander?

    Answer :

    This is actual desktop tool where you do your scripting (drag and drop).

  5. Question 4. What Is Model Based Test Technique?

    Answer :

    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.

  6. LoadRunner Tutorial

  7. Question 5. How Does Tosca Testsuite Supports Model Based And Risk Based Testing?

    Answer :

    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.

  8. XML Interview Questions

  9. Question 6. What Are The Different Ways To Identify Objects In Tosca Testsuite?

    Answer :

    • Identify by properties
    • Identify by Anchor
    • Identify by image
    • Identify by index
  10. Question 7. How Does Identify By Anchor Works In Tosca Testsuite?

    Answer :

    Identify by anchor means Identify the object / Element uniquely by taking reference of other uniquely identified object / element.

  11. XML Tutorial
    ETL Testing Interview Questions

  12. Question 8. How To Take Screen Shot In Tosca Testsuite?

    Answer :

    A standard module is provided by tricentis to take screenshot. It is present in standard modules. TBox TakesScreenshot.

  13. Question 9. Explain Recovery Scenario In Tosca Testsuite?

    Answer :

    As the name suggest, it is to recover from failure. During the test execution if your test case fails (that could be due to any reason), Recovery scenario is a set of steps to ensure that next test case after this failed test case should run properly. there shouldnt be any impact of this failed test case on them. In 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.

  14. Adv Java Interview Questions

  15. Question 10. Explain Cleanup Scenario In Tosca Testsuite?

    Answer :

    Cleanup scenario is a part of recovery scenario and is next step to recovery scenario. Cleanup scenario is invoked when recovery scenario fails.

  16. ETL Testing Tutorial

  17. Question 11. Why Rescan? What Is The Advantage Of Rescan In Tosca Testsuite?

    Answer :

    Module rescan is nothing but scan the already scanned module. Let us say you have already scanned web page. But there is some change and 2 new fields are added which you need to incorporate in your test case. So to get those 2 fields in your already scanned modules & then in your test case, you need to rescan the module.

  18. Agile Testing Interview Questions

  19. Question 12. What Do You Mean By Dynamic Expressions?

    Answer :

    Dynamic Expressions basically means its value is generated dynamically, at runtime.

    Example : Runtime date and time.

  20. LoadRunner Interview Questions

  21. Question 13. What Are Dynamic Expression Available In Tosca? Have You Used Then Anytime?

    Answer :

    Random numbers {RND[]}

    Random text {RANDOMTEXT[]}

    Random character strings (16 byte long) {CTMSTMP}

    Intervals {INT[+/-]} Example – 123,6{INT[+/-5]}

    Date expressions

    Time expressions

  22. Adv Java Tutorial

  23. Question 14. What Is Action Mode For Dynamic Buffer?

    Answer :

    Action mode for Xbuffer should be: Verify

    Syntax for XBuffer: {XB[]}

  24. Question 15. Difference Between Buffer And Buffer?

    Answer :

    Buffers are temporarily saved to the section Buffer of the Settings dialog under Settings->Engine.

    To buffer a value in the Settings dialog, a Buffer name and a Buffer value are required. Set the ActionMode to Buffer.

    The XBuffer allows you to read dynamic values of a string and to buffer them using the ActionMode Verify.

    Example: your order no: 12345 is placed successfully

    Now in this case, if you want to get order number only, then we can do this by buffer.

  25. Selenium Interview Questions

  26. Question 16. What Is Action Mode Constraint?

    Answer :

    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.

  27. Agile Testing Tutorial

  28. Question 17. What Is Library Parameter? Where Can We Define Them?

    Answer :

    Library parameter is nothing but business parameter which is used to pass dynamic values in test step blocks.

    Example – Let us say library is created for test step blocks which includes username and password. But if for few test cases you wanted to enter different different user name and passwords, then business parameter will help you.

  29. Database Testing Interview Questions

  30. Question 18. What Is Business Parameter? Where To Use Them? Scenario?

    Answer :

    Business parameter which is used to pass dynamic values in test step blocks.

    Business parameter is created by Right-click on a Reusable TestStep Block and select Create Business Parameter Container from the context menu.

    Example – Let us say library is created for test step blocks which includes user name and password. But if for few test cases you wanted to enter different different user name and passwords, then business parameter will help you.

  31. XML Interview Questions

  32. Question 19. What Is Test Configuration Parameter? Where To Use Tcp?

    Answer :

    Test Configuration Parameter (TCP) is used to set some specific value to 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 other.

  33. Selenium Tutorial

  34. Question 20. Explain Synchronization In Tosca ? Where Is The Setting For Synchronization?

    Answer :

    synchronization means matching the application speed with automation tool speed. In tosca, synchronization can be achieved by using ActionMode 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.

  35. Java Abstraction Interview Questions

  36. Question 21. Have You Done Xml Testing ? Is It Possible Using Tosca?

    Answer :

    XML testing is possible by using TOSCA Testsuite. We can insert data in XML and verify data from xml. On 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).

  37. Question 22. Can We Use Ms Excel In Tosca ? How?

    Answer :

    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.

  38. Database Testing Tutorial

  39. Question 23. Explain String Operations In Tosca Testsuite?

    Answer :

    String operations includes count specific charactor / word in statement, Replacing word with other word, verifying format of some number etc. To perform string operations, you should a module AidPack downloaded and imported in your project. Use the module String operations from AidPack to perform String operations.

  40. Automation Testing Interview Questions

  41. Question 24. How Will You Validate Pdf? Can We Compare Pdf Using Tosca?

    Answer :

    Tricentis has provided us a standard module to perform PDF compare. It is present in AidPack engine under 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 facility to replace the text (If you want to ignore something while comparing).

  42. ETL Testing Interview Questions

  43. Question 25. What Is Tcp To Set Browser?

    Answer :

    TCP is a Test Configuration Parameter & is used to set some value to it which can be used across the test cases. TCP to set browser is “Browser”. & its value can be IntenetExplorer or Chrome or Firefox.

  44. Question 26. How Can You Check If Some File Exist At Some Location?

    Answer :

    We can check if file exist 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 verify.

  45. API testing Interview Questions

  46. Question 27. Difference Between Executing Test Cases In Scratch Book And Executionlist?

    Answer :

    Both ways are used to run Test cases in TOSCA TestSuite. When we construct the test case, that time we can execute it from scratchbook, where no logs are saved. But once test case is ready then you need to move that to execution list & while doing actual test case execution, we should execute it from execution list. Logs are saved there. Jenkins can execute test cases from execution list.

  47. Adv Java Interview Questions

  48. Question 28. What Do You Mean By Exploratory Testing? How It Is Done Using Tosca?

    Answer :

    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 & form there we can manage the progress of the team.

  49. Question 29. What Are Looping Statements Available In Tosca?

    Answer :

    TOSCA do support looping statements like IF ELSE, Do WHILE. Purpose of them is as same as how do they perform in any programming language.

  50. Performance Testing Interview Questions

  51. Question 30. What Is Tosca Ci? How Will You Execute Your Test Cases From Ci Tool?

    Answer :

    TOSCA CI is a continuous Integration concept supported by TOSCA TestSuite. We can execute test cases from CI tool like Jenkins, Bamboo etc. So this TOSCA CI is used to connect your TOSCA TestSuite workspace to Integration tool like Jenkins.

  52. Question 31. What Is Advantage Of Linking Test Cases To Requirements In Tosca Testsuite?

    Answer :

    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.

  53. Question 32. How Data Driven Testing Is Achieved In Tosca Testsuite?

    Answer :

    Data driven testing in TOSCA Testsuite can be achieved by using testsheet in TestCaseDesign Section.There we can create an 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 testcase, attach test data sheet to template & then instantiate the template.

  54. Question 33. What Is Template? How To Create Template?

    Answer :

    In general, template is nothing but something in standard format. In TOSCA TestSuite, we can convert test case to template so that it can be used for various data combinations. Template can use test data from test data sheet.

  55. Agile Testing Interview Questions

  56. Question 34. What Is Mean By Instantiating Template?

    Answer :

    Instantiating template means converting one template test case in to multiple test cases based on the test data which is supplied to template. This is how we can achieve data driven testing using TOSCA TestSuite.

  57. Question 35. Tosca Qc / Alm Integration?

    Answer :

    HP Quality Center is an application which allows TestCases, Requirements, ExecutionLists and defects to be managed. These objects can be synchronized with Tosca Commander™ by using Tosca Quality Center Integration.

  58. Question 36. Tosca Jira Integration?

    Answer :

    TOSCA Can be integrated with JIRA for defect tracking. We can submit issue from from TOSCA to JIRA & if you want to change the status, then we can synchronization issue in TOSCA so that that will get reflected in JIRA.

  59. Selenium Interview Questions

  60. Question 37. What Is Tcshell? Have You Used It?

    Answer :

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

  61. Question 38. What Is Test Data Management (tdm)?

    Answer :

    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.

  62. Question 39. Have You Done Any Api Testing? Can It Be Done Using Tosca?

    Answer :

    API Testing can be done by using TOSCA TestSuite. TOSCA API Scan is to achieve this. We can either specify url or file path where the JSON or XML file (API) is located. We can send the request, verify the response, XML structure automatically.

  63. Question 40. What Is Tql? Why It Is Used?

    Answer :

    Tosca query language (TQL) is a powerful search method by using which you can query on your project to find anything which you want. So here we need to write the query in the the language which system can understand. There are various expressions, functions are available to write TQL.

  64. Database Testing Interview Questions