Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
parameterize testing
#1
Not Solved
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


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
Reply


Messages In This Thread
parameterize testing - by ronny - 09-27-2010, 08:35 PM
RE: parameterize testing - by A.Saini - 09-27-2010, 10:37 PM
RE: parameterize testing - by qtp2010 - 09-29-2010, 01:04 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  parameterize Excel Sheet Name in SQL bjitsidhu 0 2,941 07-20-2014, 08:34 AM
Last Post: bjitsidhu
  Parameterize at different pace, and multiple write to Excel joncfrazier 0 2,671 07-10-2012, 12:05 AM
Last Post: joncfrazier
  Parameterize Excel Columns for 2-Dimensional Array defcon3 2 3,627 06-20-2012, 04:59 PM
Last Post: defcon3
  Parameterize Melody M 11 7,480 11-21-2011, 01:28 AM
Last Post: naunihal
  How to parameterize the value which is in Object repository AdhikariS 4 7,449 09-06-2011, 12:38 PM
Last Post: AdhikariS

Forum Jump:


Users browsing this thread: 4 Guest(s)