How to compare a value from the web page with the database table value ?
You can compare a value from the web page with the database table value as follows: • Get the value from the web page that needs to be compared by using the function webGetText() or getCellValueAt() • Go to insert test case and select DBcheck, select the appropriate database • Select table values and provide the query. • In the conditions combo box select equals, and then click on expected values. In the expected values window, provide the column name in which the value has to be checked and the num of rows and click Apply. • Run the test after applying the settings.
Related Questions
- How to configure the QEngine to fetch the data from the database table to use it in the parameters value?
- How to configure the QEngine to fetch the data from the database table to use it in the parameters value?
- How to compare a value from the web page with the database table value ?
- How to compare a value from the web page with the CSV value?
- How to write a value into a database table from the script?
- How to write a value into a database table from the script?