TOSCA Interview Questions V1 - Suresh
TOSCA Interview Questions V1 - Suresh
A) 1. It is developed by Tricentis.
3. It includes Tosca Commander, Tosca Executor, Tosca Wizard, Tosca License Configuration,
Tosca Enabler
Tosca Commander
Tosca Executor
Tosca Wizard
Tosca License Configuration
Tosca Enabler
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.
It will maintain all Tosca artifacts (Modules, Test cases, Execution Logs)
Commuter license
Floating license
Node locked license
Cloud license
A)
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
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)
A)
API
Database
Html
File
XML
SAP
JSON etc...
A) Right Click on the Module folder->Select X Scan ->Select Desktop->Scan the screen->Rename the
module name ->Save (UNIQUE IDENTIFICATION)
A)
Value
Action mode
Datatype
Work state
18) What are the test case status are available in TOSCA?
A)
Planned
In progress
Completed
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.
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.
A) Risk is = Frequency*Damage
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
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.
Modules.
Test Case.
Execution Lists.
A) Execution Lists enable you to run your Test Cases and also it facilitates logging the results of
the test execution.
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.
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.
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.
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.
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.
Organization
Development
Management
and Visualization
With respect to the project administration, the Tosca Requirements Management Add-In
creates a link between the following.
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.
Standard modules that include TBOX X-Engines and TBOX Automation Tools.
Virtual folders and
Standard Reports
The host computer stores the TOSCA workspaces and browser client access the host's
workspaces using Web Access application hosted in a web server.
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.
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?
A) Tosca->Settings->Engine
A) By using TBOX Delete buffer we can delete buffer value/In the settings ->Engine also delete
option available to delete buffer values
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)?
1. Below is the Table, how do you find out the first occurrence of “Name21”, is present in the
table?
Notes:
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.
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.
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:
Distributed Execution
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.