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 a dynamic webtable where rows keep on adding.I have to click on particular row where the status changes to Update or Save.How do you click on Status(either it can be Update or save)
Is it possible to test Flat file using QTP? I have two file- first file is Input file and second file is output file. Input file has Format like first 2 field is record type, next 10 field is Description. Output file also has format. I want to check this file format using QTP. Is it possible?? please reply with example.
I wnnt to learn about QTP Automation Framework,please give URL Address to get more information about AFW.
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?
What is an other way of "Wait" statement in QTP I dont want to use wait("Some number"). Can any one tell this please..........
Can we directly start working with QTP without any knowledge on WinRunner? (After getting trsining on QTP)
request to add whatsapp grp for test engineer
How to use setroproperty?
PLEASE TELL ME WHEN DO YOU USE THE OBJECT SPY AT RUN TIME
What is the limitation to XML Checkpoints?
The string is like POWER STAR PAVAN , write a script for this how to findout the number of "A" in the string ?
In application have 2 list box oppsite list box two edit box is there.so now through using DP how can we select 3 opption in first list box and 2box semect 4 opption.in edit box also we have to write 25 ,28.how can we do this