Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
169 views

I get this error when hovering on the DataDriver Library Unresolved library: DataDriver. Error generating libspec: Importing library 'DataDriver' failed: ImportError: cannot import name : "...
Rica Jacutina's user avatar
1 vote
1 answer
558 views

The problem involves handling empty cells and using null in 'Examples'. Our test data is read from CSV files with various combinations, and not all values are always present in the columns (...
Peter Thomas's user avatar
  • 58.4k
0 votes
0 answers
92 views

Why are the variables in my Context -ForEach cases not being passed to the It blocks underneath the Context? I have this code in my test file. BeforeAll { Import-Module Pester Import-Module ...
Martin's user avatar
  • 545
-1 votes
1 answer
218 views

Eclipse: eclipse marketplace is not working properly. I am trying installing TestNG & Cucumber plugin on Eclipse, But when i search TestNG in find textbox & enter it is showing ...
Pratiksha Indrol's user avatar
0 votes
1 answer
84 views

I have one utility class as DataManager.java where I have written a method to read data from an excel sheet. public static XSSFWorkbook xssfWorkbook; public static XSSFSheet xssfSheet; public static ...
Nivasha Pathirana's user avatar
0 votes
0 answers
69 views

I am trying to automate login page with the help of data driven testing by excel reading but it's throwing the error. kindly help me. enter image description here *** Settings *** Library ...
reyansh yadav's user avatar
0 votes
2 answers
134 views

I am writing a data driven unit test. The input is an excel of type ".xlsx". I took reference from here: https://learn.microsoft.com/en-us/previous-versions/ms404700(v=vs.90)?redirectedfrom=...
Aarti Jangid's user avatar
1 vote
1 answer
961 views

TL;DR Are there significant differences in those 2 types of unit test projects? Do I have to always use matching UT project type to application (.Core WPF -> MSTest .Core or .Framework), or it ...
ikarmus's user avatar
  • 35
0 votes
1 answer
149 views

I am new to Automation Testing while using data-driven testing we need to send data from external sources like XML, JSON, or excel files or sometimes from dataProvider in a java file. But when should ...
Swanand Yadav's user avatar
1 vote
2 answers
1k views

In this feature file, the @setup Scenario will run twice due to there are two other scenarios outline use it Feature: @setup Scenario: def data = [{a: 1}, {a: 2}, {a: 3}] Scenario Outline: row print '...
lovelemon's user avatar
0 votes
1 answer
75 views

I need to develop a automation package using selenium and send it over to a different location and completely different environment so that it will aid in the testing's happening there. It has to be ...
Pratilipi Behera's user avatar
0 votes
0 answers
250 views

Flag Yes only should be run. Else part won't execute but if the condition is failed, else is getting passed. if(data.get(Flag).equals("Yes}) && data.get(TC_Name).equals("TC_Name"...
Nirmal Jones's user avatar
1 vote
1 answer
305 views

I have use case in which I am making server name configurable using Scenario outline for get call. But I also want to make another variable like ID configurable. I want using that id it should run for ...
Shailesh's user avatar
4 votes
1 answer
414 views

Many thanks in advance! I am creating a Selenium framework (C#, MSTest) and got stuck, trying to make the tests data-driven. What I am trying to achieve: I need to support logging in the application ...
Elena's user avatar
  • 43
0 votes
1 answer
2k views

I have test cases in robot framework. Scenario is data driven scenario from excel for example ; I have 2 column; First column is full that from my data rezno Column B resno 1 resno 2 *** Settings *** ...
Shelby's user avatar
  • 1
-1 votes
1 answer
2k views

I am trying to run a page object methods by cucumber. I am getting error out with driver null NPE errpr. Could you please help. I created Page Object Model file. A feature file describing scenario ...
user3857859's user avatar
0 votes
1 answer
400 views

I have a spreadsheet with about 3k rows I am trying to select data from (row specific) to enter in data for a form. Currently my code is repeating the test for all rows in the CSV how can I select ...
ranquet91's user avatar
0 votes
0 answers
60 views

Error which I am getting [ ERROR ] [ DataDriver ] Error in robot file: File "C:\Users\KARAN\PycharmProjects\OpencartFF\Testcases\RunOC.robot", line 0 [ ERROR ] In source file: File "C:\...
Sporty Spartan's user avatar
0 votes
0 answers
119 views

I am getting following issue while getting data from excel for my Register test class. i am following a data driven approach with POM . Console error: Code i have written:
steveDeep's user avatar
0 votes
0 answers
666 views

I've been experimenting with Data-Driven style in Robot Framework, and I found out that it struggles a bit when using variables to fix an argument. I'll explain better with an example. From the Robot ...
FranmR's user avatar
  • 76
0 votes
0 answers
448 views

I am trying to fetch test data from the excel sheet but it reads the integer value as decimal. Every integer value comes up with a decimal followed by zero. I have used apache poi for data driven ...
Ujjawal 's user avatar
0 votes
0 answers
72 views

**Jenkins pipeline build is failing because of following error. I have added dependencies and plugins but still error is not going while using mvn test command in the pipeline. The same code is ...
N_QA's user avatar
  • 21
0 votes
2 answers
287 views

I want to setup my framework in such a way that - A test is listed in Nunit test playlist (TestExplorer) only if it is set to run else don't show it in the list at all. My plan - I will have an ...
Chandan Gupta's user avatar
1 vote
0 answers
1k views

I have set of Test cases (say 10) which I would like to execute against different URLs (say 50). I have defined a CSV file containing the 50 URLs My current solution is using DataDriver Library and ...
Abdurahman Alhifnawy's user avatar
1 vote
0 answers
165 views

* def now = "2022-03-21 04:30:01" * def data = karate.jsonPath(read("data.csv"),'$[?(@.TC_ID=="'+TC_ID+'")]') Records in csv file |TC_ID |DATA ...
Don's user avatar
  • 163
1 vote
0 answers
51 views

I am trying to read data from excel file and run my test suite While I have my keyword in *** Keywords *** section in test suite file, it is working fine While I have my keyword defined in separate ...
naveena keerthi's user avatar
1 vote
0 answers
28 views

Currently our project is using Karate Framework for API test automation. So we have a scenario where we need to use the concept of Data driven testing i.e we need to test automate an API where we send ...
Siddu Precious's user avatar
-3 votes
1 answer
232 views

JSON file : "credentials" [ { "name" : Tom Harry "email" : [email protected] "password" : tomharry123 }, { &...
Sumit's user avatar
  • 1
0 votes
1 answer
2k views

I am having a web application which is having multiple dropdowns. For inputting the values for the other text fields, I am reading the data from excel to comply with data driven testing. But I want to ...
Apratim Chaudhuri's user avatar
1 vote
1 answer
522 views

I am new to Python , For the data driven testing, if there is 10tests , and the assertion fails [ AssertionError. ] for 4th test , then the rest of the 6 data sets are not considered for ...
Deepti's user avatar
  • 11
-1 votes
1 answer
62 views

I try to read Excel file in Selenium Webdriver C# but got Invalid Arguments at connection.Open() . What am I wrong? using System.Configuration; using System.Data.OleDb; using System.Linq; namespace ...
Tuan Anh Le's user avatar
0 votes
1 answer
4k views

I could use the "TEST TEARDOWN" keyword in the header but this gets executed after each test case. Is there any way I can do in the code so that it only executes if the test case fails and ...
MK Span's user avatar
  • 65
1 vote
1 answer
3k views

I am looking for a similar functionality like Fillo Excel API where we can do CRUD operations in an excel file using query like statements. A select statement in a csv file is a great addition to the ...
Don's user avatar
  • 163
1 vote
1 answer
2k views

I am getting below error while running the script, please help me to solve the issue - ERROR ] [ DataDriver ] Error in robot file: File "C:'filepath'.robot", line 0 [ ERROR ] In source ...
Tina's user avatar
  • 51
1 vote
1 answer
6k views

I want to get the order ID from the API response. When I click on the Create Order button it will send a POST API request and return the unique ID that I want. This is my order creation code. from ...
Krupal Vaghasiya's user avatar
3 votes
3 answers
10k views

How to implement Data Driven methods in playwright using playwright/test typescript? How do you get external data(excel or csv) into script and drive multiple iterations with different data sets?
Prasad's user avatar
  • 139
0 votes
0 answers
188 views

I have created an excel file for managing data for my test. When the script is run, it will create a patient, and write the patient name and last name into an excel file. Then I have used that patient ...
Krupal Vaghasiya's user avatar
1 vote
1 answer
1k views

I want to copy data from an excel file and paste it into the card number field. card number field does not allow to enter text using the keyboard. it only allows past value. Is there any way to copy ...
Krupal Vaghasiya's user avatar
0 votes
1 answer
79 views

I am working on one project. and in this project, I have created an account from the master portal. and set a password for it. when users first-time log in to the portal they will get a dialog for ...
Krupal Vaghasiya's user avatar
0 votes
1 answer
1k views

I am working on one project to do automation using selenium python. everything is working fine, But I have added one new python file and added one URL, login ID, and password into the excel sheet. ...
Krupal Vaghasiya's user avatar
2 votes
0 answers
498 views

For a repetitive unit test, I have several test cases in a Yaml-File (resources/test_cases.yml), which looks like this: scenario_1: test_cases: expected: - 1 - 1 - 1 - 1 ...
bk_'s user avatar
  • 801
0 votes
1 answer
2k views

I was following this tutorial to read testing data from Excel files with Cypress. The tutorial is wonderful and fully explains everything. There is a git archive with the code too. The error that I am ...
Ivan Markov's user avatar
0 votes
1 answer
621 views

I'm currently doing a data-driven test. I created a test template that will use data from one excel file(specific sheet) for the input data. Is it possible that I import the data from more than one ...
Wong Chung sze's user avatar
1 vote
1 answer
417 views

I'm using Java selenium in TestNg and Apache POI for excel read. The DataProvider method is only for tests level so the login test repeats 2 times and then its moving to next tc. what can i do to ...
Naveen R's user avatar
1 vote
0 answers
713 views

How can we implement data driven approach in webdriverIO? In selenium we can define properties file or write data to Excel. For example, if I need to store date in a variable and implement the rest of ...
siri's user avatar
  • 81
1 vote
1 answer
261 views

I am looking for a way to use data driven in combination with an external request file. So my feature file looks like this: Feature: EPOS UNIT test - GetSpendingLimit Background: * url 'http://...
sst0107's user avatar
  • 23
1 vote
1 answer
483 views

I try to pass CSV data to my test method. This is my code: CSV file has 3 columns: TestNumber email FirstName UserData.java public class UserData { private String TestNumber; private String ...
lahiru dilruwan's user avatar
1 vote
1 answer
616 views

I am looking to set up a data-driven approach for my python selenium project (there is none currently). Planning to have the data file as xlsx. I use pytest in my project. Hence, I explored ddt, @data,...
harmonybells's user avatar
2 votes
2 answers
3k views

I write a module used for powershell-wrapping a commandline tool. For my tests I had some variables defined in BeforeAll. Those vars should help in feeding the command with desired params and check ...
Usul's user avatar
  • 21
0 votes
1 answer
42 views

I'm new to Selenium /Python, I have Login validation. when user try to login, if password is Invalid or expired it will display 2 error message with different location. data is coming from excel with ...
Sheni's user avatar
  • 1

1
2 3 4 5
8