how hanlde to Switch to newly opened tab which has opened by using context menu on the link

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

how hanlde to Switch to newly opened tab which has opened by using context menu on the link

pavanbond
Scenario Steps:-
1. Open IRCTC
2. Right click on Flights link (using mouse events)
3. Select "Open link in new tab" option(Senkeys(Keys.Ctrl+"t")
4. once the link opened in new TAB switch to the Fights page in new tab
5. print URL of Flights page (i.e., "http://air.irctc.co.in/" it should print)
6. click on FAQs link present in that page