This site requires JavaScript to be enabled
IE BUMPER

Logo

Dear Tricentis qTest users,

If you would like to submit a Tricentis qTest ticket,

please use this support request form.

Tosca Version
IncidentLookup using list
Language
How can we help?

Solution Suggestions

Please enter your question to get suggestions.
  Help
IE BUMPER
Categories
Boolean Operators
OR or vertical bar symbol (|)
Finds a match if either the terms exist in a document (a union using sets).
AND
Finds a match if both terms exist in a document (an intersection of sets).
NOT, minus (-), or exclamation point (!)
Excludes documents that contain the term after NOT (a difference of sets).
Wildcards
Asterisk (*)
The asterisk symbol performs a multi character wildcard search.
Percent sign (%)
The percent sign performs a single character wildcard search.
Phrases
Quotation marks (")
Use quotation marks to search for an exact phrase with multiple terms.
For examples and more information look at our Knowledge Base: Advanced Search On The Support Portal
52 results in 4 categories found for while loops
(ca. Seconds)
Results per page

How To: Loop in Tosca

There are 2 basic types of loop in Tosca. Incremental Loops  Some work is executed n times.  Dynamic Loops Some work is executed until some condition (potentially unknown ahead of time) is met (or fails to be met) Incremental Loops Incremen [...]
Number KB0012690
Topic Knowledge Base
Category Guide
State Technical Review
Published 2016-12-12

How-To: Split Single Buffer with Multiple Results up into Several Buffers

This article provides an example how to split a buffer containing multiple results into several buffers containing a single entry. Situation Some operations allow to store multiple results simultaneously to a single buffer. For example, searching a string with regular ex [...]
Number KB0012336
Topic Knowledge Base
Category Troubleshooting
State Technical Review
Published 2016-03-19

Steering HTML Date Pickers / Calendars without customization

This article explains how to dynamically steer custom HTML Date Pickers (Calendars) using standard Tosca functionalities. We will be using the YUI Simple Calendar for our example but the same concepts can be applied to any HTML Date Picker control. Situation HTML Date Pic [...]
Number KB0012504
Topic Knowledge Base
Category Guide
State Approval
Published 2016-07-06

Copying Excel Data to TDM

User wants to copy data from Excel and paste it into the TDM Object Editor Solution : 1. Firstly, you need to download Aid Pack from supprot portal (Version Specific). 2. Within Aid Pack, with help of Excel Engine 3.0 module (Excel Open Workbook, Excel set header etc.) user f [...]
Number KB0013391
Topic Knowledge Base
Category Academy
State Approval
Published

How to get the row count of records in Test data service (TDS)

Situation I want to get the row count of records in TDS.  Solution The simplified version with less TestSteps: Remarks: Optional: It is possible to specify an additional search pattern to only count specific records (e.g. status == "Success") The loop exits au [...]
Number KB0014112
Topic Knowledge Base
Category Guide
State Approval
Published

Iterate TDS records

TDS record iteration Situation I want to use/perform operation on particular record after executing a TDS search query.   Solution We can achieve this using "Alias name (record)" function in TDS, this will allow us to iterate through multiple reco [...]
Number KB0014111
Topic Knowledge Base
Category Guide
State Approval
Published

Using TextStream to generate a text file from Excel Spreadsheet

This article is designed to show you how to write to a file using a Text Stream by pulling the data from an Excel Spreadsheet. Situation Your project may require you to write to a file using the Text Stream Module. You may need to loop through an Excel Spreadsheet to [...]
Number KB0012691
Topic Knowledge Base
Category Best Practice
State Technical Review
Published 2016-12-13

How to get row data and the row number for any column value in excel table

This article explains how to get row data and the row number for any column value in the excel table. Situation I want to get row data(FirstName, LastName) for a particular ID. I want to get the row number for a particular column value in the table. The table looks like [...]
Number KB0014443
Topic Knowledge Base
Category Guide
State Approval
Published

Tricentis Tosca Best Practices - TestCases Section

 The following best practices provide guidelines on how to work with the TestCases section in Tricentis Tosca. To see an overview of all best practices, head on over to our introduction article. You will also find the best practices in a PDF version at the bottom o [...]
Number KB0014228
Topic Knowledge Base
Category Best Practice
State Approval
Published

Copy Excel data from one worksheet/workbook to another worksheet/workbook

Copy Excel data This article contains key examples when user wants to buffer excel data in multiple different buffers for further evaluation on the values. Also, this article would help user when trying to copy data from one worksheet/workbook to another worksheet [...]
Number KB0014190
Topic Knowledge Base
Category Guide
State Approval
Published

Regular Expressions and buffers: extract and store multiple strings

This article provides a guide on how to extract multiple strings from a text using regular expressions and store them to dynamically created buffers. Situation Several strings need to be extracted from a text for later usage. These strings need to be stored in dynamically [...]
Number KB0012364
Topic Knowledge Base
Category Guide
State Published
Published 2016-04-06
Results per page

While loop is not exit

Hello Team, When I am implementing while loop and execute the loop till my table row for ex if my table row count is 4 the loop should execute only 4 times but in my case, it's executing 5 times. Can anyone help me out of this?
Author Ashihs Mishra
Category General Discussion
Published 2018-09-11

What is the best way to come out of a While-Do loop?

Though it's easy to create a While-Do loop, I'm having a tough time coming out of the loop. Can someone assist?  
Author Erich Henderson
Category General Discussion
Published 2018-08-15

Wait Loop for Batch Job Execution on Command Prompt

Hi, Tosca version 10.0 In my application, I have multiple batch job execution that should get invoked one after the other in a sequence and the time taken by each batch job execution varies. In one such scenario where I have a step which has execution of 3 batches, the first t [...]
Author Anand Seshadri Krishnan
Category General Discussion
Published 2017-10-13

GET-Request: Change/modify URL by buffer value

Hi, within my testcase I create in a while-loop diffrent Items in the SystemUnderTest, each with a diffrent <itemID>. I have a GET Request  https://myurl.de/itemID to request the SystemUnderTest, responding me a JSON-Structure. So I can inspect and check those cr [...]
Author Jochen Herrmann
Category Software Testing
Published 2018-08-27

Is there a stop script command?

Is there a command or module I can use to functionally "stop test" or "end testcase" (in QTP, it's "exit test") without intentionally triggering a recovery scenario or crash? As an example, if I successfully detect (using an IF block) that the [...]
Author Mic Terpstra
Category General Discussion
Published 2017-05-08

Exit or Break function

Hi,We don't have or find the Exit or Break function or any other similar function to exit from while loop when the control can come out whenever the require criteria is met before the while condition become true.For Example:I have a table with 300 rows with employee details and I [...]
Author Firoz Shaik Mohammed
Category Great Ideas
Published 2016-02-10

How to verify a field NOT NULL or NOT EMPTY

Hi, There is a table where I want to select (DoubleClick) the row which has a particular cell in that column is NOT NULL. Eg: Select Row4 in the following table as per my condition [NOT NULL] cell in the Column3 I know about handling it using while loops and all, but I reall [...]
Author Hozefa Ali
Category Software Testing
Published 2018-07-25

Verify if application is already runnong

Hi all, In my test precondition I want to add some verification which checks if the a Host application is already running or not. I tried making a Do-While loop.. Loop = Close Host Windows Condition = running Host windows exist   How can I implement the condition [...]
Author Christina Ochsenhofer
Category Software Testing
Published 2016-04-22

How to overcome the non availability of Exit OR Break function in Tosca

Issue: If you are searching for a Exit or Break function/module in Tosca, you would not find one. But there is few way you can overcome this limitation. I am proving just one among them. Idea: You would use a IF statement to overcome this issue. For example, in my working examp [...]
Author Pugazhvanan Ganapathy
Category Great Ideas
Published 2017-06-23

Faster Testing in TOSCA - Some Best Practices

In QA, Testing right is the ultimate goal of software testing as it aims to deliver the ultimate goal of testing, Quality, however that does not imply optimizations and certain practices that may allow for faster execution. One of the most challenging factors for QA teams succes [...]
Author Mo Alhashimi
Category Great Ideas
Published 2019-03-12

Database Testing: How to buffer multiple entries?

Hi Everyone, I am trying to sort out what is the best way to buffer multiple entries, when we are querying for a whole data table from the database using TOSCA. I understand that specifying multiple buffer operations with in the Result Table would be an option. But when we have [...]
Author Gipson Joy
Category General Discussion
Published 2018-04-24

Wait for .vbs to finish

Hi, I have a .vbs file that requires user's input and pass to clipboard. And TOSCA will use use TBox Start Program to invoke the .vbs file then it's supposed to read the content in the clipboard after .vbs is finished. But when I run it, TOSCA won't wait for .vbs to [...]
Author Kailun Liang
Category General Discussion
Published 2018-09-05
Tosca Version
Results per page

Using conditional statements and loops in TestCases

Using conditional statements and loops in TestCases In Tosca, you can define IF, DO and WHILE statements if you would like to run TestSteps with branches or repeatedly. These statements can be applied to any nested structures. If the number of repetitions for a TestStep is known [...]
do | if | while
Version 12.2

Dynamic menu - TestCases

Dynamic menu - TestCases This dynamic menu includes options that can be selected within the TestCases section in Tosca Commander. The Create Folder option in the dynamic menu TestCases provides the following options: Menu options for Create Folder in the dynamic menu TestCases Op [...]
Version 12.2
Tosca Version
Results per page

Loops

Loops Loops are the repeated execution of statements. There are three types of loop in TDM, and they differ in regard to when the conditions for execution are evaluated and how these conditions are managed. Loop with precondition A loop with precondition evaluates the condition b [...]
Version 12.2

Control statements

Control statements Alternatives An alternative is a statement that can contain further statements. These are only executed if a set condition is met. The format is as follows (the line breaks are not mandatory, they were only inserted for improved readability):if Condition then [ [...]
Version 12.2

The project variables

The project variables The project variables are the most substantial part of this project, as the following text shows:// Non-initialized variables: // string journalData; string register; string branch; integer journalRecord = 0; // Initial [...]
Version 12.2

Elements of the Syntax

Elements of the Syntax Keywords Keywords are reserved words which have a special meaning in Tricentis TDM Studio. The keywords used in Tricentis TDM Studio are summarized in the table below: Keyword Context/Meaning See chapter <Task loop>_NUMLOOPS Configurable Task variable Confi [...]
Version 12.2

Times

Times The following chapter provides an overview of the Times functions in alphabetic order. A AddDays Adds the entered number of days to a date.AddDays(time,numDays) This function consists of the following elements: Element Description time The date that the days will be added t [...]
Version 12.2

Frames

Frames The frame settings shown always apply to the selected frame. You can change the name of the frame, by selecting the frame in Project Explorer or in this tree view and then pressing F2. Option Function Frames This element is the same as the Frames element in Project Explore [...]
Version 12.2

Functions (A-E)

Functions (A-E) The following chapter provides an overview of functions in alphabetic order from A to E. A Abs Returns the absolute value of the specified number.Abs(valueappend) This function consists of the following elements: Element Description value A value of the type inte [...]
Version 12.2

Functions (M-Q)

Functions (M-Q) The following chapter provides an overview of functions in alphabetic order from M to Q. M Mask Masks a value.Mask( target, [id], [field, orgValue]) This function consists of the following elements: Element Description target A string that identifies the target t [...]
Version 12.2

Visibility of variables

Visibility of variables This section really belongs with chapter "Working with variables", where working with variables was discussed. However, since you needed to know about loops and alternatives first, we have moved it to the end of the chapter. A variable is always valid for [...]
Version 12.2
IE BUMPER

Tosca is the perfect solution

Optimize - Manage - Automate

Download Trial