I have 3 browsers i want to give facebook url in 2 nd browser
using qtp

Answers were Sorted based on User's Feedback



I have 3 browsers i want to give facebook url in 2 nd browser using qtp..

Answer / amit ranjan

browser("micclass:=Browser","index:=0").Navigate
"http://hotmail.com"

browser("micclass:=browser","creationtime:=1").Navigate
"http://facebook.com/"

browser("micclass:=browser","creationtime:=2").Navigate
"http://www.rediff.com/"

Is This Answer Correct ?    21 Yes 0 No

I have 3 browsers i want to give facebook url in 2 nd browser using qtp..

Answer / bala

Using creationtime identifier available for Browser object only, we can identify the browsers in order they are opened. It starts from 0, 1, 2,...


Browser("creationtime:=1").Navigate "www.facebook.com"

Is This Answer Correct ?    6 Yes 0 No

I have 3 browsers i want to give facebook url in 2 nd browser using qtp..

Answer / ramchandra

Hi,

I would or it's recommends u should close all applications n browsers before running scripts...

Is This Answer Correct ?    1 Yes 6 No

Post New Answer

More QTP Interview Questions

Give me the Example of standard check point and text check point with syntax?

3 Answers   IMI Soft, IMI Soft Engineering,


PLZ EXPLAIN HOW TO LAUNCHING QTP IN TEST DIRECTOR? Is it possible or not? If No Why we r using qtp Td Combination? plz explain briefly? What is the purpose of TD With QTP?

1 Answers   Wipro,


hi, i was adding the two numbers in qtp scripts but i didn't get the answer. see my below script, i dont know wht is the problem. i passed the value a=3 b= 2, i got the ans 32 instead of 5. i thing the problem is to be c = a+b my mail id karthis4u@gmail.com Dim a, b, c a = inputbox("enter the a ") b = inputbox("enter the b ") c = a + b print c

8 Answers  


how quick test record on dynamically generated urls and web pages.

3 Answers   Infosys, Satyam,


How can the name of a checkpoint be changed in Qtp

2 Answers   Ordain Solutions,






write a script to close all open browser in qtp except one browser whose name is xyz

6 Answers   Cap Gemini,


i need the word "good morning" to be displayed by default whenver we click upon the blank test while opening the qtp. Could you please answer...

7 Answers  


How to findout the number of spaces with in STRING For Ex : STRING is " RAJ IS A SOFTWARE ENGINEER " Please send me the answer

3 Answers  


How to modify the text checkpoint?

0 Answers  


what is objectidentification?

2 Answers  


the build is develeped in Java. is possible to write scripting in vb using QTP ?

3 Answers  


1.how can we report the QTP test result in a different excel sheet 2.

3 Answers   Aurigo,


Categories