Re: [wtr-general] Unable to handle dialog box in IE

2014-06-18 Thread Raveendran P
Hi Minyi, Please share the current code then only we can atlaest understand the problem to help. For now: browser.alert.ok -- will solve your problem 1 On Fri, Jun 13, 2014 at 5:37 PM, Joe Fleck wrote: > MinYi, > > You could try using sikuli (sikuli.org) it can be called with

Re: [wtr-general] 2 buttons in same frame having different behavior

2014-06-18 Thread Raveendran P
Hi, Can you please share the screenshot , Ruby code and HTML code for the same to debug the issue. For now: 1. Can you please try to focus the approve button before click browser.button(:text,'Approve').when_present.focus browser.button(:text,'Approve').when_present.click On

Re: [wtr-general] How to call a function writen in ruby in an excel spreadsheet

2014-03-21 Thread Raveendran P
Hi, Please the ruby methods eval , send eta And the third way is to use the eval method: 1 2 eval "s.length" #=> 6 eval "s.include? 'hi'" #=>true On Fri, Jan 24, 2014 at 4:51 PM, wrote: > hi, >I have a ruby file with the code mentioned below, > require 'watir-webdriver' > require

Re: [wtr-general] Clicking an empty Div with Watir

2014-03-21 Thread Raveendran P
Hi, add --> sleep 10 after browser.element(:class, 'loginTwitter').click I hope it will solve your problem On Wed, Mar 19, 2014 at 11:36 PM, Oscar Rieken wrote: > http://watirwebdriver.com/browser-popups/ > > > On Wed, Mar 19, 2014 at 1:57 PM, Elad Shalom wrote: > >> Thanks, for your

Re: [wtr-general] Iteration with data from excel

2014-03-21 Thread Raveendran P
Hi, Please review CURF for your requirement -- http://raveendran.wordpress.com/2010/08/05/curf/ - Demo Video -> http://bit.ly/j_cuRF On Thu, Mar 20, 2014 at 11:27 AM, akshaya vivek wrote: > Hi > I am new to ruby cucumber and watir > How to run a scenario in watir many times with

Re: [wtr-general] Re: rescue in rbuf_fill': Timeout::Error

2013-11-23 Thread Raveendran P
Hi, Based on my exp, It may occurs in 3 diff condition 1. Internet limit crossed 2. Connection interrupt between test server and browser. 3. Memory allocation issue Solution : Get a help from System Admin to debug this issue. Nothing is required in code level(If u r very good in Ruby memory all

Re: [wtr-general] Re: Do Watir scripts run in selenium

2013-02-21 Thread Raveendran P
Umesh, I am summarizing the answers here Selenium-webdriver supports --> Ruby,Java,C#,Puthon,PHP .. etc Watir-webdriver supports --> Ruby Watir-webdriver --> It is simply helping to automate the web application using selenium-webdriver with User friendly methods(text_field, checkbox, radio, et

Re: [wtr-general] facing problem in calling a function

2011-10-18 Thread Raveendran P
Hi Babu, Write a method First. And call it from next line But in your case calling the method before defining it. It Should be def setup (iebro,val) iebro.goto xlsheet.Range('C'"#val").value end setup(browser2,$i) Thanks On Tue, Oct 18, 2011 at 1:58 AM, Babu wrote: > hi, > require

Re: [wtr-general] Cannot fill nested text_field in one form

2011-10-18 Thread Raveendran P
Hi, I have navigated the website provided by you. The Working Code for Google Chrome ie=Watir::Browser.new :chrome ie.goto("http://contour.com/users/";) ie.link(:id,'dd1').click (To Click Sigin In Drop Box) ie.text_field(:id,'user_email').set("jazzezr...@gmail.com") ie.text_field(:id,'user_passw

Re: [wtr-general] watir-webdriver unable to detect firefox

2011-10-18 Thread Raveendran P
Hi , It seems like 'ffi' library not installed properly. 1. Open Command prompt 2. >gem install ffi 3. Run the script again HElp --> http://rubygems.org/gems/ffi If still it throws any error then 4>uninstall watir-webdriver 5>install watir-webdriver Thanks On Tue, Oct 18, 2011 at 11:22 AM,

Re: [wtr-general] text file data delimited by ; append to web text_field

2011-09-07 Thread Raveendran P
ines[1].split[1] You can use it in watir like ie.text_field(:name, "subsets_.Name_").value = 2nd_value_1st_row Thanks Raveendran P On Wed, Sep 7, 2011 at 9:02 AM, byung wrote: > Below is the code I use to append data in a local text file into the > text_field on the web p

Re: [wtr-general] Unable to click the link (anchor and span)and use xpath in ruby script

2011-09-07 Thread Raveendran P
Hi Hari, Have your tried ff.link(:id, 'cwc_menu_local:ROOT.Find a Request-anchor').exist? and ff.link(:id, 'cwc_menu_local:ROOT.Find a Request-anchor').click and ff.link(:id, 'cwc_menu_local:ROOT.Find a Request-anchor').fire_event("onlclick") Thanks Ravi P On Wed, Sep 7, 2011 at 11:19 AM

Re: [wtr-general] Entering XML in textarea

2011-08-02 Thread Raveendran P
Hi, Try thi #*puts doc* => retruns the text So Pelase convert doc into String *doc=doc.to_s* puts doc.class => String (The next line works only the inoput is String or Fixnum.) *$browser.text_field(:id, "NewAEPGrid_ctl02_CoDFBox2").set(doc) * Now it should work .. Let me update here

Re: [wtr-general] counting headers

2011-06-27 Thread Raveendran P
quot; COUNT= a.scan("").length Thanks Raveendran P On Mon, Jun 27, 2011 at 11:03 PM, Anne wrote: > I need to be able to get a count of the number of h2 headers on a > page. > I can determine if a specific header exists by doing > @browser.h2(:text, "Abc").exists?

Re: [wtr-general] click_no_wait() is not working

2010-07-26 Thread Raveendran P
Hi Soori, If your_ruby_version != "1.8.6-26_patch level 111" URL --> http://raveendran.wordpress.com/2010/06/08/watir-click_no_wait-for-checkbox/ Please install the recommended version to fix the issue else Ple

Re: [wtr-general] facing issue with clicking buttons

2010-07-26 Thread Raveendran P
Hi Praveen, Have you tried these possibilities ? *canvas_frame.div(:class, 'J-Zh-I J-J5-Ji Bq L3').flash* * canvas_frame.div(:id, ': 15m ').flash canvas_frame.div(:id, ': 15m ').flash * On Fri, Jul 23, 2010 at 1:32 PM, praveen kumar wrote: > Hi John, > > I have tried with div, but unable

Re: [wtr-general] click_no_wait, why so inconsistent?

2010-07-05 Thread Raveendran P
Hi, Pls hav a look at this http://raveendran.wordpress.com/2010/06/08/watir-click_no_wait-for-checkbox/ Thanks On Sat, May 22, 2010 at 5:18 AM, cslumension wrote: > Want to download files, using a click_no_wait method, which works > great the first time it's called, but each sequential cal

Re: [wtr-general] Help Installing Watir

2010-07-05 Thread Raveendran P
Hi, Are you trying to update behind PROXY ? On Sun, Jul 4, 2010 at 1:54 AM, Watir wrote: > So I have downloaded Ruby 186-26, and now I need help installing > Watir. Every time in the command prompt I type gem update--system, it > gives me a runtime error. Also when I type gem install watir, i

Re: [wtr-general] Re: Save dynamic image

2009-12-15 Thread Raveendran P
Hi , Please post the *answer* here. That may help to others, who are facing the same issue. Thanks On Tue, Dec 15, 2009 at 7:35 PM, bm wrote: > I solve my problem, so ignore this topic :) > > -- > You received this message because you are subscribed to the Google Groups > "Watir General" group

[wtr-general] Re: happy belated birthday watir.

2009-11-19 Thread Raveendran P
Hi Team, Watir Rocks... Congrats team. Water is must for real world. Watir is must automation world! Regards, P.Raveendran http://raveendran.wordpress.com On Thu, Nov 19, 2009 at 5:31 PM, jnxgn wrote: > > Happy Birthday! > > > On Nov 19, 2:53 am, Paul Rogers wrote: > > If Im correct, wat

[wtr-general] Re: click on item in span

2009-11-17 Thread Raveendran P
for me. > > Thanks a lot! > > On Nov 17, 2:05 am, Raveendran P wrote: > > Hi Kai, > > > > I hope it helps --> ie.span(:text,'MZ Test Search').click > > > > If it is not working then please provide the html code for that page > > (Atleast a tag deta

[wtr-general] Re: click on item in span

2009-11-16 Thread Raveendran P
Hi Kai, I hope it helps --> ie.span(:text,'MZ Test Search').click If it is not working then please provide the html code for that page (Atleast a tag details) Thanks On Tue, Nov 17, 2009 at 3:47 AM, Kai wrote: > > Hi. I need to be able to click on "MZ Test Search". Does anyone know > what met

[wtr-general] Re: Really....Ruby + Watir + Command Line

2009-11-11 Thread Raveendran P
Hi, Please try to use slep(10) commands. It means ie.goto("htp://google.com") sleep(10) ie.text_field(:name,"q").set("Raveendran") sleep(10) . . . I hope it works now. Rit ? On Thu, Nov 12, 2009 at 12:48 AM, tester86 wrote: > > Another Error From Command Prompt: > > ## Beginning of test: Goo

[wtr-general] Re: Really....Ruby + Watir + Command Line

2009-11-09 Thread Raveendran P
Hi, Add first line --> require 'rubygems' Remove line no.2 --> include Watir I hope it works now. If its not working then Please provide more details about Watir Verison and Ruby version. Thanks On Tue, Nov 10, 2009 at 3:19 AM, tester86 wrote: > > I am trying to run a watir script: > > requi

[wtr-general] Re: Can Watir fetch the system time?

2009-11-08 Thread Raveendran P
Hi Zhong, Ruby can but i am not sure about Watir. The Ruby code to get system time in Ubuntu machine: systime.rb mytime=`date` puts time=mytime.split(' ')[3] output: 10:48:31 For windows --> Please refer http://bit.ly/iub2C Thanks On Mon, Nov 9, 2009 at 10:04 AM, yuping zhong wrote: >

[wtr-general] Re: clear/delete browser cookie on firewatir (ubuntu)

2009-11-06 Thread Raveendran P
Hi Marlon, Few months before I had faced the same issue but not found any solution in Firewatir. So i used Ccleaner with ruby --http://bit.ly/4iYTtB I am also expecting the solution in Firewatir itself. Let us wait some other updates regards this thread. Thanks On Fri, Nov 6, 2009 at 1:

[wtr-general] Re: How to get html meta details

2009-11-03 Thread Raveendran P
cess the URL: http://bit.ly/4mDHoJ > How can I make it? > > > Thanks. > Wesley Chen. > For life, the easier, the better. > > > On Tue, Nov 3, 2009 at 4:42 PM, Raveendran P wrote: > >> Hi Marlon, >> >> welcome ... ! >> >> >> On Tue, Nov

[wtr-general] Re: How to get html meta details

2009-11-03 Thread Raveendran P
Hi Marlon, welcome ... ! On Tue, Nov 3, 2009 at 1:11 PM, Marlon wrote: > > > Hi Raveendran, > > I was able to get what I want. For now im going to use it. > > thanks lot for helping! > > marlon > > > > > > > -- Regards, P.Raveendran http://raveendran.wordpress.com --~--~-~--~~--

[wtr-general] Re: How to get html meta details

2009-11-02 Thread Raveendran P
Hi Marlon, If you want* pure RUBY code* for that purpose then please try with this http://bit.ly/4mDHoJ Thanks On Tue, Nov 3, 2009 at 9:21 AM, Marlon wrote: > I found the part of the solution here > http://groups.google.com/group/watir-general/browse_thread/thread/5668eca30fdf784/940aa7f7be28c

[wtr-general] Re: Need help about startClicker

2009-10-29 Thread Raveendran P
ppear. > > If my guess is correct, is there any other alternat way to handle the > popup... like based on the warning message printed on the popup > > Thanks > > On Oct 29, 12:15 pm, Raveendran P wrote: > > Hi Bindhu, > > > > Its Strange ! There is not possib

[wtr-general] Re: Data driven framework using SQL database

2009-10-29 Thread Raveendran P
Hi, Try this article to connect sql database http://bit.ly/2G9Z3E Thanks On Thu, Oct 29, 2009 at 5:03 PM, Pritam wrote: > > > Hi guys, > > I am new to ruby programming, and I need help in developing data > driven framework which uses sql database for retrieving data. I h

[wtr-general] Re: Unable to update gems and install watir

2009-10-29 Thread Raveendran P
Hi Suriya, try with this >gem install watir -v1.6.2 If any error occurs then pls let me know .. Thanks On Wed, Oct 28, 2009 at 4:57 PM, ravisuri...@gmail.com < ravisuri...@gmail.com> wrote: > > Hi, > > 1. Installed Ruby (ruby186-26.exe) available at URL --- > http://rubyforge.org/frs/down

[wtr-general] Re: Need help about startClicker

2009-10-29 Thread Raveendran P
ick > $ie.frame(:name, "mainFrame").button(:id,"addProducts").click > > Thanks > > > On Oct 29, 11:55 am, Raveendran P wrote: > > Hi Bindhu, > > > > Try with this change > > > > if ouput == true > > > > else > &

[wtr-general] Re: Need help about startClicker

2009-10-28 Thread Raveendran P
t; $ie = Watir::IE.find(:url,/secure/) > $ie.frame(:name, "mainFrame").button(:id,"submitBtn").click > end > It is handling popup if appears but not executing the remaning code. > And if popup does not appear it is still waiting for it. > Am I using to your c

[wtr-general] Re: Need help about startClicker

2009-10-28 Thread Raveendran P
Hi Bindhu, Sorry for interrupt but may be this will help to solve ur problem. Try with this article --> http:// bit.ly/3TbxYr and Replace the window name "notepad' to your "pop-up window" name. Thanks On Thu, Oct 29, 2009 at 11:06 AM, Bindhu wrote: > > Hi Zeljko, >

[wtr-general] Re: watir or selenium

2009-10-28 Thread Raveendran P
- >> specific drivers that communicate in Selenese to the browser bot.". >> What did you mean by that exactly? I mean, why cannot you express >> Watir tests in a programming language? Aren't you programming Watir >> tests in Ruby - so in a programming language? Or

[wtr-general] Re: Basic authentication on Linux with FireWatir

2009-10-27 Thread Raveendran P
Hi Aedorn, I got some idea's from Selenium.I implemented it in my Watir scripts. Have you tried this way? -- > http://bit.ly/21zDrH Awaiting your reply Thanks On Wed, Oct 28, 2009 at 6:03 AM, Ethan wrote: > Yeah, you should be able to get a handle to the window where y

[wtr-general] Re: watir or selenium

2009-10-27 Thread Raveendran P
Hi E, This link will highlight some imp points --> http://bit.ly/1dtC2w thanks On Tue, Oct 27, 2009 at 7:21 PM, Gossler Erika wrote: > Hi, > > I'm searching any info of comparing Watir and Selenium. > > I have found a lot of usefull links&tips on the internet, but if you have > some

[wtr-general] Re: file_field in File Upload dialog

2009-10-27 Thread Raveendran P
Hi Kogi, require 'rubygems' require 'win32ole' homers_bird(File_Upload_window_Name) def homers_bird(dialog_name,key="{enter}") @ur="C:\\Documents and Settings\\raveendran\\My Documents\\My Videos\\nike_airport.flv" wsh = WIN32OLE.new('WScript.Shell') wsh.AppActivate(dialog_name) sleep(

[wtr-general] Re: Open and close Browser repeatedly leads to ie hanging

2009-10-16 Thread Raveendran P
Hi Pallavi, It seems you are continuously opening and closing ie windows. 1. Try this manually -->You will face the same issue because of low - System Capacity / Internet connection No other reason for this issue. Am i rit ? if wrong, I am also expecting the answer from others Thanks, P.R

[wtr-general] Re: Html Elements Supported by Watir

2009-10-08 Thread Raveendran P
ZelijGO, Congrats. Awesome effort. Thanks. On Fri, Oct 9, 2009 at 11:00 AM, Pallavi Sharma wrote: > Zeljko > > its just awesome the amount of hard work you put into this group. > > Thanks Zeljko for every help and suggestion ... > > > Regards, > > Pallavi. > > > On Thu, Oct 8, 2009 at

[wtr-general] Re: File Field Help

2009-10-06 Thread Raveendran P
hange") > f.span(:text, "Upload Video").click() > > > > On Mon, Oct 5, 2009 at 3:12 AM, Raveendran P wrote: > >> Hi Bill, >> >> >> My Bad luck , >> >> After $ff.refresh --> Still the upload video button is not enabled .. :) >

[wtr-general] Re: earn money through Home based internet jobs

2009-10-05 Thread Raveendran P
http://watirpodcast.com/ > > On Mon, Oct 5, 2009 at 1:08 PM, Raveendran P wrote: > > > > Hi Group Administrator(Moderator), > > > > To avoid this kind of spam mails, > > > > 1. When the user requested to join this group --> Ask simple 5 w

[wtr-general] Re: earn money through Home based internet jobs

2009-10-05 Thread Raveendran P
Hi Group Administrator(Moderator), To avoid this kind of spam mails, 1. When the user requested to join this group --> Ask simple 5 watir related questions 2. Block other members to send email to "watir-general@googlegroups.com" Because most of the forums has junk of Spam mails like this. We ar

[wtr-general] Re: File Field Help

2009-10-05 Thread Raveendran P
ve had > problems where what is displayed in the browser seems to go out of sync with > FireWatir's view of the DOM (specifically, elements you can see in the page > are not accessible from script). But refreshing the browser usually fixes > it. > > > On Sun, Oct 4, 2009

[wtr-general] Re: File Field Help

2009-10-04 Thread Raveendran P
. But the same code not working in FireWatir for Firefox browser It means, The "Upload Video" span not enabled automatically after set the path like $ff.file_field(:name, "field_uploadfile").set($video_files[0]) Any more details need ? On Sun, Oct 4, 2009 at 8:54 PM, R

[wtr-general] Re: File Field Help

2009-10-04 Thread Raveendran P
hat browser version are you using? Also, is the path to the file being > set properly in the dialog? > > Thanks > Bill > > > > On Sat, Oct 3, 2009 at 4:28 AM, Raveendran P wrote: > >> Hi All, >> >> Any alternate method for this code >> >&g

[wtr-general] File Field Help

2009-10-03 Thread Raveendran P
Hi All, Any alternate method for this code $ie.file_field( :name, "document" ).set( "c:\\Watir Testware\\Data\\vb.txt" ) I need alternate for this code ... Reason : After did the above line the Upload button is not enabled automatically. But it happens when i select files manually Than

[wtr-general] Re: Load Testing with WATIR

2009-09-30 Thread Raveendran P
Hi All, I replied to him in other thread. So just skip this conversation. Thanks On Wed, Sep 30, 2009 at 5:21 PM, venkat wrote: > but it is thwowing the below error while executing, can you please give > some tips for successfull execution of these scripts. > > > c:\ruby/lib/ruby/site_ruby/1.8

[wtr-general] Re: Load Testing with WATIR configuration settings - USERS/ Concurrency/ Rampup

2009-09-30 Thread Raveendran P
'rubgems' > require 'watir' > require 'watir/contrib/ie-new-process' > ie = Watir::IE.new_process > ie.goto('google.com') > > Could you please help me out how to resolve and run the sample scripts. > > > Thanks, > Venk

[wtr-general] Re: Load Testing with WATIR configuration settings - USERS/ Concurrency/ Rampup

2009-09-29 Thread Raveendran P
Hi, I hope you will get the sample code from here --> http://wiki.openqa.org/display/WTR/Re-Usable+Load+Testing+Example Do you need to run this sample code in your local machine ? it means do u need help to install the dependencies ? Thanks On Tue, Sep 29, 2009 at 7:23 PM, venky wrote: > > Hi

[wtr-general] Re: Right Click and Element Script

2009-09-29 Thread Raveendran P
the page but not able > to. The code snippets are attached. > > Please help!! > > Thanks > > Pallavi > > > On Tue, Sep 29, 2009 at 4:43 PM, Raveendran P wrote: > >> Hi pallavi, >> >> Yes. Def it will work.. >> >> If not then pls paste ur html co

[wtr-general] Re: Right Click and Element Script

2009-09-29 Thread Raveendran P
e way: win32ole_pp throws an error so i removed it. > > One more thing i will be using this on a div containg table, and its table > cell will it work?? > > Thanks > > Pallavi > > > On Tue, Sep 29, 2009 at 3:58 PM, Raveendran P > wrote: > >> Hi pallavi, >>

[wtr-general] Re: Right Click and Element Script

2009-09-29 Thread Raveendran P
Hi pallavi, Pls add and try again May be try this all possibilities require 'rubygems' require 'watir' require 'pp' require 'win32ole' require "win32ole_pp" require 'watir/WindowHelper' Awaiting your reply... Thanks On Tue, Sep 29, 2009 at 3:17 PM, Pallavi Sharma wrote: > Hi All > > I am tr

[wtr-general] Re: How do i read a .txt file using watir script

2009-09-14 Thread Raveendran P
Hi, If you interested in your requirement then try this -- http://www.yaml.org/YAML_for_ruby.html On Mon, Sep 14, 2009 at 4:06 PM, msazeez28july wrote: > > Hi, > We have watir scripts which requires url, username, password and > path (location of the datatables). > These parameters ar

[wtr-general] Re: How to read an xml file using watir scripts

2009-09-09 Thread Raveendran P
Hi, Hpricot --> This article will help you http://markmail.org/message/x56irjeq2bv37z23 Thanks On Wed, Sep 9, 2009 at 12:24 PM, msazeez28july wrote: > > Hi, > We have an .NET application for which the UI labels can be > configured/changed using an xml file provided inside code. There are >

[wtr-general] Re: How to perform a right click

2009-08-31 Thread Raveendran P
t; > http://wiki.openqa.org/display/WTR/Right+Click+an+Element > > > > On Mon, Aug 31, 2009 at 10:43 PM, Raveendran P wrote: > >> Hi, >> >> Try this --> >> http://raveendran.wordpress.com/2009/07/24/mouse-clicks-in-watirruby/ >> >> >> >> 2009/

[wtr-general] Re: How to perform a right click

2009-08-31 Thread Raveendran P
Hi, Try this --> http://raveendran.wordpress.com/2009/07/24/mouse-clicks-in-watirruby/ 2009/9/1 Eason > Hi all, > who could let me know how to use code to do right click? > I can not find such a method in the rdoc. > > Please help, thank you! > -- > Eason >

[wtr-general] Re: delete cookies

2009-08-21 Thread Raveendran P
Hi, The below code executes without any error. But Nothing happens in C:\Documents and Settings\raveendran\Local Settings\Temporary Internet Files Awaiting your reply On Fri, May 16, 2008 at 6:19 PM, Moochie wrote: > > # Purpose: To delete all cookies on the PC > # Date: Feb 07, 2008 > > #

[wtr-general] Re: Getting error as - gem_original_require': no such file to load -- Xls (LoadError)

2009-08-20 Thread Raveendran P
Hi Durgesh, Try with this change xlFile = XLS.new(Dir.pwd + '../Data.xls') Thanks On Thu, Aug 20, 2009 at 4:05 PM, KK wrote: > > This might be because the Xls.rb is not accessible to this script. Try > keeping the file in the same directory as your script is residing or > provide the absolut

[wtr-general] Re: retrieving data from Child IE window to Parent IE Window

2009-08-19 Thread Raveendran P
Hi, Please look on this URL --> http://wtr.rubyforge.org/ and try yourself Thanks On Thu, Aug 20, 2009 at 10:28 AM, blranilmenon wrote: > > Hi All, > > Below the test case i am currently trying to automate using Watir, if > some one in this group could help me out. > > Test case is: > 1) Op

[wtr-general] Re: small problem regarding modules

2009-08-18 Thread Raveendran P
*Hi, puts(hi) --> * hi --> returns "He" but you mentioned like puts(hi).So it returns the nil for final puts which was added by you. Thanks On Tue, Aug 18, 2009 at 3:11 PM, shailesh wrote: > > This is my module in a file named sunny.rb: > > Sunny.rb: > > module Sunny > def hi > puts("

[wtr-general] Re: doubt regarding puts() and gets() function

2009-08-18 Thread Raveendran P
Hi, Additionally This is the forum for Only Watir Users. So please post your next ruby related question to Ruby-forums(http://ruby-forum.com). On Tue, Aug 18, 2009 at 3:10 PM, Raveendran P wrote: > Hi, > > 1. Go to command prompt > > 2. c:\WHERETHEcODEFolDER> ruby sunny.

[wtr-general] Re: doubt regarding puts() and gets() function

2009-08-18 Thread Raveendran P
Hi, 1. Go to command prompt 2. c:\WHERETHEcODEFolDER> ruby sunny.rb 3. try here and let me know Thanks On Tue, Aug 18, 2009 at 2:59 PM, shailesh wrote: > > have a look at the code : > > puts("He") > puts("h") > i=gets() > puts(i) > a very simple code but the output was : > > >ruby sunny

[wtr-general] Re: How do I get a URL parameter value

2009-08-18 Thread Raveendran P
Hi Dylan, *Way 1:* Please provide the code/site URL I will try and let u know *Way 2:* puts $ie.frame(:index, 1).methods.sort Search the output contains src method or not ? Thanks On Tue, Aug 18, 2009 at 12:18 PM, Dylan wrote: > > Can you do $ie.frame(:index, 1).src > ? > -Dylan > > On A

[wtr-general] Re: How do I get a URL parameter value

2009-08-17 Thread Raveendran P
Hi, Are tried like this ? @frame_src=$ie.frame(:index, 1).html On Tue, Aug 18, 2009 at 11:39 AM, Marlon wrote: > > Im getting an error retrieving "src" value which is "https://url.com/ > text.asp?p=xyz&q=abc " using > attribute_value() > > code: $ie.

[wtr-general] Re: How do I get a URL parameter value

2009-08-17 Thread Raveendran P
Hi, @src="https://url.com/text.asp?p=xyz&q=abc";>" puts @src.scan(%r{q=(.*?)">}im).flatten.to_s Try this and let me know .. Thanks On Tue, Aug 18, 2009 at 10:25 AM, Marlon wrote: > > Hi, please help, how can I get the url parameter value? I want to get > the value of "q" which is "abc". How

[wtr-general] Re: How to delete cookies in Firefox through firewatir script?

2009-08-17 Thread Raveendran P
Hi Mita, Hope this code helps you.. require 'fileutils' dir= "C:\\Documents and Settings\\raveendran\\Cookies" FileUtils.rm_rf dir Thanks On Mon, Aug 17, 2009 at 4:04 PM, Maumita wrote: > > Hi, > > How to delete cookies in Firefox through firewatir script? > > Thanks > Maumita > > > -- Re

[wtr-general] Re: How to click the link in dynamically generated ajax content?

2009-08-14 Thread Raveendran P
t; "It is Disabled" > end > > Regards > Durgesh. > > --- On *Fri, 14/8/09, Raveendran P * wrote: > > > From: Raveendran P > Subject: [wtr-general] Re: How to click the link in dynamically generated > ajax content? > To: watir-general@googlegroups.com

[wtr-general] Re: How to click the link in dynamically generated ajax content?

2009-08-14 Thread Raveendran P
Hi Durgesh, Cool ! Let me know which code solved your issue ? On Fri, Aug 14, 2009 at 4:06 PM, Durgesh Nadkarni wrote: > Hi Raveendran, > > It works.. Thanks a lot... > > Regards > Durgesh. > > --- On *Thu, 13/8/09, Raveendran P * wrote: > > > From: Raveendr

[wtr-general] Re: How to click the link in dynamically generated ajax content?

2009-08-13 Thread Raveendran P
ists?) > > How can use the given method? > > Thanks & Regards > Durgesh. > > > > --- On *Thu, 13/8/09, Raveendran P * wrote: > > > From: Raveendran P > Subject: [wtr-general] Re: How to click the link in dynamically generated > ajax content? > To: watir-gener

[wtr-general] Re: Closing just tab (or window) with Firewatir

2009-08-12 Thread Raveendran P
Hi William, This is the forum for ours(Watir User's) need.Ask any questions related to watir/ firewatir even it is very basic. So Don't use these words --> "First time posting. Forgive any mistakes please." Thanks On Thu, Aug 13, 2009 at 12:16 PM, Angrez Singh wrote: > Make sure you have a

[wtr-general] Re: How to click the link in dynamically generated ajax content?

2009-08-12 Thread Raveendran P
. But when I use verify statement it > does not recognized that link is disabled. > > Thanks & Regards > Durgesh. > > --- On *Mon, 10/8/09, Raveendran P * wrote: > > > From: Raveendran P > Subject: [wtr-general] Re: How to click the link in dynamically generated

[wtr-general] Re: How to click the link in dynamically generated ajax content?

2009-08-09 Thread Raveendran P
n, > > That HTML code is getting during runtime. Thats why we cannot paste the > html code for that link. > > Is there any other method through which we can recognized that link? > > Thanks & Regards > Durgesh. > > --- On *Fri, 7/8/09, Raveendran P * wrote:

[wtr-general] Re: undefined method `{ENTER}' for #

2009-08-07 Thread Raveendran P
Hi Marlon, It seems the ENTER key is clicked but not in IE browser. Focus missing here. Please use $ie.div(:id,"ANY").focus -- before press enter key. May be it will work ... On Fri, Aug 7, 2009 at 2:49 PM, Marlon wrote: > > > Yes i already tried that, no error but its not pressing ent

[wtr-general] Re: How to click the link in dynamically generated ajax content?

2009-08-07 Thread Raveendran P
Hi Durgesh, is it possible to paste the html code for that link here ? Thanks, Raveendran http://raveendran.wordpress.com On Fri, Aug 7, 2009 at 1:44 PM, Durgesh wrote: > > Hi, > > I want to click one link which is coming from dynamically generated > ajax contents.The source could not be found

[wtr-general] Re: Embed tag - watir

2009-07-18 Thread Raveendran P
Hi, html CODE: Press "Upload Video" to select and upload another video file. Awaiting reply... Thanks On Sat, Jul 18, 2009 at 2:23 PM, Raveendran P wrote: > Hi All, > > require 'rubygems' > require 'watir' > $ie=Watir::IE.new >

[wtr-general] Re: asset_enabled error to click a button

2009-07-18 Thread Raveendran P
Hi Venki, Any luck ? I am also facing the same issue. Please reply to me about this issue... Awaiting your reply.. On Sat, May 30, 2009 at 1:02 PM, Venkat wrote: > > I wrote a code to click on button > ie.button(:id, "action_button").click > > But I am getting following errors: > C:\Documen

[wtr-general] Re: Embed tag - watir

2009-07-18 Thread Raveendran P
Hi All, require 'rubygems' require 'watir' $ie=Watir::IE.new $ie.goto("http://www.youtube.com/";) sleep(2) $ie.link(:text, 'Sign In').click sleep(2) $ie.form(:id, 'gaia_loginform').text_field(:id, 'Email').set('jazzezravi') $ie.form(:id, 'gaia_loginform').text_field(:id, 'Passwd').set('jazzez') $i

[wtr-general] Embed tag - watir

2009-07-17 Thread Raveendran P
Hi All, 1. One OBJECT is available. 2. The source code for the OBJECT is http://s.ytimg.com/yt/swf/uploaderapi-vfl81865.swf"; type="application/x-shockwave-flash"/> 3. I need to click the OBJECT. I have tried: $ie.element_by_xpath("//emb...@id='uploaderapi_swf']") ==> main.rb:18: undefin

[wtr-general] Re: Watir as Web Crawler

2009-07-08 Thread Raveendran P
ssibility that you can share that code with me. > > Thanks > > Ravinder Singroha > > On Jul 8, 4:08 pm, Raveendran P wrote: > > Yes. I have user watir as a Web Crawler. > > > > On Wed, Jul 8, 2009 at 2:25 PM, Ravinder Singroha < > > > > ravindersi

[wtr-general] Re: Watir as Web Crawler

2009-07-08 Thread Raveendran P
Yes. I have user watir as a Web Crawler. On Wed, Jul 8, 2009 at 2:25 PM, Ravinder Singroha < ravindersingr...@gmail.com> wrote: > > Hi All > Is any body use Watir as Web Crawler ever ? > Waiting for some positive response :) > > Thx > Ravinder Singroha > > > -- Regards, P.Raveendran --~--~---

[wtr-general] Re: How to Input Content to FCK textarea

2009-05-06 Thread Raveendran P
Hi All, It is working fine. But Already the editor contains text like "TESTING" I entered now "Automation" but I want to remove the existing word. Any help ? 2009/4/10 Cai Licheng > Thanks KrianD, I have regisetered it.It can work now. > > > 2009/4/10 KiranD > >> Type below command in