Pass a variable to a SQL Query in a Keyword Test
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2022
03:08 PM
11-29-2022
03:08 PM
Pass a variable to a SQL Query in a Keyword Test
How can I use one of my variables in a Keyword SQL Query. Is that built in yet? I see others asking in 2014 and in 2019, but thought I would check again. I would like to do something like this:
select user_name from user_list where user_id = Project.Variables.UID
Thanks for your time!
Mike
Labels:
1 REPLY 1
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2022
12:59 AM
11-30-2022
12:59 AM
It can be done with Code Expression, but you will have to write the code to connect to the database, see Working With Databases by Using ADO - Examples
