Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Constants
#2
Solved: 11 Years, 3 Months, 4 Weeks ago
You cant use reserved keywords in QTP for declaring the variables.
Browser is a reserved keyword which is suppose to denote a web browser. Similarly you cant use page, dialog etc,.

Also, your code is wrong,

Try,

Code:
const mybrowser = "GMAIL.COM"
Systemutil.Run "iexplore.exe", mybrowser
Reply


Messages In This Thread
Constants - by shayk1985 - 12-07-2012, 12:39 AM
RE: Constants - by elango87 - 12-07-2012, 06:04 PM
RE: Constants - by shayk1985 - 12-08-2012, 12:30 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  constants in qtp diya 7 6,721 12-07-2012, 10:28 PM
Last Post: diya

Forum Jump:


Users browsing this thread: 1 Guest(s)