Inspirational journeys

Follow the stories of academics and their research expeditions

TOSCA Interview Questions

Shivasai Kumar

Wed, 17 Jul 2024

TOSCA Interview Questions
1. What are Identification Methods in Tosca?

A : We have 5 Types of Identification methods in Tosca.

  1. Identify by Properties by Default Tosca will identify the objects using Properties.
  2. Identify by Anchor : If we are unable to identify the objects uniquely by using properties then we will go with Anchor.
  3. Identify by Index : If we have similar objects with same functionality then we will go with Index.
  4. Parent Control object identification : If the control is unique only in a specific area (e.g. within one container),then this container could be used as a parent control for unique control identification.
    In this case the entire path/tree should be chosen too for the identification
  5. Identify by Image :
2. How to select multiple checkboxes at a timem (or) Selecting multiple items from a drop down?

A : In this case, Just scan one checkbox and select the type property of the checkbox (Note: Please do not uniquely identify it), now save the module.

Once you created the module go to the module attribute-->click on properties tab and change the cardinality property from 0-1 to 0-n.

Also, add a Configuration parameter ExplicitName and set the value to True.

3. What are the areas you have worked on TOSCA?

A : I have worked on Creating Modules and also worked on converting them to Testcases. Also worked on Test case Design Section and also worked on executing the TCD in Execution List.

4. Explain the components of TOSCA?

A : Components are as follows:

  • Tosca Commander.
  • Tosca Executor.
  • Tosca XScan (Tosca Wizard)
  • Test Repository.
5. How to identify by parent?

A : Steps are as follows:

  1. Select the control to identify in XScan.
  2. Locate and select its parent control.
  3. Ensure that the parent control is uniquely identifiable.
6. If I want to run the test cases on multiple machines without overlapping the results what can be done in TOSCA?

A : And if you have large test sets, it simply takes too long to run all of them on one machine.

With Tosca Distributed Execution, you can distribute your tests.

7. Error handling techniques in TOSCA?

A : Tosca exceptions can be handled in two different ways, which can be defined by the Tosca executor start dialog.

The option "Require manual input" will interrupt execution in case of an execption and displays a dialog window.

If the user decides to abort execution the executing line throws a COM exception.

8. Did you used Recovery scenarios?

A : Yes i have used Recovery Scenarios

  1. Can aslo be called as Exceptional Handler in TOSCA
  2. Recovery Scenarios is a group/Collection of Test steps which will be executed by Tosca when some unexpected error occurs during the middle of Execution.
  3. Can also be called as protection to my test cases instead og getting failed.
9. What is scratch book (or) Difference between scratch book and Execution list?

A : The ScratchBook in Tosca Commander is used for running individual TestSteps upon TestCase creation.

You can combine various TestCases, TestSteps and TestCase folders and run them in the ScratchBook.

The quickest way to create an ExecutionList is to drag and drop a TestCase or a TestCases folder onto the ExecutionLists object.

Tosca Commander creates an ExecutionEntry for every TestCase you drag onto an ExecutionList.

10. Explain the use of Cardinality?

A : If we want to perform multiple actiions on a single Functionality then we need to use Cardinality as 0-N from 0-1 Under properties.

11. How to fetch data from Excel?

A : Steps are as follows:

  1. First we will need to create a new project and import the standard modules.
  2. Next, we will drag the Tbox Open Excel Workbook module to our test case.
  3. Drag the Tbox Define Excel Range module into the test case.
12. What are the modules available in TOSCA to read data from DB?

A : TBox DB Open Connection.

TBox DB Current Connection.

TBox DB Close Connection.

TBox DB Run SQL Statement.

TBox DB Expert module.

****How does Tosca connect to database?

A : Steps are as follows:

  1. Set up Tosca BI.
  2. Tosca BI menus and shortcuts.
  3. Create tests with Tosca BI Wizards.
  4. Define connections in the Connection Manager Define connections in the Connection Manager.
  5. The Pre-Screening: File Wizard The Pre-Screening: File Wizard.
  6. The Vital Checks: File to Database Wizard The Vital Checks: File to Database Wizard.
13. What are the Tbox modules you have used?

A : The folder Standard modules->TBox Automation Tools in the Tricentis Tosca Standard subset contains XModules that allow you to perform special execution tasks.

The folder has the following sub-folders:

  • Basic Windows Operations: steer windows and dialogs, take screenshots, or perform clipboard operations.
  • Buffer Operations: save values to Buffers.
  • Expression Evaluation: perform comparisons.
  • File Operations: create, read, copy, compare, or delete files, and verify the existence of files.
  • Folder Operations: copy, or delete folders.
  • Numeric Operations: convert decimal formats.
  • Process Operations: open an application or an executable file.
  • Resource Handling: delete resources.
  • Selenium: start Selenium Testcases directly from Tosca Commander.
  • Timing: measure execution time or set wait times.
14. What is the buffer?

A : Buffer is one of the Action mode, and it is a kind of Temporary Storage, which is used to store any value and can be reuse them

0 Comments

Leave a comment