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

what is error and fault in terms of software quality?

1 Answers   TCS,


What is VSS? Is it used in Automation(QTP) Or Manual? what is menus in VSS?

3 Answers   TCS,


hi this is srinivasa(from blr) i complited my B.tech(e.c.e) in 2007 im searching job in s/w testing but idont have freshers resume for s/w testing please send some s/w testing resume for me(fresfers resumes only) advns thnks you

2 Answers  


Does QTP support Linux Red Hat? Does QTP support Flash?

4 Answers  


How to use Environment parameterization? Explain with an example.

1 Answers  


take one exmple and write on that discriptive programe in qtp?

1 Answers  


wat are views in qtp explain

3 Answers   IGT,


A webPage has a ComboBox with 10 values in it. Write a script to select 4 vales from it using CTRL key

3 Answers   Virtusa,


Please have a look at this: a = Browser("Travel Boutique Online").Page("Travel Boutique Online_2").webelement("innerhtml:=2622").getroproperty("y") a=a+9 msgbox a Browser("Travel Boutique Online").Page("Travel Boutique Online_2").image("alt:=check","y:=a").click Now please let me explain. As clear from code I am trying to enter value of variable 'a' as Property y. But each time QTP AND MY SYSTEM stops responding when this line is execcuted. But When i enter some number in place of 'a' in the last line. it works fine. Please let me know what I am doing wrong at time of entering the variable in last line. Thanks a lot

3 Answers  


There are some links on the web page,write a script to count and click those links and check the text on the page displayed on clicking the links.

3 Answers   Tech Mahindra,


There is an built in window application in qtp9.1,i.e.Flight4.0.i want to implement the recovery maneger on it.How can i do this?

1 Answers  


How to data driven test for Win objects in QTP ?

1 Answers  


Categories