On Fri, Aug 13, 2010 at 5:59 AM, Chan Nguyen atbl1...@gmail.com wrote:
So this problem is only with frame?
Yes.
Is there any other element that we have to do this kind of nested call ?
No.
What's the easiest way to access an element?
What's the most usable way to access an element?
Make
On Fri, Aug 13, 2010 at 7:11 AM, cyril.gonsal...@mastek.com
cyril.gonsal...@mastek.com wrote:
But i need to keep open all 4 command prompts with bat files running
in it.
How is this related to Watir?
Željko
--
watir.com - community manager
watirpodcast.com - host
testingpodcast.com - audio
Once I run all bat files, I need to test a web application i.e. In order to run
the web application I need to keep alive batch services.
Hence I want to automate the test case where I can run these bat file
automatically (thru Script).
Is there any way to run multiple bat file at the same time
2010/8/13 Cyril A. Gonsalves cyril.gonsal...@mastek.com
Is there any way to run multiple bat file at the same time and keep
running unless closed manually
You could use threads. I think you will get more replies at a Ruby list,
because this is not Watir specific.
Željko
--
Before posting,
Thanks for the update bro… ☺
MASTEK LTD.
In the US, we're called MAJESCOMASTEK
~~
Opinions expressed in this e-mail are those of the individual and not that of
Mastek Limited, unless
You can run all the scripts form a bat file, to run multiple bat files one by
one you can usefollowing command in bat file
start /SEPARATE bat1.filestart /SEPARATE bat2.file
This will make sure a independent command prompt will be running, from this
you can run other ruby scripts or Watir Suite
Hi,
I am writing script for a testcase below.
1. Open Link abc.htm
2. Click link chat me on abc.htm
3. Enter text in the testfield on the newly opened page
4. Click submit button
While written script for above like this
# Reuired libraries
require 'watir'
site_text =
On Fri, Aug 13, 2010 at 1:21 PM, cyril.gonsal...@mastek.com
cyril.gonsal...@mastek.com wrote:
if yes then how to access objects e.g textfield in the browser i.e.
opened by clicking the link in another browser
You want to attach to another browser window?
Gr8 work dude……
Really helpful
MASTEK LTD.
In the US, we're called MAJESCOMASTEK
~~
Opinions expressed in this e-mail are those of the individual and not that of
Mastek Limited, unless
you have to attach that new windows, do the activities and then close that
and come back to your original browser.
in my ruby+watir framework I use the below if any new window opens where i
need to do anything
if attach_url(/url in reg exp/) then
enter_text_into_text_field_text(Enter the value
Thanks a lot for useful info...
MASTEK LTD.
In the US, we're called MAJESCOMASTEK
~~
Opinions expressed in this e-mail are those of the individual and not that of
Mastek Limited, unless
Cyril,
Suggest you create one bat file that calls the other bat files, then
launch that bat file instead of the four individually.
Use DOS to do the DOS specific tasks.
Joe
On Aug 12, 11:11 pm, cyril.gonsal...@mastek.com
cyril.gonsal...@mastek.com wrote:
Hi,
I want to run four bat file
Hi Željko again,
Thanks for your clear answer ;) ! I will keep this in mind Only
Frame ^_^ !
On Aug 13, 12:33 am, Željko Filipin zeljko.fili...@wa-research.ch
wrote:
On Fri, Aug 13, 2010 at 5:59 AM, Chan Nguyen atbl1...@gmail.com wrote:
So this problem is only with frame?
Yes.
Is there
Yesterday, when I was home. I got it run without problem under FF
( Ubuntu Linux ). Now I'm at work, I used ie. and it gave me errors :
(. Any idea?
frame = browser.frame( :id, Main_Body )
frame.checkbox( :id, cblModules_0 ).clear
frame.checkbox( :id, cblModules_1 ).clear
frame.checkbox( :id,
On Fri, Aug 13, 2010 at 4:11 PM, Chan Nguyen atbl1...@gmail.com wrote:
Access is denied.
Watir can not access contents of a frame. Please search this group for this
error message, I am sure there is a solution. If you can not find it, let me
know.
Željko
--
Before posting, please read
Thanks again Željko. Simple enough, add Trusted Sites under Internet
Explore Option ;) ! Sweet
On Fri, Aug 13, 2010 at 7:17 AM, Željko Filipin
zeljko.fili...@wa-research.ch wrote:
On Fri, Aug 13, 2010 at 4:11 PM, Chan Nguyen atbl1...@gmail.com wrote:
Access is denied.
Watir can not
Hi,
I am testing a Web Application, that includes a Calendar, and I want
to do double on it, to open a popup window, but I cant, I tried the
following
browser.div(:xpath, /html/body/div/div/div[2]/div[2]/div[2]/div/div/
div[2]/div/div[2]/div/div/div[2]/div/div[27]/table/tbody/tr/
Hi everyone,
My situation is that I fill in a form then click search button. The
result box will pop up with number of searches found. I want to verify
the result in this textbox but I really have no idea how? Anyone could
share me a hint?
Thanks,
--
Before posting, please read
For a project at work I need the ability to submit transactions using
soap calls. I tried searching the group and the only posts I could
find were for soap4r. From what I've read soap4r does not work well
and I found a gem called savon. Supposedly it's easier and more
lightweight than soap4r but I
Hi Arihan,
It is a Windows PopUp. When I manually run it, I use FF to locate the
text inside that Windows; however, when I check w/
contains_text( Some Search Results ), it failed :( . Can you show me
how to handle this situation?
Thanks,
On Aug 13, 9:03 am, arihan sinha arihan.si...@gmail.com
Just offhand, I'd wager there was more than one link on the page with
class=sWhiteLink , so you'd needed to have added an index value, or
another 'how' in order to uniquely identify the link.
On Aug 12, 1:56 pm, Chan Nguyen atbl1...@gmail.com wrote:
Thanks a lot order,
I got it worked when I
Hi orde again,
I tried to use your second method. Unfortunately, I always got not
exists when I tested the link
a href=javascript:\\ onclick=window.open('http://
media.rapmlsstg.com/help/10.01.01/', 'newWin',
'menubar=yes,toolbar=yes,resizable=yes,directories=no,scrollbars=yes,status=yes');
OK so what you have is a link with no text or anything of it's own,
just a 'naked' link, cohabitating in a cell with some text.
At the manual UI level it works because the objects all superimpose
and when someone positions the mouse over the text, they end up
clicking the link
Watir wise, what's
What about giving access to more people to the repository so it's
possible to make changes there without waiting for months? And what
about not trying to support everything and everyone by not wanting to
make any core changes to the code? That's what i don't understand.
Rails and RSpec guys are
Definitely not a Watir question, more of related to Savon or general ruby
lists. That being said, I've done soap service testing with Soap4R, which
isn't a great library and had considered moving to Savon. It's been a long
time since I looked at it, but hacked together a quick example given the
Those are good points, we should move this conversation into Watir-dev. I'd
love to see more general people on IRC, that goes doubly for anyone who's
working on Watir code. I find it much easier to discuss things there at
times, this being one. :)
Cheers,
Charley Baker
Lead Developer, Watir,
For info on attaching, see http://wiki.openqa.org/display/WTR/Pop+Ups
If you're trying to verify the existence of something in an iframe,
you'll need to specify the frame. Example: browser.frame(id,
'id').whatever(:id, 'id').exists?
On Aug 13, 9:16 am, Chan Nguyen atbl1...@gmail.com wrote:
Hi
Frames are evil.
Most web 2.0 developers I know try to avoid them like the plague. I
cannot share with you (without lots of censoring) what my web-devs say
about people that still use frames. (well except for the dev from
Russia, he just said 'they should be taken out and shot'.. (Stalin
would
I need to clear the elements all elements in a list, UL, I have the
following code
b.div(:id, x-auto-8963).ul(:id, x-auto-8964).clear
but it does not work
This the HTML code and i want to delete all the li elements
ul class=token-input-list-facebook x-component id=x-auto-648
li
You may consider the AutoIT extension for reading the content of the
popup window
On Aug 13, 11:06 am, Chan Nguyen atbl1...@gmail.com wrote:
Hi Arihan,
It is a Windows PopUp. When I manually run it, I use FF to locate the
text inside that Windows; however, when I check w/
contains_text( Some
Hi Linden,
Thanks a lot for your comment. To be honest, I'm still an intern here.
And I have 0 experiences with Web Development so I can't kick my
developers' asses yet ^_^. I'm evaluating Watir right now( just for
myself ) since my boss want me to learn Manual Testing first.
Although my company
Hi Kevy,
Is there any other way to work around this problem without touching
AutoIt?
On Aug 13, 12:16 pm, Super Kevy kpe...@scholarshipamerica.org wrote:
You may consider the AutoIT extension for reading the content of the
popup window
On Aug 13, 11:06 am, Chan Nguyen atbl1...@gmail.com
Hi,
I tried to execute a few line of ruby watir scripts in a cgi script:
#!/ruby/bin/ruby -w
require 'cgi'
require 'stringio'
require 'rubygems'
require 'mysql'
require 'watir'
require 'time'
cgi = CGI.new
serverIpValue = cgi.params['serverIp'][0]
mailIpValue = cgi.params['mailIp'][0]
Check in the mailing list and the main watir site for the same. First
identify what kind of dialog box you have and then work from there.
hth,
Charley Baker
Lead Developer, Watir, http://watir.com
On Fri, Aug 13, 2010 at 1:49 PM, Chan Nguyen atbl1...@gmail.com wrote:
Hi Kevy,
Is there any
First off, what does 'does not work' mean. what happens? do you get
an error message? if so what is it?
Second, That's an un-ordered list. it's not settable or clear-able.
The.clear method is for things like INPUT type tags such as checkboxes
Third, The example doesn't match your code
Too radical? I don't know.
I agree something better is needed, google groups is not well suited
to a 'support' type of work, there's no good way to track answered vs
unanswered questions, nor which responses ended up being the best
answer.
Even the MSDN forums that MS has are far better, but
I think Watir should have its own land ( a forum ). I tried both Selenium,
Watin and WebTest, but I'm in love w/ Watir.
On Fri, Aug 13, 2010 at 1:22 PM, Chuck van der Linden sqa...@gmail.comwrote:
Too radical? I don't know.
I agree something better is needed, google groups is not well suited
Im using the xpath because I dont have the ID but i talked ´to my Manager
who is also a dev and the said me that the event is contained in the
following xpath
html/body/div/div/div[2]/div[2]/div[2]/div/div/div[2]/div/div[2]/div/div/div[2]/div/div[25]/table/tbody/tr/td[2]
2010/8/13 Charley Baker
I personally don't think what you're proposing is too radical.
If people aren't committed, Stack Exchange won't work.
I personally dislike the number of complex rules, voting and hierarchy
associated with stack exchange stuff. I think it's a bit OTT.
I am happy to support any other options you
The problem is
a) it makes for unreadable text code, there's no way to tell what
cell it's clicking etc
b) next month, will the xpath be the same?
Are you folks using Coolite (EXTJS) tools?
There's probably a better way to identify the place you are trying to
doubleclick. possibly by the
There is a calendar with several rows, and you can do double click over
the row like in the image attachment.
2010/8/13 Chuck van der Linden sqa...@gmail.com
The problem is
a) it makes for unreadable text code, there's no way to tell what
cell it's clicking etc
b) next month, will the
There’s a Watir forum on SQAForums. It has all of six Watir-related threads…it
might be a interesting destination to switch efforts to.
From: watir-general@googlegroups.com [mailto:watir-gene...@googlegroups.com] On
Behalf Of Chan Nguyen
Sent: Friday, August 13, 2010 3:26 PM
To:
Howdy,
See info in the following thread:
http://groups.google.com/group/watir-general/browse_thread/thread/30a68323e906fa9b/61535cb87df9ac6c?lnk=raot
http://rubyforge.org/snippet/detail.php?type=snippetid=26
Regards,
Darryl
On Aug 9, 11:20 am, arihan sinha arihan.si...@gmail.com wrote:
pls
Hi everyone,
When I used watir with IE under Windows, everything worked fine. But
when I tried with FF under Linux, the complier complained that :
undefined method `contains_text' for #Watir::Frame:0xb749c638
(NoMethodError)
And my code snippet is :
main_frame = browser.frame( :id, Main_Body )
onchange=javascript:selectcombo_Report('0','ReportTemplate_Buselect',this.form)
class=select-menutoption value=-1 selected=selected- Select
One -/option
option value=DEMO-00908ABC Company/option
option value=DEMO-UK016ABC-GBP/option
option value=00901ABPorts/option
option value=ABSCOMBINEDABS
Great thanks Ethan ;) !
On Aug 13, 8:58 pm, Ethan notet...@gmail.com wrote:
contains_text is deprecated and omitted from watir-webdriver.
seehttp://github.com/jarib/watir-webdriver/issues/closed#issue/7
On Fri, Aug 13, 2010 at 23:43, Chan Nguyen atbl1...@gmail.com wrote:
Hi everyone,
:( !
But now I ran into another issue :
undefined method `text' for #Selenium::WebDriver::Driver:
0x..fb749fb58 browser=:firefox (NoMethodError)
Could you give me a 'last' help ^_^?
On Aug 13, 10:24 pm, Chan Nguyen atbl1...@gmail.com wrote:
Great thanks Ethan ;) !
On Aug 13, 8:58 pm, Ethan
Hi All,
Here is another select list from which I have to select Performance
by Dimension Can you Guide about it.
select name=selectedReportDetailsString size=1
onchange=javascript:submitReportTypes('
%=WebOperation.REPORTTEMPLATE_REPORT_SELECT%'); class=select-
menu180option value=- Select
Hi everyone,
I came across 3 *watir, and I think they're compatible with each
other. My IE script that I wrote broke when using FireWatir and
Webdrive :(. I just want to know what are significant differences
between those three? Thanks !
ps: Why don't people make them become consistent and
49 matches
Mail list logo