Questions tagged [properties-file]

A .properties file is either a simple text file or an XML file containing pairs of keys and values. Java and related technologies frequently use .properties files to store configuration information.

Filter by
Sorted by
Tagged with
1
vote
1answer
35 views

JMeter to Taurus - how to handle external property files and pass/fail criteria?

I've got a lot of JMeter tests setup - multiple test plans, thread groups, requests, asserts etc. We're using it for our functional API testing, as well as performance testing. I am now investigating ...
0
votes
1answer
240 views

JMeter - how to use external property files robustly in GUI and non-GUI mode?

I've got a JMeter test plan that I'm in the process of amending to use external property files for environment details and thread group numbers - similar to this link: https://octoperf.com/blog/2019/...
2
votes
1answer
139 views

Unable to pass dynamic xpath in repository file?

My code is : for (int z = 0; z < rows.size(); z++) { rows.get(z).findElement(By.xpath("//*[@class='ng-scope'][" + (z + 1) + "]//*[@placeholder='Stop Name']")).sendKeys(shuttleObj.getStopArea()); ...
1
vote
2answers
3k views

Use enviornment variables in selenium properties file

I have a test package which is based on Selenium and the configuration is in a test.properties file. Now all the config values are hard coded there. I would like to hide some config values to hide ...
0
votes
1answer
575 views

How to test with multiple test data using property file? [closed]

I am using selenium with page object pattern. And I am using property file for keeping the test data , not scattering all over the script. Here is my code package propertytest; import org.testng....
3
votes
3answers
4k views

Test data couldn't able to read from properties file

I got an error in my selenium program. I am using page object design pattern. And I want reading test data from properties file. But it couldn't able to read ? Any one please help me to solve page ...