10-05-2010, 08:34 PM
Saini,
Thank you so much for taking my Q!
This time i tried parameterizing Username, password, customername and ticket.....i tried ur code, when i ran the test it failed, but if i run it from step- the test result is done.
Is this normal?
Thank you so much for taking my Q!
This time i tried parameterizing Username, password, customername and ticket.....i tried ur code, when i ran the test it failed, but if i run it from step- the test result is done.
Is this normal?
Code:
' / * Store the datatable value in variables
strUserName = DataTable("pUserName", dtGlobalSheet)
strPassword = DataTable("pPassword", dtGlobalSheet)
' / * Enter the values in the fields
Dialog("login").WebEdit("mercury").Set str"Mel"
Dialog("login").WebEdit("mercury").SetSecure strPassword
Dialog("login").WebEdit("Jojo").Set str"Mary"
Dialog("login").WebEdit("jojo").SetSecure strPassword
Dialog("login").WebEdit("Jojo").Set str"Sia"
Dialog("login").WebEdit("mercury").SetSecure strPassword