'Robot Framework connectivity with database

connect to database psycopg2 connectiondetails

${count}=    row count     select count(*) from trial;

 log to console   ${count}

-----Here m getting result as [(2,)] ,though I want to compare this result with the string as value '2'. How to grab that from list.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source