Which of the following function signatures is the best for keyword implementing test step number 1 ?
Consider the following test steps;

Which of the following function signatures is the best for keyword implementing test step number 1 ?
A . def login ():
B. def login_with_admin_credentials () :
C. def login(username, password) :
D. def create_user (username, user_email, password)
Answer: C
Explanation:
This function signature is the most concise and clear, and allows for the username and password to be passed to the function as parameters. This will allow for the login process to be automated without having to hardcode the username and password into the function.
Latest CSeT-F Practice Questions with 40 Q&As
Updated Study Material | Instant Download | Detailed Answers and Explanations
Subscribe
Login
0 Comments