- a71688Regular Participant
- Posts : 27
Join date : 2014-07-23
Open a hyperlink in a new window function
Fri Aug 08, 2014 12:38 am
I have a website:
1. Open google
2. Search Pakistan
3. Here there is a link called ''Danmark i Pakistan"
4. I want that when I click on that link it then opens in a pop up or in a new window.
5. I have tried below, but not working?
Any ideas ?
New Test
1. Open google
2. Search Pakistan
3. Here there is a link called ''Danmark i Pakistan"
4. I want that when I click on that link it then opens in a pop up or in a new window.
5. I have tried below, but not working?
Any ideas ?
New Test | ||
open | http://www.google.com | |
type | id=gbqfq | pakistan |
click | id=gbqfb | |
waitForText | //ol[@id='rso']/div[2]/li[2]/div/h3/a/em | Pakistan |
click | link=Danmark i Pakistan | |
waitForPageToLoad | 5000 | |
selectPopUp | Danmark i Pakistan | |
close |
- Using already open window
- How to open new window or new tab in browser using Selenium IDE
- When I open a new window,it raise error time out in firefox .
- How to open a link in another tab of the same window using Selenium webdriver using Java code?
- How to shift the focus from one window to another window and proceed the action in Second window?
Permissions in this forum:
You cannot reply to topics in this forum
|
|