Passing variables to functions in Python
- by brno792
Im writing test scripts in python for selenium web testing.
How do I pass parameters through a python function to call in a later function?
I first have a login test function.
Then I have a new user registration function. Im trying to pass the Username and Password I use in the registration function to the testLogin function that I call inside the…