Launching Mainframe and Logging in to it with dynamic user name and password using WR
I am able to launch mainframe using winrunner. I am using password dialog box to get mainframe user name and password dynamically from the user. Then I am trying to use user id and password to log in to mainframe. But the problem is I am not able to use the password variable in TE_edit_hidden_field as it is expecting a coded string for password rather than a variable.
Here is the code which I am using:
status = create_password_dialog ("","", user_name, password,TRUE);
#this is wrong as the TE_edit_hidden_field ( field_logical_name, coded_string ); getting error here
#it is expecting a coded string instead of variable like password