Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How to compare a value from the web page with the CSV value?

compare csv value web page
0
Posted

How to compare a value from the web page with the CSV value?

0

You can compare a value from the webpage with the CSV table value as follows: • Get the value from the web page that needs to be compared by using the function webGetText() or getCellValueAt() • In the data configuration, select the CSV file in which the values needs to be checked. Then, click paste button to paste the corresponding script in the script editor. • Now you can compare the value from the web page with CSV file. Sample Script: webresult=webGetText() for i in range(0,len(result)): var1=str(result[i][0]) if webresult==var1: displayMessage(“Value matches in webpage and CSV file”) else: displayMessage(“Value doesn’t matches in webpage and CSV file”) where webresult has the value that needs to be checked with CSV file.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123