The data-driven-tests tag has no wiki summary.
0
votes
0answers
9 views
Coded ui test result mdf not generated
I have visual studio ultimate 2012 with update 3 installed
I created a coded ui project and ran some tests but the TestResult folder only contains the html results of these tests. I require the mdf ...
1
vote
1answer
297 views
datadriven testing using selenium webdriver
Im using selenium webdriver for automation testing in my company to automate webapplications, but im using id, xpath and all directly without following any framework , so now im in some prob and have ...
0
votes
0answers
72 views
How to handle wait during a datadriven test using testNG in a webdriver script
This is my scenario, i use webdriver with testNG for doing data driven test. I am observing that the data i am 'seeing' in web app which is provided by @dataprovider is missing some value. For exg if ...
3
votes
0answers
79 views
Writing test results back to the TestContext with an Excel WorkSheet as DataSource
We have a lot of tests where the test data is stored in Excel. I created testmethods where the Excel sheets are connected as a DataSource to the TestContext.
For convenience reasons, I want to update ...
0
votes
1answer
67 views
How to get current Test Case ID in the mtm for data driven test
I use data driven test and coded ui test. I want to capture current Test Case ID that's current being run in the MTM. How can I do? For example;
...
0
votes
1answer
23 views
Exception while try to get jmeter directory
I would like to start jmeter load test via console but it's Data Driven Load Test, so I need to read some information from csv files. I found a solution to include into User Parameters row to get the ...
0
votes
1answer
30 views
How do you get the iteration's data from TestContext in data driven tests?
How can I get the data from a row in the current running test?
this answers how to get the iteration number ie 0,1,2.. of the running test:
int currentIteration = ...
0
votes
1answer
48 views
How to make a random data driven test from CSV file by Jmeter
I have a csv file with a number of rows, and each row has this format:
name,surname,fathername,email,password,phone,longitude,latitude,address,postcode
I would like to create a Jmeter data driven ...
0
votes
1answer
61 views
How to attach data source at class initialize in Unit Test in C#
i am writing Data driven unit tests in C#. I want to attach data source at class level so that all the test will run for set of inputs. Some how the problem is with the TestContext property which i ...
0
votes
2answers
57 views
Selenium 2.0 + Thucydides + Excel
I want to prepare the test where selenium has to read the data (username and password) from excel file and feed them in to login fields.
I'm using thucydides framework with selenium 2.0.
How can I ...
0
votes
1answer
52 views
What is meant by parameterization?
While reading one of the articles for Data Driven Testing, I came across a term 'parametrization of a test'. Could someone explain to me what is meant by parameterization here?
2
votes
1answer
506 views
Why does data driven unit test fail in vs2012 when it worked fine in vs2010?
I have some data driven unit tests that were working just fine in Visual Studio 2010. These tests were implemented using the following pattern.
[TestMethod()]
...
0
votes
1answer
77 views
How do I set a cell value in an Excel file using Sahi Pro _getExcel API?
So here is my script:
//Get a handle to the Excel sheet
var $db = _getExcel("C:\\Users\\datasource.xlsx","Sheet1");
//Get Data
var $rs=$db.getData();
//Set a random number to append to this group ...
0
votes
0answers
27 views
Unable to pull numers string from csv file in process of data driven testing
I am trying to use in the process of data driven testing a csv file data. Letters strings such as name or email pulled ok. But when it comes to numbers it doesn't work.
The file content is:
...
1
vote
1answer
60 views
Data Driven Test Removes Whitespace
I am writing a unit test to test the following method.
public void MyMethod(string parm1)
{
// Validate parm1.
string[] invalidTokens = new string[] { "/", "{", "}", ".", "--", ";", " ", ",", ...