Search found 3 matches
- Mon Jan 11, 2016 7:52 pm
- Forum: How To …
- Topic: FIltering Test Data with a specific condition
- Replies: 3
- Views: 2621
Re: FIltering Test Data with a specific condition
Here is the code I use for filtering: DataSources.Get("FilteredData").Rows.Clear(); foreach (Ranorex.Core.Data.Row row in DataSources.Get("AllData").Rows) { if (row.Values[0] == TC) { DataSources.Get("FilteredData").Rows.Add(row); } } DataSources.Get("FilteredData").Store();
- Sun Jan 10, 2016 1:41 am
- Forum: How To …
- Topic: FIltering Test Data with a specific condition
- Replies: 3
- Views: 2621
FIltering Test Data with a specific condition
Hi, I am using Ranorex out of functionality to load data from excel. Scenario: I have 4 submodule in my test suite. For one test case.. I need 1 row from the 1st module, 5 rows from 2nd module, 3 rows from 3rd module etc. Currently I am using "foreach" loop to filter the data based on some condition...
- Sun Jan 10, 2016 1:23 am
- Forum: How To …
- Topic: How to trim the data coming from a spread sheet
- Replies: 1
- Views: 2209
How to trim the data coming from a spread sheet
Hi, I am using Ranorex out-of-box functionality for data driven testing (using Data Source/Data Binding options). So far it's working fine and didn't find any problem.. But recently business team started using the ranorex script for loading data. There are many instances where the script is failing ...