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 |
we have 10 automation scripts. how to call them from one main script.
Give me some scripts for 1). checking webpage links (counting links,opening web pages,counting child elements)
distinguish between old version and new version QTP features.
How Qtp will identifies object during run time
if there r 10 windows open in QTP write a command to close all 10 windows at a time ?
does test plan is in test strategy or test strategy is in test plan
What is the difference between the keyword view and expert view?
What are the Mandatory Properties of WebTable Object and Link Object in Web testing using QTP
I have recorded a test over web application(with IE6.0) in analog mode. But, while running it my test gets failed. Why? (Note: my systray has 3 open web applications)
What is qtpro? What is quick test pro?
what is aregular expression?
How many types of recording facility are available in quicktest professional?