Questions tagged [data-driven]

A scripting technique that does not put test data directly into the test script.

1
vote
2answers
321 views

Compare web content with the CSV File

I want to compare my data in CSV with the web content. The data in CSV file comprises of multiple rows and column. How can I verify that the data inputted on the web is correct comparing it with the ...
0
votes
2answers
4k views

Can we use Data Driven approach with Page Object model using Page Factory, any example or link will help

Can we use Data Driven approach with Page Object model using Page Factory, any example or link will help. I am trying to implement POM with PageFactory but at the same time I want to make it data ...
-1
votes
2answers
76 views

I am getting Error in Excel Dataconfig how can i resolve this error?

Here is my Code:au package Mypackage; import java.util.concurrent.TimeUnit; import org.openqa.selenium.support.ui.Select; import org.testng.annotations.AfterMethod; import org.testng.annotations....
1
vote
1answer
187 views

How to structure data driven Protractor/JS tests in page object model?

I am using protractor/js for automating end to end tests for our website. We have a test data set that we have saved in different JS files and we use this data while executing test cases. We are ...
1
vote
1answer
290 views

In QTP 12.51, how to identify dynamical element generated using ajax/jquery form

In my Datatable three rows are present. After clicking on Add button new row is generated and I need to put input values from datatable. Problem: How to identify field of each row dynamically for ...
1
vote
0answers
3k views

Data driven using xml file in java selenium

I have already used the data driven approach and executed the test cases using excel file. I mean the data is extracted from excel file. Now i want to extract the data from xml file and execute the ...
0
votes
0answers
16 views

How can I improve this python pytest excel data handling code? Does pytest have something like TestNG dataprovider?

Does Python Pytest have anything similiar to Java TestNG DataProvider where you can pass in a set of data for the tests? I created something to take the data from my excel list using openpyxl and it ...