09-27-2010, 08:35 PM
Hi:
please take a look at the script I captured below. I want to change 'QA instance' to parameter so same case can be run on different environment.
also i want to parameterize my user/pw entry.
could someone show me how to do that?
thanks
please take a look at the script I captured below. I want to change 'QA instance' to parameter so same case can be run on different environment.
also i want to parameterize my user/pw entry.
could someone show me how to do that?
thanks
Code:
Browser("QA Instance").Page("QA Instance").Frame("gsft_main").WebEdit("user_name").Set "ronny"
Browser("QA Instance").Page("QA Instance").Frame("gsft_main").WebEdit("user_password").SetSecure "4c7bf359ad993c0fe76af0fe3"
Browser("QA Instance").Page("QA Instance").Frame("gsft_main").WebButton("Login").Click
Browser("QA Instance").Page("QA Instance").Frame("gsft_nav").Link("Homepage").Click
Browser("QA Instance").Page("QA Instance").Frame("gsft_nav").Link("Service Catalog").Click
Browser("QA Instance").Page("QA Instance").Frame("gsft_nav").Link("My Open Incidents").Click
Browser("QA Instance").Page("QA Instance").Frame("gsft_nav").Link("My Closed Incidents").Click
Browser("QA Instance").Page("QA Instance").WebButton("Logout").Click