Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

How do I generate Test Results window using descriptive method ( run time ) after my test execution process? Please have a look of my below code. ========================================================= Dim qtApp Dim qtTest Dim qtResultsOpt Set qtApp = CreateObject("QuickTest.Application") qtApp.Launch qtApp.Visible = True qtApp.Options.Run.CaptureForTestResults = "Always" qtApp.Options.Run.RunMode = "Fast" qtApp.Options.Run.ViewResults = True qtApp.Open "C:\Automation\Example", True Set qtTest = qtApp.Test qtTest.Settings.Run.OnError = "NextStep" Set qtResultsOpt = CreateObject ("QuickTest.RunResultsOptions") qtResultsOpt.ResultsLocation = "C:\Automation\Example\Res1" qtTest.Run qtResultsOpt MsgBox qtTest.LastRunResults.Status qtTest.Close Set qtResultsOpt = Nothing Set qtTest = Nothing Set qtApp = Nothing ========================================================== This code is working fine, but Test Result window is not displaying after execution. Anybody can please help me regading the same. Thanks Akshaya Madali Capgemini India Pvt Ltd 9823213538

0 Answers   Cap Gemini,


Can UFT be connected to Quality Center? If ‘Yes’ brief the process or steps.

0 Answers  


CAN WE USE 'BVA' AND 'ECP' IN AUTOMATION?

3 Answers   Polaris,


can some one help me how to compare the values from one sheet to values in another sheet? suposse i have a feild called Temp in action1 and i also have temp in action2. i want to compare the values of those two actions sheets data table? how can i do it using descriptive programming?

1 Answers  


I am using excel sheet to export data to QTP but it selects just one row of data from excel sheel how to import all rows of excel sheet to QTP during runtime

10 Answers   IBM, Wipro,


what is the main use of reviews

2 Answers   Ordain Solutions,


What are the details steps to connect a remote mysql database in QTP

1 Answers   Verizon,


We developed 100 descriptive programms and put in running, in the midle if any descriptive program is stucked with some error? what will happend weather it will execute the remaining prg's or it will terriminate ?

6 Answers   Kanbay,


pls help me with scripting,right from the beginning in QTP

1 Answers  


banking project description for software tester

0 Answers   Semantic Space,


Where we can use the synchronization?

0 Answers  


give one example where you have used regular expression?

6 Answers   Ordain Solutions,


Categories