100% found this document useful (1 vote)
2K views

TOSCA Interview Questions V1 - Suresh

Uploaded by

teja pachuru
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
100% found this document useful (1 vote)
2K views

TOSCA Interview Questions V1 - Suresh

Uploaded by

teja pachuru
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/ 17

TOSCA INTERVIEW QUESTIONS

1) What is Tosca Test suite?

A) 1. It is developed by Tricentis.

2. It is complete Test Management Tool. It covers automation and Test management

3. It includes Tosca Commander, Tosca Executor, Tosca Wizard, Tosca License Configuration,
Tosca Enabler

2) Advantages of using TOSCA?

 Script less tool – No scripting is required


 Supports Multiple environments: Web Applications, Desktop Applications, Mobile Applications,
ERP
 Complete Test management tool
 Model based approach, Script less tool,

3) What are the TOSCA components?


A)

 Tosca Commander
 Tosca Executor
 Tosca Wizard
 Tosca License Configuration
 Tosca Enabler

4) Current Version of TOSCA Test suite?

A) The latest version of TOSCA Test suite is 14.3./ 15

5) What is the functionality of TOSCA Commander?

A) Will use Tosca commander to Maintain the requirements, create the Modules, test cases and
execute test cases. Raise the issues.

Core for TOSCA test suite that enables easy creation, management, execution and analysis of
Test Cases.

6) What is the purpose of Workspace in TOSCA Commander?

It will maintain all Tosca artifacts (Modules, Test cases, Execution Logs)

7) What are the Types of licenses in TOSCA?


A)

 Commuter license
 Floating license
 Node locked license
 Cloud license

8) How Many workspaces are there in TOSCA?

A)

 Single User workspace - Only single user can access


 Multi-User workspace – Multiple users can access at a time

9) When Opening Tosca commander what are the tabs displayed in bottom?

A)

 Test cases
 Modules
 Requirements
 Test case design
 Execution
 Issues
 Configuration
 Test Planning

10) How Many ways we can scan the application?

A)

 TBOX XSCAN
 Classic Engine(Wizard)

11) What are the way to identify object by using TBOX XSCAN?

A)

 Identify by properties
 Identify parent control
 Identify by Anchor
 Identify by Index
 Identify by image

12) After successful installation of TOSCA which .tsu file installed by default?

A) Standard.Tce ->C://toscaprojects//toscacommander//Standard.tsu
13) What are the TBOX automation tools available in TOSCA for performing different operations?

A)

 Basic Window Operations - Tbox Take screenshot, Tbox Sendkeys,


 Buffer operations – Tbox set buffer, Tbox Delete buffer, Tbox partial buffer
 Expression evaluations – Tbox Evaluation tool
 File operations – Tbox file compare, copy file, delete file
 Numeric operations etc …

14) What are TBOX engines/X engines?

A)

 API
 Database
 Html
 File
 XML
 SAP
 JSON etc...

15) What are version controls available in TOSCA?

A) Update all, Checkout, Check in all, Checkout tree


16) How to prepare module

A) Right Click on the Module folder->Select X Scan ->Select Desktop->Scan the screen->Rename the
module name ->Save (UNIQUE IDENTIFICATION)

17) What are tabs in test case section?

A)

 Value
 Action mode
 Datatype
 Work state

18) What are the test case status are available in TOSCA?

A)

 Planned
 In progress
 Completed

19) What is use of Test Case design (Red) section?


A) 1.enables you to put your test cases into a logical structure
B) 2. Will use to maintain the Test data

20) What is attribute in Tosca Test case design sheet?

A) Attributes are used in both Test Sheets and Test Case-Design Classes in order to map the
properties of the Business Objects involved in the Test Case.

21) What is instance in test case design sheet?

A) Test Case-Design Instances define concrete values for a specific Test Sheet, Test Case-Design
Attribute or Test Case-Design Class.

22) What is Test Data Management (TDM) In TOSCA and how can you manage TDM?

A) Test data management serves to manage, use and reuse test data. In addition, a TQL syntax
can be used to search for appropriate objects in the test data repository.

When test data are being managed, the current status (processing history) can be defined.

23) What are the components needed in the requirement set to cover overall Test coverage?

A) Initially need to create Requirement set and need to map the successful execution results
from execution list along with the test cases.

24) What is the option to run execution list?

A) By using Run we can execute test cases in the execution list

25) What is the formulae for risk?

A) Risk is = Frequency*Damage

26) What is recovery scenario?

A) Recovery means the ability of a test tool to react to unexpected situations in the test
execution without aborting tests. Efficient recoveries usually require test object-specific
adaptations. Recoveries can be executed on all operational layers of the business-based object
model, i.e. on Test Case, Test Action and Test case value.

Recovery scenario will trigger only the script execution from Execution list not from Scratch
book.

Need to set Retry level in properties section – Test case, Test Step, Test Step value

Settings -> TBox -> Recovery


27) What is the option should enabled to enable Recovery scenario?

A) Option->Xdefinition->Reovery ->Checkbox enabled

28) What are the operations available to increment values?

A) Math operation available to increment buffer values (Variable values).

29) What is Test case?


A) Test Cases are a series of Test Steps that run from a defined starting point to a defined
ending point. Test Cases are structured with Test Case folders

30) How can you perform test cases as a batch run through Auto- schedule in TOSCA?

A) The TC-Shell is the command-line control of TOSCA Commander and can be started in two
different modes, interactive and script.

TC shell is used by TOSCA commander administrator.

31) What are the Tosca Commander Objects?

A) The TOSCA Commander Objects are,

 Modules.
 Test Case.
 Execution Lists.

32)Explain Execution Lists Icon.

A) Execution Lists enable you to run your Test Cases and also it facilitates logging the results of
the test execution.

33)Advantages of Test Data Management (TDM).


A) Test data management helps in managing the test data needed for test execution.

34). Why model based test automation is required?

A) With the recent trends in the enterprise systems involving agile and scrum methodologies,
test automation tools need to be very comprehensive, adopt itself and remain stable to the
ever-changing environment. TOSCA Test suite follows model based test automation approach
that goes beyond scripting methods, provides cost effective, scalable and comprehensive
testing solutions.

35) Explain Scratch Book functionality in TOSCA?

A) The Scratch Book provides a temporary assistance for executing Test Case subset while
developing Test Cases. Scratch Book enables the partial execution of individual Test Steps.
Scratch Book also facilitates temporary arrangement and execution of Test Cases, so several
Test Cases, Test Steps or test folders could be arranged together in any desired order and can
be executed in Scratch Book.

36) Explain the content of Project root element in TOSCA?

A) The project root element acts as a place holder and contains the folders Execution Lists,
Modules, Reporting, Requirements, Test Case Design and Test Cases and Issues

By default, the project root element is named after the workspace and it can be changed at any
time. The element can be explored using the project window as shown in the picture.

37) Describe Execution Lists in TOSCA?


A) Test Cases are grouped into Execution Lists and can be organized using Execution List folders
or Execution Entry folders.
There are two types of Execution Entry folders.

1. Synchronous Execution Entry folders are linked to Test Case folders.


2. Asynchronous Execution Entry folders are created manually.

Each Test Case is listed as an Execution Entry in the Execution List.

38) Explain Non-GUI based application testing using TOSCA.

A) TOSCA enables GUI as well as non-GUI based application testing. TOSCA allows non-GUI web-
services testing that includes SOAP based services and restful services.

39) Could you please explain in briefly what is model based automation framework?

A) Model-Based Test Automation facilitates agility and efficiency to your testing practice and
shorten your testing cycle.
Model-Based Test Automation model contains all the required information for steering
the system under test (without the requirement for scripting or coding) and separately the test
cases are written and maintained in plain-English which is maintained and used by business
professional. It is only at the point of execution that the business logic contained in the test
cases is combined with the steering information contained in the automation model to act
upon the system under test.

Model-based test automation provides a more scalable, robust and cost-effective approach to
software testing.

40) What are the organizational units of testing process in TOSCA?

A) Testing process is designed within a software testing project and it consists of the following
organizational units.

 Test planning
 Test specification
 Test execution
 Test logging
 Test analysis.

41). Advantages of using Requirements Management Add-In in TOSCA?

A) The Tosca Requirements Management Add-In for Tosca Commander facilitates

 Organization
 Development
 Management
 and Visualization

of various functional fields and requirements of software test projects.

With respect to the project administration, the Tosca Requirements Management Add-In
creates a link between the following.

 Required Test Cases


 Created Test Cases
 Executed Test Cases
 Test results.

42) What are the components of Default objects in TOSCA?

A) When a workspace is created in TOSCA test suite, the Default objects could be automatically
imported or manually using the import subset feature. The Default objects are stored in the file
standard.tce and is located under %TRICENTIS_PROJECT%\Tosca commander folder.

The components of the Default objects are,

 Standard modules that include TBOX X-Engines and TBOX Automation Tools.
 Virtual folders and
 Standard Reports

43) Explain Tosca Web Access?


A) Tosca Commander Web Access is a web application developed by Tricentis which allows
Tosca Commander work spaces to be accessed/edited in a web browser without having to
install Tricentis Tosca Test suite on the local computer.

The host computer stores the TOSCA workspaces and browser client access the host's
workspaces using Web Access application hosted in a web server.

44) Explain the different modes of TC Shell.


A) TC shell is used by TOSCA commander administrator and there are 2 different modes of
starting TC Shell.

 The interactive mode, preferred by beginners to intermediate users, facilitates the user
with support and options. The user has access to the full range of functionalities of the
GUI version in Tosca Commander.
 The script mode, involves minimal interaction and meant for running the scripts in
automated mode.

45) What are the general naming conventions for the Tosca Execution Frame work?
A) Any project name should adhere to the below naming conventions in TOSCA.

 No special characters including _ (underscore), $.


 Maximum length is 16 characters.
 Camel Case naming.
 Ends with "Engine".

Any Namespaces will follow the below naming conventions in TOSCA.

 Root name space has to be the project name.


 Must be project-root for COM-visible classes as there is no name space support in COM.

46) What is the approach if we are not able to identify object by using XSCAN / Wizard (Classic
Engine)?

A) We need to go for the custom control if we are not able to identify object in TOSCA?

47) Where we can see Buffer values?

A) Tosca->Settings->Engine

48) How to delete buffer values?

A) By using TBOX Delete buffer we can delete buffer value/In the settings ->Engine also delete
option available to delete buffer values

49) What is Reusable Test blocks?

A) Reusable Test Step Blocks and their references contain Test Steps which can be managed
centrally. They are created and managed with Test Step Libraries.

50) What is the use of Business parameters in Reusable Test Step Blocks (RTB)?

A) Business parameters serve to display a summary of the relevant business-based information


from a Reusable Test Step Block. Dynamic values are displayed and managed separated from
the Test Step Values. Business parameter values are defined in the appropriate reference.

51) What is the use of Test configuration parameter?


A) In Tosca, test configuration parameters can be used to apply specific values to various Test
Cases. These values are for instance

 Test object versions such as release numbers


 Identifiers of various test environments, e.g Windows 7
 Connection identifiers (URLs, parameters)
 Business process chain identifiers
52) How to take particular string/value from the given string?
A) By using partial buffer we can do it.
53) Can we change runtime properties in TOSCA?
A) Yes, we can change it.
54) How can we get Repetition option in the test case? How to use?
A) Right click in the column chooser and select repetition option.

1. Below is the Table, how do you find out the first occurrence of “Name21”, is present in the
table?

Notes:

The row in which the “Name21” will change dynamically

The number of times “Name21” present will change dynamically

COLUMN 1 COLUMN 2 COLUMN 3 COLUMN 4 COLUMN 5 COLUMN 6 COLUMN 7


Name11 Name21 Name31 Value11 Value21 Value31 Value41
Name12 Name21 Name32 Value42 Value52 Value62 Value72
Name13 Name23 Name33 Value43 Value53 Value63 Value73
Name14 Name24 Name34 Value44 Value54 Value64 Value74
Answer:

I will use ExplicitName concept, at row level, I will put #1 for checking the first occurrence along with
constraint action mode with “Name21” in value field.

Follow up question: what is ExplicitName, at which level do you use it in this scenario?

Answer: ExplicitName is a configuration parameter at Module Attribute Level, for rows and columns of
table control it is set by default with rows and column names after the scanning is completed.

2. A control that is scanned is not working at Test Step level, the reason being it is not in the
current page view, how do you solve this issue?
Answer: I will use the steeringparameter “ScrollingBehavior” and give the value “Bottom”.

3. In my scenario, a test case comprises invoking an application and closing it, how do you achieve
it?
Answer: TBox Start Program is the module I use for opening and closing of the application.

4. How do you scan controls in the page, will you create a single module for each control or a
single module for all the controls?
Answer: As per Tosca’s best practices a single module for each control is wrong, and combining
all controls into a single module is also not suggested, if there are few controls in the screen we
can combine all of them into a single module, if there more controls segregated under sections,
then we should them spilt the screen into multiple modules based on the sections.

5. What are conditions in Tosca and where do you use them?


Answer: Conditions are a means of restricting the TestSteps based on certain criteria, these can
be set in RTBs and Test Cases at
a. Test Step Folder levels
b. Test Step Level
c. Test Step Value Level

6. What is cordinality? What is the use?

Using XModuleAttributes repeatedly in the TestCase


Please proceed as follows to generate several XModuleAttributes in the TestCase:
 Duplicate the TestStepValue several times within the TestStep.
 Use the Cardinality property in the ModuleAttribute to specify repeated usage for a specific
TestStepValue (see chapter "Default properties for Modules").
Right-click on the TestStepValue and select Create XTestStepValue from the context menu to
create further TestStepValues. You can also left-click on the TestStepValue and select
Create Object->XTestStepValue (after this)from the dynamic menu TestCases.
The following values are available for selection:
Cardinality
Cardinality Performance in the XTestStep
0-1 An XTestStepValue is initially created as a wildcard for each XModuleAttribute. Only one XTestSte
1 Exactly one XTestStepValue is created for an XModuleAttribute. The default ActionMode is the va
0-N An XTestStepValue is initially created as a wildcard for each XModuleAttribute. Any number of XT
1-N An XTestStepValue is initially created as a wildcard for each XModuleAttribute. At least one XTest
Property Cardinality

7. What is Explicit name and advantages?


STEERING A COMBOBOX BY INDEX
This article will teach you how to set a value in a ComboBox using its index position.

SITUATION
 You want to select a value in a ComboBox using its Index instead of its name.

SOLUTION
This will show you how to create the module for the combobox, as well as multiple ways to
select the element of your choice.
1. Scan the module that contains the ListBox using XScan and select the Combobox:
2. Expand the filter of the ComboBox until you see a selection and select it for the module
(It is Important that this control is NOT uniquely identifiable, so that it can be Identified later
using ExplicitName). Then save the module.

This is how you create the module.


You now have multiple ways to steer the module to choose what you want. You can use a
Business Parameter called ExplicitName, and set its value to be what index you want the
option to select.

You can set the Item Name to the Index of your choice, the Value to Selected = True, and
the ActionMode to Input as shown here:

8. What is Distributed Execution?


Tosca Distributed Execution is provided for multiuser environments that use a
common repository.
Distributed Execution
Tosca Distributed Execution boosts the performance of large test sets by distributing your tests
across all available computing resources:
 computers in your network
 virtual machines
 the cloud
Tosca Distributed Execution is provided for multiuser environments that use a common
repository.
Keep track of your tests as described in chapter "Monitoring test executions in Tosca Event
Monitor".
To run user interface tests on agents with a locked screen, see chapter "Unattended Execution".

How Tosca Distributed Execution works


A tester creates a TestEvent in Tosca Commander.
Once the tester presses Execute now, the system forwards the TestEvent and its
ExecutionLists to the Tosca Distribution Server.
The Tosca Distribution Agents synchronize with the Tosca Distribution Server on a regular
basis.
Once an agent contacts the server, the server hands over the first ExecutionList of the
TestEvent to this agent. As soon as the next agent contacts the server, the server hands over
the second ExecutionList of the TestEvent to this agent.
If there are no free agents contacting the server, the system puts the ExecutionList into a queue
until an agent becomes available.
Once a Tosca Distribution Agent has executed an ExecutionList, it saves the results to the
common repository.

Distributed Execution

Installing Tosca Distributed Execution


Tosca installs all required files during the Tricentis Tosca standard installation and the Tosca
Server installation.
Unless otherwise stated, all paths refer to a standard installation on your C: drive. This includes
the default paths recommended by Tosca.

Setting up Tosca Distributed Execution


To set up Tosca Distributed Execution, you need to do the following:
 configure the Tosca Distribution Server and the Tosca Distribution Agents
 set up Tosca Commander for distributed execution

Tricentis recommends configuring only one agent for each workstation.

Configuring the server and the agents

To adapt the server and agent configurations to your needs, follow the steps below:
1. Define the server connection to the Tosca Distribution Server.
2. Modify the synchronization interval between server and agent in the Tosca Distribution
Server Web.config file. By default, the interval is set to one minute.
3. To whitelist specific user domains, enable LDAP Agent Authorization in the Tosca Distribution
Server Web.config file. If you do whitelist specific user domains, only Tosca Distribution
Agents from the specified user domains are accepted by the Tosca Distribution Server.
4. Set up the workspace for each agent and specify the agent-server-connection in the Tosca
Distribution Agent configuration file.
5. Define parameters for the Tosca Distribution Server and the Tosca Distribution Agents. These
parameters specify which TestEvents should be forwarded to which agents.
Additionally, if you want to monitor your tests, configure Tosca Event Monitor.

Setting up Tosca Commander for distributed execution

To set up distributed execution in Tosca Commander, adapt the following objects in


the Execution section:
 Configurations (see chapter "Creating configurations in Tosca Commander")
 TestEvents (see chapter "Creating and executing test events")
The objects Configuration and TestEvent may exist only once within an Execution folder. If
you create a new Execution folder in a ComponentFolder, the system creates these objects
automatically.

9. How to create duplicate execution list?


10. How to create Recovery scenario?
11. How to do the Repetitions?
How to close the application if any error occurs?
Use “TBOX start program” module

You might also like