If 3 browsers are opened in our system, how to enter the
facebook url into second browser by using descriptive
programing
Answers were Sorted based on User's Feedback
Answer / sireesha
'Open a new Browser
SystemUtil.Run "iexplore.exe", "http://www.google.com"
'Browser Sync
Browser("CreationTime:=0").Sync
'Find total number of tabs in the browser window
iTabs = Browser("CreationTime:=0").GetROProperty("number of tabs")
msgbox iTabs 'Displays the value 1
'Open a new tab within the same browser
Browser("CreationTime:=0").OpenNewTab()
'Sync for new tab
Browser("CreationTime:=1").Sync
'Load some web page in the new tab
Browser("CreationTime:=1").Navigate "http://www.yahoo.com"
'Find total number of tabs in the browser window
iTabs = Browser("CreationTime:=0").GetROProperty("number of tabs")
msgbox iTabs 'Displays the value 2
'Close all the tabs in the browser window
Browser("CreationTime:=0").CloseAllTabs()
'OR -> Browser("CreationTime:=1").CloseAllTabs()
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / milan
You can use the ordinal identifier -Browser creation time
enter the url where browser creation time =1
| Is This Answer Correct ? | 1 Yes | 2 No |
I want to clear the webedit field without using set"" in qtp script
How will you set a unique four digit number in an edit field in QTP?
What are the parameters provided by QTP?
Hi,Every one,my name is RAHUL,aim wondering if any one got QTP software? If yes,can u plz knock on to gchinthakindhi@gmail/yahoo.com. THANK U.
can any one tell me how to select some text.i need the script for that
if the excel sheet specified in script is not there,we get run time error how to handle the error ,please anybody explain me in detail
Whenever i'm running 3 diffrent scripts in a Test Batch Runner as a batch. its not showing any result. QTP only runs all the scripts n nothing else. B4 running the test batch i have done all the settings, But still its not working.
Does quicktest professional (qtp) is unicode compatible?
How to make arguments optional in a function?
Explain the N-tire structure(process) for Funds Transfer ( means give N ways to funds Transfer in an Application)
why use Description programming? what is advantages and disadvantage of this methods?
i want to handle all the unwanted pop up through QTP i done that with recovery scenario but it need some title of pop up but i want that it should handle all the pop up even i don't give the title of that pop up in recovery scenario is there any general way to handle all the pop up please help