How to use data driven testing to validate images?
Posted: Mon Jul 01, 2019 9:50 am
Hi all,
I'm very new to working with Ranorex, and I would like to use it to test an application that given a table of data, generates statistics/charts about this data. There's one window that has a drop down list of all the column names in the table, and clicking one column name autogenerates a line graph, plotting the data given in the table for each column name. I was originally thinking that I could use data driven testing to make the drop down list variable, and efficiently go through all of the column names and validate the image for each.
But the problem here is that in order for this to work, I would need to make the validation object (i.e. the picture of the line graph) variable as well (otherwise it just compares the graph to the first one clicked, rather than the one generated for each column name which obviously fails). I'm not sure how to do this, as there's no option to input image files into Ranorex as a data source.
Basically, my question boils down to whether it is possible to make a repository item that represents an image, variable.
I'm very new to working with Ranorex, and I would like to use it to test an application that given a table of data, generates statistics/charts about this data. There's one window that has a drop down list of all the column names in the table, and clicking one column name autogenerates a line graph, plotting the data given in the table for each column name. I was originally thinking that I could use data driven testing to make the drop down list variable, and efficiently go through all of the column names and validate the image for each.
But the problem here is that in order for this to work, I would need to make the validation object (i.e. the picture of the line graph) variable as well (otherwise it just compares the graph to the first one clicked, rather than the one generated for each column name which obviously fails). I'm not sure how to do this, as there's no option to input image files into Ranorex as a data source.
Basically, my question boils down to whether it is possible to make a repository item that represents an image, variable.