Posts: 13
Threads: 6
Joined: Jan 2008
Reputation:
0
01-14-2008, 11:35 PM
Hi,
Could you please help me how to run 2 or 3 urls in QTP one after another automatically? let me be more specific, suppose if I want to run google and yahoo pages one after another using QTP, what methods should I use .Please help me with this problem.
Thanks
Manju
Posts: 13
Threads: 6
Joined: Jan 2008
Reputation:
0
01-16-2008, 09:00 PM
Hi Raj,
Thank you very much. I don't know programming. Could you please help me where to type the script.
Thanks
Manju
Posts: 13
Threads: 6
Joined: Jan 2008
Reputation:
0
01-16-2008, 09:15 PM
Hi Raj,
I copied the same script in expert view. But I am not able to see either yahoo or google page in active Screen.I have a situation at my work place to run and record 34 different urls in one test. Every day I got run them and see whether all the page check point works. could you please help me with this. It is very urgent.
Thanks
Manju
Posts: 83
Threads: 16
Joined: Jan 2008
Reputation:
0
01-17-2008, 12:59 PM
Hye Manju,
In Descriptive Programming (DP) we will not use the Object Repository to save the properties of an object, we will use the properties of an object in the statememt only.so u wont get the yahoo or google page in active Screen,
To ur second questing,to check 34 urls in my knowledge u have two methods.
1) u have to develop 34 test script each one for one url and run in this case u can give one url in "Record and Run Setting" window.Here you can see the yahoo or google page in active Screen.
2) U have to go for DP if u dont want to develop 34 scripts.in DP u can use all ur urls and run, but active Screen will not show any pages
let me ur feed back
Regards
Raj
rhotur@gmail.com
Posts: 13
Threads: 6
Joined: Jan 2008
Reputation:
0
01-17-2008, 08:08 PM
Hi Raj,
Tell me how to introduce Page check points for different Urls using DP.So that I can adopt same concept for all my 34 urls.
Thanks
Manju
Posts: 33
Threads: 8
Joined: Jan 2008
Reputation:
0
01-21-2008, 03:04 PM
Hi Raj,
I tried running your script and it's running good, i have a small issue.
1) systemutil.Run "C:\Program Files\Internet Explorer\IEXPLORE.EXE","www.google.com","","",3
2) systemutil.Run "C:\Program Files\Internet Explorer\IEXPLORE.EXE","www.google.com"
what is the difference between the above 1st and 2nd step. both the steps are running properly.
what is the difference and which one is correct.
Thanks,
Rajesh
Posts: 83
Threads: 16
Joined: Jan 2008
Reputation:
0
01-21-2008, 04:41 PM
Hi Rajesh,
Ur right,
both r correct code, only difference is that i have wtitten as per the syntax and "3" is the mode which maximizes the broweser,if u want to put the browser in minimized position then u can replace the "3" to "1" and if want to open the browsewr in "restore" position then u can pur "2" instead of "3"
I guess it clears ur question.
Regards
Raj
Posts: 33
Threads: 8
Joined: Jan 2008
Reputation:
0
01-21-2008, 09:03 PM
(This post was last modified: 01-21-2008, 09:06 PM by Rajesh.)
Hi Raj,
Now I am clear, Thanks for clearing the issue.
Thanks,
Rajesh
Posts: 1
Threads: 0
Joined: Jan 2008
Reputation:
0
01-22-2008, 11:15 AM
Hi,
i am trying to capture the URL from the open browser and store it. pls give me solution how can we do this in QTP.
thanks
sachin