Hi all,
I'm creating testing automation tool for my web application. After logging
into my web application, my parent browser window will be closed and
screen(login success screen) which has all the functionalities is opened
like pop-up window. Since I'm a new bee to watir I don"t know how to create
a proto type of testing automation tool. Can anyone help me to create this
one?
PFB the code which I created using watir tutorial
require 'watir'
include Waitr
ie = Watir:: IE.new
ie =goto.url('myurl')
ie = text_field(:name "myuser")
ie = text_fiedl(:name "pass")
ie = ie.button(:name "submit")
from the above code it was working fine. After the login successful, a new
window(like pop-up) is opened and it has all the functionalities.
So that I added the below code
ie2 = Watir:: IE.attach(:title "mytitle")
after executing the above code, ruby is throwing an error.
Can anyone help me to provide code snippet for the below spec
1. Separate window for login
2. After successful login, login window will be closed and new window like
pop-up window which has dynamic URL is opened.
3. After opening the new window, I need to drive that window using watir
Please help me to resolve this.
Thanks in advance.
Vimal
--
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
[email protected]
http://groups.google.com/group/watir-general
[email protected]
---
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.