Is there a way i can check the value or attribute against a SQL database of object values ?

I want to be able to check the values of the objects that are created from the database o and are displayed on the screen , by comparing the values stored in the database against the ones that are displayed on screen

I want to be able to check the values of the objects that are created from the database o and are displayed on the screen , by comparing the values stored in the database against the ones that are displayed on screen

Hi there,

First of all, you need to get the value from your SQL database and value of the test object which is displayed on the screen.
1. Get Value from your SQL database: https://docs.katalon.com/display/KD/Manage+Test+Data#ManageTestData-CreateaDatabaseData.
2. Get value which is displayed on screen: You can use ‘Get Attribute’ keyword in this case

Once you have all the necessary value you need, just check it using our verify keywords such as:
- Verify Match
- Verify Equal
Example:
WebUI.verifyMatch(findTestData(‘your/test/data’).getValue(1,1), WebUI.getAttribute(findTestObject(‘your/test/object’), ‘value’ ))

Thanks

____________________
Thank you for choosing Katalon Studio as your automation solution.
Your feedback is needed to make Katalon Studio a better tool, take the survey at: https://goo.gl/S25NVO