How to use values from one action to the other, if i am using data table and i want to use its value in different location than how to use environment variables.

Questions by tarunpandey4   answers by tarunpandey4

Showing Answers 1 - 3 of 3 Answers

Using environment variable.


Action 1
'Creating environment variables
 
Browser("MedicAlert® - United States").Page("Create New Web Account").WebEdit("ctl00$ContentPlaceHolder1$tbUs").Set DataTable("userName", dtGlobalSheet)'UserName from DataTable
Environment.Value("StrUsrname")=datatable.Value("userName",dtGlobalSheet)


Action 2
'Using Environment variable 
 Environment.Value("StrUsrname") = Inputbox("The Username you entered is not available,Please enter another name")
 Usrname = Environment.Value("StrUsrname")



If any doubt mail to me

Tarun

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions