React.js
Angular
Ethical Hacking
Agile
AWS
BlockChain
Cassandra
Cloud
Salesforce
Scaled Agile
TOGAF
DevOps
GIT
Jenkins
Jira
Kibana
Linux
NGINX
Ansible
Artificial Intelligence
in QuickTest Professional (QTP) by
How can you close the second opened browser?
Click here to read more about DevOps

1 Answer

0 votes
by

You can know which browser instance was opened after another can be known by using the “creation time” property. In simple terms, this is nothing but a counter for each browser instance that gets launched. For the first one, it is 0 and gets incremented from then on. To close the second opened browser, you can use the following code:

Browser(“creationtime:=1”).Close

Related questions

Madanswer
+1 vote
asked Apr 12 in QuickTest Professional (QTP) by amita rallin
0 votes
asked Jun 22, 2019 in PHP by SakshiSharma
...