12-07-2012, 06:04 PM
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,
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