How to fetch data in Oracle database and use it in Selenium WebDriver
I have two test cases. First Test Case: Create a user. Once the user is created, the info gets stored in the database.(i.e account number, username, password, first name, last name etc) Second Test Case: Login as a User. Once the first test case has been passed, how can I fetch the data from the db (e.g. select * from created_user) and use it in my second test case. For example: I would like to fetch the username and password from the database, and use it in my second test case when i'm on the login page. Any help would be appreciated. Thanks!
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.