Questions tagged [parameterization]

157 questions
0
votes
0 answers

Parameterizing Data Driven test using selenium powershell

My work is requiring me to do a Parameterize search in a web app using different sets of data(names, addresses, etc). I have not been able to find any resources that can help me with this. Does anyone happen to have a resource or knows how it can be…
0
votes
1 answer

JMeter did not execute the properly the # of users using Jenkins parameterization

I set up a Jenkins to integrate the JMeter script. Using the Freestyle project in Jenkins, I enabled "This project is parameterized" to set a String parameters for the Threads, Loop_Count and Think Time. In .jmx file, I used the Function Parameters…
Omeng
  • 33
  • 1
  • 4
0
votes
0 answers

machine learning to parameterize a function f(x) = a*x1 + b*x2 + ... + n*xn

First, I apologize if this question is wrong or has been asked before. I was having trouble searching for answers because parameters are a thing in machine learning but I mean a different kind of parameter, and I don't really know what to search…
Amanda
  • 202
  • 1
  • 3
  • 8
0
votes
1 answer

Random CSV Data Set Config

scenario: I have a script, which has around 14 transaction, out of which few are repeated transaction, so we have them in fragments. And we are using the random CSV data set config for parameterisation Issue: As this random CSV config is referred…
prabhu s
  • 1
  • 1
0
votes
1 answer

Is there a way to create GoogleTest paramaterized test cases that contain non-alphanumeric characters?

I'm performing some validation tests on several XML files, some of which contain hyphens in the name. I've created a parameterized test case containing the file names (excluding extensions) but GoogleTest fails because Note: test names must be…
Rhombus
  • 134
  • 9
0
votes
0 answers

DRY Pytest parametrization

I'm looking for a way to implement a custom parametrisation logic for my tests. My code tends to use a polymorphic design and therefore it feels like the most sensible way to test all the polymorphic methods in a single test. A mock example of how…
Alesi Rowland
  • 379
  • 2
  • 16
0
votes
1 answer

How to make a class template that wraps a function in a noexcept-detectable, callable object, to use as a std::unique_ptr custom deleter?

Is it possible to use object type and free functions as parameters for creating custom deleters for std::unique_ptr ? I'm new to templates and came up till here: #include template struct ObjectDeleter { …
puio
  • 1,208
  • 6
  • 19
0
votes
1 answer

How to parameterize colors in a CSS file to Sass variables?

Background: I bought a theme that unfortunately has no sass builtin and the colors has been hardcoded into a CSS file. Problem I want to make a scss file based on this file and parametrize the colors in there, so that I can experiment with different…
Ehsan88
  • 3,569
  • 5
  • 29
  • 52
0
votes
1 answer

Unable to pass dynamic and unique date values in JMeter

I have a request payload(JSON format) which has an array with 1000 objects and each object has 6 key value pairs out of which 5 I’m reading from the csv file using parameterization and the 6th key has to be a unique date value of a future date for…
0
votes
1 answer

How to send different param and value randomly to request in Jmeter

I have 5 APIs which uses different form of ids like Uid, Sid and Did . With each request any one from those three is required. List of Uid, Sid and Did are stored in separate CSV file. My req samples looks like…
Finch
  • 71
  • 1
  • 9
0
votes
1 answer

Jmeter parameterization for content of the file uploaded

I'm trying to parameterize content of the file uploaded through CSV Data Set Config But file not picking the variables values ( can see the data of csv file in request but the uploaded file not updated with the number) Showing the request like…
0
votes
1 answer

Test for parameterisation of a class

In my test I have this: given: def dueDateCol = App.instance.fxmlController.treeTableView.columns.get( 1 ) when: def editorCell = dueDateCol.cellFactory.call( dueDateCol ) then: editorCell instanceof TreeTableCell My app code…
mike rodent
  • 14,126
  • 11
  • 103
  • 157
0
votes
1 answer

How to implement a generic interface where type param is Enum and some other type

I'm working with an interface that accepts a type parameter: public interface Container Now I can have a class as such that implements it: public class EnumContainer implements Container But now suppose I want a Container for enums that…
user8297969
  • 415
  • 1
  • 6
  • 18
0
votes
2 answers

Unable To Fetch parameterized value from testNG xml

This is the testNG.xml File: This is the day4.java File ] This is the console Result. Why I am getting this issue? I also tried with @optional method but in the that way I am getting the NULL value.
SID
  • 1
0
votes
1 answer

Parameterization of a YesNo field using an INSERT INTO in Access VBA

I have an Access Database, I have to do coding in the backend while users will use forms to update records. I have a field that is designated as a YesNo field. Well when I try to parameterize my code I set the parm to YesNo. When I receive the…
dcary
  • 69
  • 6