Hi Abhishek,
Please try this below piece of code. Need to install Autoit software.
def check_for_popups
autoit = WIN32OLE.new('AutoItX3.Control')
autoit.Opt(WinTitleMatchMode, 3)
puts Launched the global pop-up handler
loop do
# Look for window with given title. Give up
Send a screen shot of the attributes. That will help I think
Regards,
Krian Y
On Tue, Mar 10, 2009 at 5:05 PM, nagmani vm nagman...@gmail.com wrote:
id also not defined what other option is there to identify??
On 3/10/09, Joaquin Rivera Padron joahk...@gmail.com wrote:
ie.button(:id,
hi,
handle the popup window using autoit.
install autoit software. and use the followinf code
autoit = WIN32OLE.new('AutoItX3.Control')
Opt(WinTitleMatchMode, 3)
autoit.WinWait('Windows Internet Explorer', '', 2)
autoit.WinActivate('Windows Internet Explorer')
autoit.Send('{enter}')
This
am, kiran yajamanyam kiranyajaman...@gmail.com wrote:
hi,
handle the popup window using autoit.
install autoit software. and use the followinf code
autoit = WIN32OLE.new('AutoItX3.Control')
Opt(WinTitleMatchMode, 3)
autoit.WinWait('Windows Internet Explorer', '', 2
,
ctl00_ContentPlaceHolder1_RdlistisFeedback_1).click
end
ie.select_list(:id, ctl00_ContentPlaceHolder1_DdlAccesstype).set
(Public)
ie.select_list(:id,
ctl00_ContentPlaceHolder1_DdlApprovaltype).set(Admin)
end
end
Please suggest me a solution
thankingyou
On Apr 9, 9:24 am, kiran yajamanyam kiranyajaman
its hung with the popup
On Apr 9, 10:38 am, kiran yajamanyam kiranyajaman...@gmail.com
wrote:
You have to give the exact caption of the window which is appearing as
popup. In your case that caption of the pop up is FILE
UPLOADED SUCCESSFULLY try this code:
autoit = WIN32OLE.new
which one should i use inthe code..
On Apr 9, 10:38 am, kiran yajamanyam kiranyajaman...@gmail.com
wrote:
You have to give the exact caption of the window which is appearing as
popup. In your case that caption of the pop up is FILE
UPLOADED SUCCESSFULLY try this code:
autoit = WIN32OLE.new
it is not working i've to click it manually to go
further in my test. wat about this autoit i've installed autoit-v3 how
is it related to watir..?
On Apr 9, 10:43 am, kiran yajamanyam kiranyajaman...@gmail.com
wrote:
make sure that ur caption is same (Including caps) and if
autoit.Send({'enter
opps forgot to attach file :(
On Thu, Apr 9, 2009 at 12:18 PM, spike vinaykumarl...@gmail.com wrote:
I'm really sorry, i've tried many things in the code but couldn get a
solution from past 3 days. I've stuck in handling this popups. so
please dont mind, i apologise for it.
On Apr 9, 11:14
I am using XPSP2 anf Firefox 3.0.8 version
-Kiran Y
On Tue, Apr 28, 2009 at 6:50 PM, Angrez Singh ang...@gmail.com wrote:
which OS firefox version are you using?
- Angrez
On Tue, Apr 28, 2009 at 6:24 PM, Kinnu kiranyajaman...@gmail.com wrote:
Hi All,
Even i am finding the same
Even I am facing the same issue. Please some one reply who have got solution
for this
Regards,
Kiran Y
On Tue, Jun 2, 2009 at 1:14 PM, Chethan chethan2...@gmail.com wrote:
Hi,
I started working on Firewatir, I have installed firewatir using new
installation procedure as described in the
wrote:
Just a guess did you installed Redistributed package for VS 2005 SP1.
Its
described in step 2 here
http://wiki.openqa.org/display/WTR/FireWatir+Installation;. It is required
for users who are using Firewatir with Firefox 3.0
Thanks,
Angrez
On Thu, Jun 4, 2009 at 4:02 PM, kiran
Hi All,
My test case scenario is go to webmail.aol.com site and there I need to
enter username and password in the text fields.
Please let me know if I need to include any other code or update any other
class?
Regards,
Kiran Y
On Thu, Jun 4, 2009 at 9:22 PM, SANTOSH SOLAPURKAR
Hii Jason,
I tried with the same piece of code and I am still getting the same error.
Is it possible for you to send firewatir folder which you are using so that
i can try with the same files. I have updated firewatir gem as well.
Thanks and Regards,
Kiran Y
On Mon, Jun 8, 2009 at 3:22 PM,
On Mon, Jun 8, 2009 at 3:49 PM, jason jason.franklin.sto...@gmail.comwrote:
can you post the entier error message you are getting
On 8 Jun., 12:03, kiran yajamanyam kiranyajaman...@gmail.com wrote:
Hii Jason,
I tried with the same piece of code and I am still getting the same
error
Hi Friends,
I have struck up with this issue. I have re-installed my ruby setup and
still I am facing problem with .Set method. Is there any work around for
this?
Please help me in this.
Thanks and Regards,
Kiran Y
On Mon, Jun 8, 2009 at 3:54 PM, kiran yajamanyam
kiranyajaman...@gmail.comwrote
If you have automation knowledge, it shouldn't take much time to learn.
First start it and you will know about it.
Regards,
Kiran Y
On Fri, Jul 10, 2009 at 12:02 PM, Swap swapnal.sa...@gmail.com wrote:
Hello,
I am new to learn Watir. And my company ask me the estimation to learn
the Watir.
...@gmail.com wrote:
I do not have automation knowledge then how much time I will need to learn
everything of Watir?
Swapnal
On Fri, Jul 10, 2009 at 12:04 PM, kiran yajamanyam
kiranyajaman...@gmail.com wrote:
If you have automation knowledge, it shouldn't take much time to learn.
First start
Any info on this friends?
On Fri, Jul 10, 2009 at 11:44 AM, Kinnu kiranyajaman...@gmail.com wrote:
Hi Friends,
I am using ie.hwnd in watir to get the browser handle. I have observed
that there is no such property available in FireWatir. Is there any
work around for this? basically what i
explain what you are trying to do by getting the handle of window?
may be we can suggest some workaround to do the same in Firewatir?
- Angrez
On Fri, Jul 10, 2009 at 1:03 PM, kiran yajamanyam
kiranyajaman...@gmail.com wrote:
Any info on this friends?
On Fri, Jul 10, 2009 at 11:44 AM
Even I faced this issue, but it is not 100% reproducible, is there any work
around for this?
Regards,
Kinnu
On Sat, Jul 11, 2009 at 3:41 AM, jtk jeff.kr...@gmail.com wrote:
I'm trying to automate a script that will read the FireFox
about:config page. To do this I want to put text into the
to set the value like this:
ff.text_field(:id, 'id').value = xyz
But why you want to set value for read-only text box?
On Sat, Jul 11, 2009 at 11:42 PM, kiran yajamanyam
kiranyajaman...@gmail.com wrote:
Even I faced this issue, but it is not 100% reproducible, is there any
work around
of the window using the title? If yes, then you can use
firefox title to get the handle.
- Angrez
On Fri, Jul 10, 2009 at 2:35 PM, kiran yajamanyam
kiranyajaman...@gmail.com wrote:
Hi Angrez,
Thanks for your reply. Following is the step which I want to perform.
Want to click
Hi Friends,
I want to use this method for Firefox. I have got some code for left_edge
and top_edge but I want code for top_edge_absolute and left_edge_absolute
Can any one help me.
Regards,
Kinnu
2009/5/27 Jungle_hunter junglehuanggangzh...@gmail.com
On 5月26日, 上午10时50分, sHiVa
Hi All,
I tried the same steps which u people have provided and still i am facing
the same problem. I have tried in two different machines and facing the same
problem.
I am using Firefox 3.0.11
jssh-0.9
Regards,
Kiran Y
On Sat, Jul 18, 2009 at 11:46 PM, venkatesh kumar
')
On Jul 21, 11:32 am, kiran yajamanyam kiranyajaman...@gmail.com
wrote:
Hi Friends,
Even i face this issue many times for many buttons. But i use mouse_click
method. Unfortunately, mouse_click is not working fine for firefox
browser
and i have got struck up with this issue
:
May be use fire_event('onMouseOver') instead of focus() ?
On 21 июл, 11:00, kiran yajamanyam kiranyajaman...@gmail.com wrote:
Its not working for me in firefox :(
On Tue, Jul 21, 2009 at 12:18 PM, basu bas.go...@gmail.com wrote:
Used this, its working now
$browser.ul(:id, cntList).li
I have restarted my machine and it has started working perfectly. Thank you
very much for your replies :)
Regards,
Kiran Y
On Tue, Jul 21, 2009 at 5:52 PM, aparna aparna.m...@gmail.com wrote:
Hi Kiran,
Is your system 32-bit machine?
Regards,
Aparna
On Jul 20, 3:52 pm, kiran yajamanyam
Why dont your try .ini file, you keep all the required SN and Password
information in .ini file and access it through your script. This will be
simple I feel
Kiran
On Mon, Sep 14, 2009 at 4:06 PM, msazeez28july sabdulkha...@gmail.comwrote:
Hi,
We have watir scripts which requires url,
No screen shot is available. Can you resend it?
On Thu, Sep 24, 2009 at 1:12 PM, sathish_Er vpm.sath...@gmail.com wrote:
I am using ruby 1.8.5 for developing a script to automate the process
to record the response time ,
On executing the script in Scite i found the error attached the
Try with index. This will be the best way.
Regards,
Kiran
On Thu, Oct 1, 2009 at 11:58 AM, Pallavi Sharma write2pall...@gmail.comwrote:
Hi
I have a scenario in which we have third party combo boxes in the app which
are defined as:
INPUT class=dojoComboBox autoSelectBox __doClobber__
Even i feel it should not matter untill its useful, people will learn it if
tool is good
On Fri, Dec 18, 2009 at 11:47 AM, Alister Scott alister.sc...@gmail.comwrote:
I am not really sure it matters what people call it.
As long as they are getting value from it and they know how to spell
it
You can use sleep() instead of Wait.
On Thu, Mar 18, 2010 at 2:46 PM, tonymocha mochat...@gmail.com wrote:
Have problem with Firewatir wait command that won't wait for the page
to load complete before proceeding other actions. Here is the sample
code I used:
require 'rubygems'
require
Please let us know where you are unable to proceed.
On Fri, Mar 19, 2010 at 2:35 PM, Wesley Chen cjq@gmail.com wrote:
I think you have to post your script here.
Wesley.
For life, the easier, the better.
On Thu, Mar 18, 2010 at 6:18 PM, Dilip M lovingdilip...@gmail.com wrote:
Hi
Hi Wesley,
By default for frame attribute is name so when we use ie.frame(name) will
work.
When I use index eg: ie.frame(name attribute of frame).image(:index,
1).click() its working but when I use other attributes to identify it
throws error unable to identify.
Thanks,
Kiran
On Fri, Apr
try with
ie.link(:text=LogOut, :index=1).click() or
ie.link(:text=LogOut, :index=2).click() or
ie.link(:text=LogOut, :index=3).click()
try with diff index values by trail and error or you can include parent of
that link and try example
ie.div(just example).link(:text, LogOut).click()
Else
the functional testing.
I do not know how to make working:
#1.-
#2.
from the script. How to logout and simple select a link.
Thanks a lot,
Cristina
On Mon, May 24, 2010 at 12:16 PM, kiran yajamanyam
kiranyajaman...@gmail.com wrote:
try with
ie.link(:text=LogOut, :index=1
find the attached .rb file which will help you to understand how to deal
with select_list. Else give us the screen shot I will try to send you the
piece of code
On Tue, May 25, 2010 at 4:48 PM, Željko Filipin
zeljko.fili...@wa-research.ch wrote:
2010/5/25 khaja shaik khaja.sh...@gmail.com
Do you have any other attribute value other than :text='div' ? Like class
or ID . If you have any other value you can directly use them.
-K
On Fri, Jun 25, 2010 at 6:33 PM, Ajitesh Srinetra
ajitesh.srine...@gmail.com wrote:
At present in my Web Page I can See a lot of divs and i access them
Hi All,
To add my question to this thread. i have a scenario when in I have
initialized first IE say ie1 where in i have declared a variable SignIn
for say SignIn button and When I click on some link it opens a new window
and I want to work on that window for which I will use ie2 =
Great solution :). Thank you very much :)
On Wed, Jun 30, 2010 at 6:50 PM, Željko Filipin
zeljko.fili...@wa-research.ch wrote:
2010/6/30 kiran yajamanyam kiranyajaman...@gmail.com
signin = ie1.button(:text, SignIn)
You could do something like this:
def signin(browser)
browser.button
Hi Friends,
I am facing a problem while clicking on few objects (both in IE and Firefox)
for IE I am using mouse_click() method which I have taken from grup and is
perfectly working fine and I have attached that piece of code in this mail.
Did some one tried Mouse_click method for firewatir?
I
42 matches
Mail list logo