Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
HoW to write script for launching IE?
#1
Solved: 10 Years, 9 Months, 2 Weeks ago
Hi Ankur,


I Want to open Internet Explorer and then want to navigate google.com with the help of descriptive programming in QTP 9.2.
I am giving the descriptions in the form of string arguments.

Just check this script:

Code:
SystemUtil.Run "C:\Program Files\Internet Explorer\iexplore.exe"
    Browser("Class Name:=Browser","title:=about:blank").Page("Class Name:=Page","width:=1440").Sync
    Browser("Class Name:=Browser","title:=about:blank").Navigate "google.com"

I am getting General Run Error. I used Msgbox.Errnumber after the script to know the error number but i was not able to solve the problem with the help of that error number.
Please help me out.!!!

Thanks and Regards
Bhawin Joshi
Reply


Messages In This Thread
HoW to write script for launching IE? - by bhawin - 10-18-2010, 01:50 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  UFT 12.02 Launching default home page sureshbl 0 3,175 06-01-2015, 02:15 AM
Last Post: sureshbl
  How to write a script for fly out menus (Parent - Child - Sub Child) rajkumarsm 3 4,460 09-02-2014, 10:01 AM
Last Post: vinod123
  Launching .exe file with parameters magnifyingone 1 2,940 08-28-2014, 06:39 PM
Last Post: dplank
  How to read and write in excel through QTP script shwetha_m 5 29,283 03-14-2014, 02:58 PM
Last Post: venkatesh9032
  Getting Application Error while launching Outlook yogesh kancherla 3 3,085 10-29-2012, 12:17 PM
Last Post: krr

Forum Jump:


Users browsing this thread: 1 Guest(s)