1. Interview Questions
1. What are the different sections available in tosca?
➢ Requirements – Yellow
➢ Test case design - Red Colour
➢ Test cases – Gray Green
➢ Modules - Orange
➢ Execution - Green
➢ Issues - Blue
And explain each section elaborately.
2. What are the different types of control Identifications in Tosca?
➢ Identify by Properties.
➢ Identify by Index.
➢ Identify by Anchor.
➢ Identify by Image.
Identify by properties: If at all tosca is unable to identify any control uniquely with the
properties that are captured during the scanning, then we can use Identify by properties and
select the required properties to identify the control uniquely so that Tosca can identify the
control and continues the execution.
Identify by Index: If at all tosca is unable to identify any control uniquely when we have 1 or
more controls with same labelling, then we can use Identify by Index and select the Index of
that Particular control to Identify the Control uniquely.
Identify by anchor: If at all tosca is unable to identify any control uniquely then we can use
Identify by Anchor and Drag and drop the Parent control information to Anchor dropbox to
identify the Control uniquely.
Identify by image: If at all tosca is unable to identify any control uniquely then by using
Identify by Image we can select particular region in the application to identify the Control
uniquely.
3. What is Module? What are the different types are Modules available in Tosca?
Module are used to stores controls Information in the form of list of properties. Modules plays
key role in the identifying the controls during execution, and each test step must be associated
with one module and basically there are 2 types of modules available in Tosca, ➢ Standard
Modules.
➢ User defined Modules.
2. Standard Modules: Standard Modules are the default modules which comes by default and
we can use directly them wherever needed in our test cases, Ex: OpenUrl, Tbox Wait, Close
Browser, etc.
Right click on test case…search and add test step
User defined Modules: User defined Modules are the application specific modules which will
be created by Automation test engineers according to their requirements.
4. What is Verify Action Mode in Tosca?
Verify Action Mode is used to Verify whether the Control is Exists/Enable/Visible or not and
Verify Action Mode is also used to verify the Inner text of any Control.
5. What is Buffer Action Mode in Tosca?
Buffer is used to store some value, for Ex: We can store innertext of any control to buffer and
we can call that buffer whenever we need to verify innertext of any control.
There are 2 types of Buffers in Tosca
• Static Buffer
o Syntax: {B[Buffername]}
• Dynamic Buffer
o Syntax: {XB[Buffername]}
To see buffers…Tools…buffer view..existing buffers can see here
6. What is TCP?
Test configuration Parameter is used to configure/passing some value to the parameters and
we can call those parameters wherever required.
Syntax: {CP[TCPName]}
7. What is Synchronization Timeout in Tosca?
Synchronization is process of making the Tosca to wait till it identify the Control, we can set
some Timeout duration under Project>Settings>TBox>Synchronization, So Tosca will wait till
that time duration to identify the Control.
8. What is the difference between Synchronization Timeout and Tbox Wait?
Synchronization timeout will make the Tosca to wait till it Identify the Control within the
specified time, suppose if the control is identified in few seconds only then it will not wait for
remaining time and Tosca will movie to next step. But in Case of Tbox wait, it will make the
tool to wait entire specified time forcefully even the control is identified in between.
9. What is Library and Reusable Test Step block?
Reusable Test Step blocks are Reusable scripts which can be created only under libraries
Usually in any web application we will have some set of actions which needs to be executed
3. in each and every test scenario, so in this case instead of creating the same test steps again
and again in each Test scenario we will create the Reusable Test step blocks and We can call
those references wherever it is required.
10. What is Business Parameter?
Business Parameter are reusable parameters which can be created only under the reusable
test step blocks, under reusable test step blocks we can create Business parameters and we
can link the test step values with the Business parameters and we can call these Business
parameters wherever required and we can pass the values directly into testcases.
11. How to take the screenshot in Tosca?
Tosca provides a Standard module called Tbox Take screenshot, we can add this TBox Take
Screenshot within the test cases wherever it is required, one need to give environment as
Desktop, Directory location and file name, so that Tosca will save the screenshot on that
particular location.
12. How to get the length of the String?
The syntax for the length of the string is
{Calc[Len(“”””StringName””””)]}
{Calc[Len(“”””{XB[Buffername]}””””)]}
13. What is Recovery Scenario?
During the execution if Tosca faces any problematic situations to continue the execution due
to unexpected dialog box or popup windows, by considering these problematic situations we
can create the possible required Recovery scenarios to that Test case, so during the execution
if Tosca get any need of those Recovery scenarios, Tosca will be using them and continue with
the execution.
14. What is Cleanup Scenario?
Even if Recovery scenario is also fails to continue the execution and finally Tosca will go
Cleanup Scenario and it will the execute steps mentioned in the cleanup scenario and it come
out from the application.
15. What is the use of Scratch book?
Scratch book is used to perform trial runs while creating the test cases and Scratch book allows
us to execute the scripts in testcases folder level, test cases level and test step level. And
Scratch book displays the flash status of the execution, and the execution status will not be
stored anywhere if we close the scratch book status window, we cannot see those result again.
4. 16. What is Rescan in Tosca?
Rescan is used to update the existing user defined modules with the new attributes and
Rescan is also used to update the existing attributes under the existing modules.
17. What is Regular Expression?
If at all Tosca is unable to Identify the object due to regular changes in any control’s properties
value, then we will replace the constant value with suitable regular expression (wild card [*]).
18. How to use Mouseover in Tosca?
Directly Tosca cannot scan the attributes present under Mouseover in the applications in such
cases we will go the Advanced view and expand the Filter items bar and manual select the
required item and we will add them to the Modules.
19. What is the WaitOn Action Mode in Tosca?
WaitOn is used to make the Tosca to wait till it identify the specified control until the specified
time mentioned in Tbox synchronization settings. WaitOn is a dynamic wait statement, it will
just wait till it identify the control and the will not wait for the complete specified time.
20. What is the use of Tbox Start timer and Tbox Stop Timer?
Tbox Start timer and Tbox Stop Timer is used to measure the execution time of any test cases,
we need to mention Tbox Start timer in the starting of the testcase and Tbox Stop timer and
the end of test case. And we can also insert a verification point to verify the maximum time.
21. How to fetch the data from Excel in Tosca?
Firstly, we will create the required attributes and instances in excel and then we will convert
the test case to template, we will specify the schema path with excel location and will update
the test step values with the excel attributes and then we will create the Template Instance
and Start the Instantiation.
22. What is difference between Exists and Visible in Verify Action Mode?
Exists is used to check whether the control is exists (or) not, But Visible is used to check though
the control is exists but still the control is Visible or not.
23. What is the difference between TCP and Business Parameters?
Both Test Configuration Parameters and Business Parameters are reusable parameters but if
we need to pass different sets of data in different test cases then it is suggested to use
Business parameters as once business parameters are created, we can call those reusable test
step blocks wherever required and pass the different values directly to the test cases. Whereas
if we use TCP, altogether we must create multiple parameters for multiple set of data, as TCP
is a static value.
5. 24. What is difference in Executing the test case from Scratch book and Execution list?
If we execute the test case from Scratch book, we will just see the flash status and once the
scratch book is closed, we cannot check the status again and we cannot download the
execution report in scratch book. If we execute from Execution list, we can keep track of
execution status and we can also download the reports and we can also verify the screenshots
in the reports.
25. What all the applications Tosca can automate other than Web applications?
Other than Web applications Tosca can also automate SAP applications, API applications,
Desktop applications, Salesforce application etc.
26. Which looping statements are available in Tosca?
Tosca supports IF, DO, and WHILE Statements.
27. What are the different types of Errors in Tosca?
Mainly, there are three types of errors in Tosca.
Verification-Failure: If any verification point is fails, it means if Expected value and Actual
value does not match then Verification will be failed.
User Abort: Abort of the test execution by the user.
Dialog-Failure: During the execution if at all we notice any unexpected popups and if that
stops the execution then we will call it as Dialog failure.
28. Explain how you can use multiple browsers within the same test case?
IF we need to Run the same test case in multiple browsers then we need to go to TCP and
change the Browser to our desired browser and we can run it.
29. How do you Maximize and Minimize the browser?
We have a Standard module called Tbox Window Operation, we can use this module and can
Maximize or Minimize the browser.
30. Can you test Recovery Scenarios in Scratch book?
No, Recovery Scenarios can be executed only from Execution section, we cannot run Recovery
Scenarios from Testcases section.
31. What is Data Driven testing in Tosca?
Performing testing on the same functionality again and again with different sets of data is
known as Data Driven Testing. Data Driven testing can be done in 2 ways in Tosca,
➢ Testsheet in Test case Design.
➢ Importing the data from Excel sheet.
6. 32. What is Test Mandate in Tosca?
To avoid the overwrite of other tester’s results we will create the test mandates in execution
section and execute the tests under the test mandates.
33. What is Explicit Name?
Generally, Tosca won’t allow us to update test case attribute name in any test cases, In order
to do that we need to add one Technical ID parameter in associated module attribute i.e.,
ExplicitName = True, then Tosca allows you to update testcase attribute name.
34. What is Exploratory scenario in Tosca?
Exploratory testing means learning and testing the application simultaneously without any
requirements. Exploratory testing is about learning the product, designing, and executing
tests, and interpreting the test results, all at the same time.
35. What are the Dynamic expressions available in Tosca?
Date and Time expressions, Math and Calc Expressions, Random Expressions and etc.
{Date[][][MM/dd/yyyy]}
reeddy{RND[3]}@gmail.com
36. CI/CD Integration (or) Jenkins Integration:
CI/CD Integration means Jenkins Integration, tell in the interviews that we didn’t integrate
Tosca with Jenkins.
37. Tosca API?
We are doing only web application testing in Tosca, so didn’t get a chance to work on API
testing.
38. Tosca HP- ALM-Integration?
We have not Integrated Tosca with ALM yet, we are manually opening the ALM for raising the
defects.
39. What are Test events in Tosca?
Use below links to explore on Test events,
https://documentation.tricentis.com/en/1110/content/tosca_commander/creating_events.
htm
https://documentation.tricentis.com/en/1000/content/tchb/creating_events.htm
40. What is Action Mode Constraint?
Constraint Action Mode is used to Limit the Search, it can limit the search until it renders a
single element.
41. What is Repetition in Tosca?
7. Repetitions are used to execute the test steps repeatedly, Repetitions can apply only for test
step folders, one can give the repetition property value in the test step folder, tosca repeats
the execution as per the repetition property value mentioned in test step folder.
42. How to click on Browser back?
We can use the standard module “Execute JavaScript” to perform browser back, And we need
mention the JavaScript value as window.history.go(-1)
43. What is Cardinality?
If we need any attribute more than one time in the test step, then we can specify the
Cardinality property value as “0-N” in the Module attribute.
44. How to handle multiple tabs in a browser?
In the Module we need to add a Configuration parameter with the property name as
“ConstraintIndex” and with the value as tab number as below.
Ex: ConstraintIndex = 1 (For tab 1)
45. What are the Tosca Automation best practices?
• Use common naming conventions throughout the project.
• Maintain proper folder structure.
• Use libraries reusable scripts for the set of steps needs to be executed in multiple test cases.
• Check the existing buffers while creating any new buffers, just to ensure buffers are not
override.
46. What are the challenges you faced in Tosca Automation?
• Tosca doesn’t support to run the scripts in different browser resolutions.
(For example if you do Zoom In and Zoom out.)
• Tricentis support team response time is more if there is any dependency occurs.
47. What is the Tosca version that you are using?
• Tricentis Tosca 13.3
48. What are the components of Tosca?
• Tosca Commander- where actual work is done
• Tosca Executor- execute the testcases to get report/document.
• Tosca XScan (Tosca Wizard)- scan or create user defined modules
• Test Repository- Tosca CI- used to integrate tools.
49. What is Check-In and Check-Out in Tosca?
Check-in / Check-out mechanism ensures that users don't interfere with each other’s work, If
one user checkout some testcase, other users can’t access that testcase until that checked out
8. user check-in backs the testcase. Check out is used to checkout particular test case. Check out
Tree is used to checkout complete tree. Update All is used to see other user’s updates.
50. Can we compare Pdf using Tosca?
Yes, we can compare 2 pdf files in Tosca by using the standard module called “1:1 Compare”.
In order to compare 2 pdf’s files, Just we need to mention Reference PDF, Target PDF and
Passwords if applicable, and Accuracy percentage and Excluded Pages.
51. Tosca Connect: Toscatop/Tosca Connect can be used to integrate tools, it is designed to unity
you people
People, Process and Tools like Jira…etc.
52. TQL: Tosca Quiry Language.
While reporting the bug to developer, your Bug Report should contain the
following information
Defect_ID – Unique identification number for the defect.
Defect Description – Detailed description of the Defect including
information about the module in which Defect was found.
Version – Version of the application in which defect was found.
Steps – Detailed steps along with screenshots with which the developer
can reproduce the defects.
Date Raised – Date when the defect is raised
Reference– where in you Provide reference to the documents like .
requirements, design, architecture or maybe even screenshots of the
error to help understand the defect
Detected By – Name/ID of the tester who raised the defect
Status – Status of the defect , more on this later
Fixed by – Name/ID of the developer who fixed it
Date Closed – Date when the defect is closed
Severity which describes the impact of the defect on the application
Priority which is related to defect fixing urgency. Severity Priority could
be High/Medium/Low based on the impact urgency at which the defect
should be fixed respectively