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

You have a WebTable in Web application. When you Record a Scenario using QTP, WebTable didn't recognized and also Repository is not having Webtable information. In this case How to find RowCount and Coloumn Count?

2 Answers   PanTerra,


How to add Dynamic Objects to Object repository?

5 Answers  


when to start the automation?

0 Answers   Accenture,


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

3 Answers   Infosys, Satyam,


whow much strong on VB and C?

0 Answers   UHG,






Explain the check points in quicktest professional (qtp)?

0 Answers  


how to get no.of non empty rows in a excel sheet through vb-script

2 Answers   HP,


What is test object?

0 Answers  


give me descriptive programing code sample flight application in qtp?

8 Answers   CA, IBM,


how many test scripts we will write in qtp? very urgent. please??? Thanks in advance..

1 Answers   Mind Tree,


If we put all properties in mandatory and assistive list of Normal Identification, Do we still need Smart?

0 Answers  


How to count no of edit boxes on the page?

3 Answers   IBM,


Categories