Capture a new window

21 views
Skip to first unread message

Soumya

unread,
Jun 28, 2011, 8:43:22 AM6/28/11
to Fitnium
Hi,
Which command should we use to go to a new window(when we click on
a link a new window opens).

Keith Sterling

unread,
Jun 28, 2011, 10:35:42 AM6/28/11
to Fitnium
You have a couple of options

Option 1, click a link and then select the window that opened

| click link with text | test of link |
| select window with title | title |

Where the title is the HTML title of the html page just opened.

Option 2, To open URL in new window then you use

| open url in window | url | and assign id | id |
| select window with id | id |

Both of these options will direct all further fitnium commands to the
selected window

Soumya Pattanayak

unread,
Jun 29, 2011, 6:02:43 AM6/29/11
to fit...@googlegroups.com
Hi,
   I tried as you had mentioned but still there is exception. Is there any other commands.

--
You received this message because you are subscribed to the Google
Groups "Fitnium" group.
To post to this group, send email to fit...@googlegroups.com
To unsubscribe from this group, send email to
fitnium+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/fitnium?hl=en

Fitnium is hosted at http://www.magneticreason.com/tools/fitnium/fitnium.html

Soumya Pattanayak

unread,
Jun 29, 2011, 6:37:11 AM6/29/11
to fit...@googlegroups.com
Hi,
   How can we import the pre-recorded script in selenium IDE into Fitnium.


Keith Sterling

unread,
Jun 29, 2011, 10:39:29 AM6/29/11
to Fitnium
You can't at this stage, Selenium IDE creates HTML scripts which are
not compatible with Fitnesse based Fitnium tests

Keith Sterling

unread,
Jun 29, 2011, 10:41:32 AM6/29/11
to Fitnium
Could you please read the instructions for new users.

Its very important for you to provide both the HTML you are trying to
automate and the actual script you are using to do the automation

Without this information its almost impossible to help you
Reply all
Reply to author
Forward
0 new messages