- configure your agents
- monitor and recover your agents
- monitor the execution of TestEvents
- cancel the execution of TestEvents
Sunday 21 April 2024
Tosca Distributed Execution SetUp
Monday 15 April 2024
What are the components of TBox?
Tosca XScan:
To assist you in identifying controls in your test application, Tosca XScan provides various identification options. Tosca XScan identifies controls based on their attributes, the default identification method. If controls cannot be uniquely identified by their controls, there are additional ways to identify them.
Controls can be identified in the following ways:
- Identify controls by properties,
- Identify controls via anchor,
- Identify controls by index,
- and Identify controls via an image.
Tosca XML Engine:
Tosca XML Engine 3.0 allows you to modify, create, validate, and verify XML structures. XML elements, CDATA sections, and XML declarations can all have their properties, values, and comments guided at the same time. The Tosca XML Engine 3.0 is included in the basic installation of Tricentis Tosca.
Tosca XBrowser Engine:
Tosca XScan allows you to construct XBrowser Modules for web application testing. You'll need to install the Tosca Automation Extension for your browser to use the XBrowser Engine. Depending on your browser, you can install it immediately or manually.
Tosca Webservice Engine:
Tosca Webservice Engine 3.0 allows you to steer Web Services using HTTP (HTTP). It's possible to guide web services that use SOAP (Simple Object Access Protocol) or REST Webservices (Representational State Transfer). During the basic Tricentis Tosca installation, the Tosca Webservice Engine 3.0 is deployed automatically.
Tosca Mobile Engine:
Tosca Mobile Engine 3.0 from Tricentis allows you to automate the testing of mobile applications. TestCases can be run on various mobile platforms, devices, and applications utilizing various connection methods. The topics in this chapter cover how to set up and run tests with the Mobile Engine 3.0.
Sunday 14 April 2024
How many types of Engines available in Tosca
Types of Modules in Tosca
XModules - Use XEngines which are based on the Tosca TBox Framework.
Tuesday 9 April 2024
Monday 8 April 2024
What are all the Standard Modules available for TDS in Tosca.
- TestData - Find&provide item
- TestData - Create & provide new item
- TestData - Update item
- TestData - Move item to type
- TestData - Delete item
- TestData - Import items
- TestData - Export items
- TestData - Update type
- TestData - Expert module
What are all the Standard Modules available for EXCEL in Tosca.
- TBox Open Excel Workbook
- TBox Close Excel Workbook
- TBox Define Excel Range
- TBox Create Excel Worksheet
- TBox Excel Range Manipulation
- TBox Run Excel Macro
- TBox Delete Excel Worksheet
- TBox Update Excel Worksheet
- TBox Clear Excel Range
- TBox Excel 1:1 File Compare
What are all the Standard Modules available for SAP in Tosca.
What are all the Standard Modules available for Folder Operations in Tosca.
- TBox Create Folder
- TBox Delete Folder
- TBox Copy Folder
- TBox Folder Existence
What are all the Standard Modules available for File Operations in Tosca.
- TBox Image Compare
- TBox File Existence
- TBox File Compare
- TBox Delete File
- TBox Copy File
- TBox Read/Create File
- TBox Append File
- TBox Move/Rename File
What are all the Standard Modules available for Buffer Operations in Tosca.
- TBox Name To Buffer
- TBox Delete Buffer
- TBox Set Buffer
- TBox Partial Buffer
What are all the Standard Modules available for Windows Operations in Tosca Standard Modules.
What are all the Standard Modules available for Windows Operations in Tosca Standard Modules.
- TBox Take Screenshot
- TBox Clipbord
- TBox Send Keys
- TBox Window Operation
- TBox Scroll Window Operation
- TBox Save As
- TBox Dialog
- TBox Context Menu
Thursday 4 April 2024
TQL
Tosca Query language (TQL) is one of the most underrated but powerful query language.
The TQL search is context-dependent. This means that the starting point has an effect on the search to be carried out. A search, which is performed on the basis of a project root element, produces different results from one based on the topmost Module folder.
TQL is deeply rooted in Tosca. Even the normal, Simple Search dialog is based on it.
=>SUBPARTS:TestCase[COUNT("ExecutionEntries")==0]
Q. Below query can be used to identify modules which are not linked to any test steps. This can be more useful to identify ideal module and further those can be used or deleted.
=>SUBPARTS:XModule[COUNT("TestSteps")==0]
OR
->COMPLEMENT(=>SUBPARTS:XModule,=>return SUBPARTS:XModule->TestSteps)
Q. Below query can be used to identify test cases which are not linked to any execution list and which are 3 years old. this can be used to identify scripts which are likely to be deleted due to less usages.
->INTERSECTION(->COMPLEMENT(=>SUBPARTS:TestCase,=>return SUBPARTS:TestCase->ExecutionEntries),=>SUBPARTS:TestCase[CreatedAt <= "6/29/2020 2:14:36 AM"])
Q. Below query can be used to identify test cases that don’t have reusable Test block. as per best practice your test script must have good amount of RTBS for quick maintenance (there can be few exceptions).
->COMPLEMENT(=>SUBPARTS:TestCase,=>SUBPARTS:TestStepFolderReference->TestCase))
Q. Below query can be used to identify duplicate modules (specially standard modules) with same name. this further can be used to cleanup duplicate modules.
=>SUBPARTS:XModule[Name == "OpenUrl"]
Q. Below query can be used to identify requirements that are having zero weightage.
=>SUBPARTS:Requirement[Weight==0]
Tuesday 26 March 2024
What is the difference between TestCase Design and the Test Data Service ?
Control Types in Tosca
- Button
- CheckBox
- Control Groups
- GenericGUI
- Image
- Label
- Link
- ListBox
- Menu
- Radio Button
- Slider
- TabControl
- Table
- TableTreee
- TextBox
- TreeView
- Window
Sunday 24 March 2024
Tosca Frameworks
Tosca frameworks : Tosca has two different automation frameworks for recognizing controls and creating modules.
1. TBox.
2. Classic Framework.
The Tosca TBox framework is used to power UI and non-UI programs like XBrowser, GUI, API, XML, and others. It was written in C#. All other apps that aren't supported by the TBox framework are built using the classic framework. Windows 32, Excel, and other programs are among them. The visual Basic script is used to create the traditional engine.
TBox Framework -
The Tosca TBox framework is the basis for steering all engines 3.0, for both Graphical User Interface (GUI) tests and non-GUI tests. It is built on .NET technology and provides you with additional testing functionalities, such as Business Recovery or XBrowser.
The Tbox framework offers the following advantages over Classic Engines:
- Higher performance in the creation and execution of tests.
- One common interface for all supported technologies
- Easy creation of XModules and TestCases with XScan and Tosca Recorder.
- Common dynamic expressions that behave the same way for all Engines 3.0
- A broader range of ActionModes.
- It is Part of Standard Tosca Installation
- Common interface fpr all technologies.
1. AUTs not recognized by TBox are scanned.
2. Built on VBScript.
3. Comparatively Low Performance.
4. Aid Packs are available for additional set of Modules.
Friday 22 March 2024
What is the difference between reusable component and module ?
What are some strategies for using TOSCA to perform regression testing ?
How does TOSCA handle Integration Testing ?
What are some techniques for optimizing TOSCA test suite Execution performance ?
How does TOSCA facilitate Portability and Interoperability across Cloud platforms. ?
Explain the Concept of TOSCA's risk-based testing ?
What are the different types of TOSCA artifacts ?
How Can you handle data-driven testing for mobile apps in TOSCA ?
Which type of testing are commonly used with TOSCA
What is TCshell ?
Describes the steps involved in creating a mobile test case using TOSCA.
- Define the test objectives and scope.
- Set up a mobile device configurations
- Create a mobile test module in Tosca Commander
- Add test steps for interacting with the mobile app.
- Parameterize and data bind test steps
- Configure device synchronization settings
- Execute and validate the mobile test case.
Loop Statements in tosca
- If Statement
- Do statement
- While statement
What is Business Parameters ?
What is Buffer in TOSCA ?
What does Constraint Action Mode do ?
What is Select Action Mode used For ?
What is TCP ?
Thursday 21 March 2024
How to add Module to a test Step ?
- Drag and Drop the module.
- Right click on Test Case >> Search and Add Test Step (Ctrl+T)
What Object Identification method exists in TOSCA ?
- Identify by Properties
- Identify by Anchor
- Identify by Parent
- Identify by Image
- Identify by Index
What is Execution list ?
- Execute Test Cases and store it.
- Repetition can be used in Execution list to run as many times.
- Section of Test Case can also be imported.
- Execution Command : F6 / Right Click and Click Run.
Different types of Error in TOSCA
- Verification Failure :: Expected output not matching actual output.
- User Abort :: User abouts the execution.
- Dialog Failure :: Interaction between TOSCA and AUT fails. AUT is not steerable as the object/property does not exist or not matching.
- Test configuration errors: These occur if the test environment isn't set up correctly.
- Execution errors: These occur when test cases fail during execution.
- Syntax errors: These occur when there's a mistake in the test data or a keyword is used incorrectly.
- System errors: These occur when there's a system failure or issue.
Benefits of using Tosca as a test automation tool. ?
- Script less automation
- Automation of both UI and Non UI applications
- Provides end to end automation testing features in one tool.
- Dedicated customer support
- Integration with Tricentis products as well as commonly used third party applications like HP-ALM and JIRA.
- Provides in built modules for frequently used automation functions.
- Provides support for common technologies like SAP, Oracle, HTML etc.
- Easy object identification features.
- Reasonable cost and GUI.
- Requirement Traceability and Risk based testing approach.
List out the main Components of TOSCA Test Suite.
- Tosca Commander
- Tosca Executor
- Tosca XScan(Tosca Wizard)
- Test Repository/ Common Repository.
Features of TOSCA
- Model based test automation.
- Drag and drop feature allows script less automation.
- Risk based testing
- Faster execution and continuous testing available to support DEVOPS.
- Maintenance effort is minimal
- Dedicated Support
- Possible to automation both UI and Non UI.
- Exploratory Testing available in which user can record their activity and convert into test cases.
- Distributed Execution.
- Test Data Management.
Wednesday 20 March 2024
Explain the types of Excel modules in TOSCA?
Some of the Tosca Automation Modules are listed below:
- TBox Open Excel Workbook - Used to open or create an Excel file
- TBox Define Excel Range - Used to define a data range in Excel sheet which we want to steer
- TBox Create Excel Worksheet - Used to create a new worksheet
- TBox Delete Excel Worksheet - Used to delete an existing worksheet
- TBox Update Excel Worksheet - Used to update an existing worksheet
- TBox Excel Range Manipulation - Used to manipulate data in an Excel file
- TBox Clear Excel Range - Used to clear data and formatting from a range of cells
- TBox Run Excel Macro - Used to run existing Excel macros
- TBox Close Excel Workbook - Used to close an open workbook and save it
- TBox Excel 1:1 File Compare - Used to compare the cell contents, cell formatting, and objects of two Excel files
Software Bug Life Cycle
🌱 New: The journey begins with the discovery of a new defect during testing. These bugs undergo confirmation and testing as new features are uncovered.
🔖 Assigned: Approved bugs are assigned to the development team for resolution, transitioning the status from New to Assigned.
🚪 Open: Developers initiate analysis and potential bug fixes. If deemed insufficient or requiring further scrutiny, the bug may be moved to subsequent stages like Reject or Not.
🔁 Duplicate: When developers identify defects similar to existing ones, or if they coincide with others, the status is marked as Duplicate.
✅ Fixed: Upon completion of debugging tasks and necessary changes, the defect status is marked as Fixed.
🔍 Pending Retest: Post-fixing, developers provide testers with a defect check. The status remains pending until testers verify the fix.
🔬 Retest: Testers review the defect to ensure it's been appropriately corrected.
🔄 Reopened: If issues persist, developers must recheck and reopen the defect status.
✔️ Verified: If testers encounter no issues after developer-provided testing and believe it's properly addressed, the status becomes Verified or Confirmed.
🔒 Closed: With no lingering issues, testers close the defect status.