Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Open a URL. through QTP
#3
Solved: 11 Years, 4 Months ago
Hello Sridhar,

thank you very much for the response.
i tried the option of systemutil.Run inputbox("")
it worked out for me...

but as you said it will not be used in realtime...
and also you have suggested to use the below one...
Code:
systemutil.Run "www.mail.yahoo.com","","",3

i have question on the above statement...

if i have 3 sets of urls like www.google.com or www.yahoo.com or www.monster.com...

and every time i ran the script i may be using any one among the 3 above urls then in that case is there any way to read the url and pass that url into a variable and then pass this variable as a parameter to the systemutil.run statement ???

like i followed the below steps...

Code:
sName = InputBox("Enter Url")
systemutil.Run " &sName "","","",3


i am getting Run Error saying : "invalid procedure call or argument"

i might be doing wrong.... please correct me...


Thanks
Navya
Reply


Messages In This Thread
Open a URL. through QTP - by navyasatish - 05-13-2008, 11:12 AM
RE: Open a URL. through QTP - by somisays - 05-13-2008, 02:38 PM
RE: Open a URL. through QTP - by navyasatish - 05-13-2008, 10:00 PM
RE: Open a URL. through QTP - by newqtp - 05-14-2008, 01:58 AM
RE: Open a URL. through QTP - by navyasatish - 05-14-2008, 03:04 AM
RE: Open a URL. through QTP - by niranjan - 05-14-2008, 03:23 AM
RE: Open a URL. through QTP - by navyasatish - 05-14-2008, 08:34 PM
RE: Open a URL. through QTP - by Akhila - 05-20-2008, 09:52 AM
RE: Open a URL. through QTP - by niranjan - 05-21-2008, 07:21 AM
RE: Open a URL. through QTP - by Akhila - 05-22-2008, 08:09 AM
RE: Open a URL. through QTP - by Ankur - 05-22-2008, 10:45 AM
RE: Open a URL. through QTP - by Akhila - 05-23-2008, 03:16 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  QTP does not record the first step of open filight reservation application. Blossoms 9 17,768 07-20-2015, 05:50 PM
Last Post: AJAJ
  When QTP is open am not able to open my AUT. chetan3987 2 3,112 02-12-2014, 01:18 AM
Last Post: supputuri
  How to enter values into excel which is already open using QTP Narayanan 1 4,403 12-11-2013, 07:30 AM
Last Post: basanth27
  Problems with URL as Object identifier??? jcraig26 1 3,366 02-27-2013, 05:06 PM
Last Post: anil2u
  cannot open QTP tests learnasugo 8 9,281 10-18-2012, 11:28 AM
Last Post: Ankesh

Forum Jump:


Users browsing this thread: 2 Guest(s)