[wtr-general] Re: Need help how to work with watir testing angularjs app

2015-07-15 Thread Justin Ko
For the checkbox (copied from the answer on Stack Overflow http://stackoverflow.com/a/31431597/1200545): The problem with the checkbox is that it is not an HTML checkbox - ie input type=checkbox. Instead it is a md-checkbox, which I believe is from the Angular Material library. As a result,

[wtr-general] Re: Need help how to work with watir testing angularjs app

2015-07-15 Thread Super Kevy
You may wish to review: https://jkotests.wordpress.com/2012/08/28/locate-element-via-custom-attribute-css-and-xpath/ else something as simple as browser.text_field(:class,ng-pristine ng-valid ng-touched).send_keys('thefilename') The checkbox code eludes me, This looks like the remove

[wtr-general] Re: need help on table rows columns operations

2012-03-07 Thread Chuck van der Linden
On Monday, March 5, 2012 9:56:30 AM UTC-8, Bhavesh wrote: Hi, How can i operate on cells on the table. I have 1 table, inside that i have many columns and multiple rows like : ID CaseName Status ActivitiesCreationDate Supervisor

[wtr-general] Re: need help on table rows columns operations

2012-03-06 Thread Abe Heward
The pattern I think you're going to want to use is something like this (you should do your own experimentation with the page you're testing to find the exact combination of Watir hows and whats, in terms of elements and tags on the page, is going to work for you): @browser =

Re: [wtr-general] Re: Need Help with Element not found

2011-09-30 Thread Željko Filipin
On Fri, Sep 30, 2011 at 5:39 AM, Ivan Chung ivanchun...@gmail.com wrote: i wanted to click on the link under div id=player_buy_10104751 This works for me with the HTML you have provided: browser.div(:id = player_buy_10104751).link.click Željko -- watir.com - community manager watir.com/book -

[wtr-general] Re: Need Help with Element not found

2011-09-29 Thread Alister Scott
please provide the full code including the iframe -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com

[wtr-general] Re: Need Help with Element not found

2011-09-29 Thread Ivan Chung
the iframe that accessing is accurate because i am able to get other elements. See below from where the iframe called iframe id=iframe_canvas class=canvas_iframe_util noresize scrolling=no height=600px frameborder=0 src=javascript: name=xxx style=height: 1457px; overflow-y: hidden; Below are the

[wtr-general] Re: Need help with Rspec and Watir Webdriver

2011-06-30 Thread Parag Dave
Hi Here is the error list ./test8.rb:12: undefined method `text_field' for nil:NilClass (NoMethodError) from c:/ruby/lib/ruby/gems/1.8/gems/ rspec-1.2.9/lib/spec/example/example_group_methods.rb:183:in `module_eval' from c:/

[wtr-general] Re: Need help with Rspec and Watir Webdriver

2011-06-30 Thread Michael
Fix the indenting of your code and it should become clear: require 'rubygems' require 'watir-webdriver' describe 'MySite' do before(:all) { @browser = Watir::Browser.new :firefox } it 'contains Google' do @browser.goto 'http://google.com/' @browser.text.should include

[wtr-general] Re: Need help with Rspec and Watir Webdriver

2011-06-30 Thread Michael
Sorry for the extra email - but easier to see properly indented (with the tabs converted to spaces): require 'rubygems' require 'watir-webdriver' describe 'MySite' do before(:all) { @browser = Watir::Browser.new :firefox } it 'contains Google' do @browser.goto 'http://google.com/'

[wtr-general] Re: Need help with Rspec and Watir Webdriver

2011-06-30 Thread Parag Dave
Sorry Michael Next time i will keep in mind that to post formatted code. By the way the code that you post that also did not work for me. ./test8.rb:31: undefined local variable or method `have' for Spec::Examor) from c:/ruby/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/ examplal' from

[wtr-general] Re: Need help with Rspec and Watir Webdriver

2011-06-29 Thread Dave McNulla
Can you post the error messages so we can see what problems there were? Dave -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general

[wtr-general] Re: Need help connecting to Oracle db please..

2011-06-06 Thread Ashok Tulachan
I figured it out. I used the following code after installing oci-8 gem and the oracle instant client. Thanks Ash On Mon, Jun 6, 2011 at 11:21 AM, Ashok Tulachan tulachanas...@gmail.comwrote: Hi Everyone, i am trying to connect to oracle db using ruby. I found the following tutorial in the

Re: [wtr-general] Re: Need help on table dropdowns(iteration)

2011-05-23 Thread Ashok Tulachan
Thank you everyone, i figured out the answer for that issue. I used regular expressions with iteration and it did work perfectly. *Browser=$b.table(:id, /Grid/) $Browser.rows.each do |row| if (row[4].text =~ /Acct(.*) /) puts Dropdown selected row[5].select_list(:id,

[wtr-general] Re: Need help on table dropdowns(iteration)

2011-05-23 Thread Chuck van der Linden
glad to hear it's resolved.. are you the same person asking about this over on stackoverflow? On May 23, 9:54 am, Ashok Tulachan tulachanas...@gmail.com wrote: Thank you everyone, i figured out the answer for that issue. I used regular expressions with iteration and it did work perfectly.

Re: [wtr-general] Re: Need help on table dropdowns(iteration)

2011-05-23 Thread Ashok Tulachan
That's correct Chad. I was struggling days and days to figure out this issue. Well thanks for helping me out on both sources :). On Mon, May 23, 2011 at 12:37 PM, Chuck van der Linden sqa...@gmail.comwrote: glad to hear it's resolved.. are you the same person asking about this over on

[wtr-general] Re: Need help on table dropdowns(iteration)

2011-05-20 Thread Ashok Tulachan
No answers yet :(... I am able to select the dropdown for the respective row but i'm not just able to iterate it. Table name: $b.table(:id, /grid/) 1 2 3 4 5 2 100 100 3 100 100 text dropdown 4 100 100 5 100 100 text dropdown n 100 100 *i=0* *c=$b.table(:id, /grid/)[2][4]*

[wtr-general] Re: Need help on table dropdowns(iteration)

2011-05-20 Thread Chuck van der Linden
Try something along these lines. browser.table(:id, /grid/).rows.each do |row| row[5].select(Value from the dropdown) if row[4].text.exists? end and for the sake of anyone having to read your code (including yourself) start using variable names that mean something instead of c or d (which

Re: [wtr-general] Re: Need help on table dropdowns(iteration)

2011-05-20 Thread Ashok Tulachan
Thank you very much Chuck, for your response. I will take your advice and follow it graciously. However, When i tried to put your code as given below., i got the following error message. browser.table(:id, /grid/).rows.each do |row| row[5].select(Value from the dropdown) if row[4].text.exists?

[wtr-general] Re: Need help on .value method in watir

2011-05-04 Thread Chuck van der Linden
Is there a reason you are not using .set(chinesedata) instead? that is the preferred method to set the contents of a textfield quoting from the RDoc for the .value=() method Sets the value of the text field directly. It causes no events to be fired or exceptions to be raised, so generally

[wtr-general] Re: Need Help in Modal Dialog

2011-03-19 Thread Dave McNulla
Rephrase: I am not able to get watir to... There's lots of examples of code solutions here: http://wiki.openqa.org/display/WTR/Pop+Ups Good luck, Dave -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com

[wtr-general] Re: Need Help on Span ......Filipin

2011-02-23 Thread Chuck van der Linden
not without a better example of the source for the page you are trying to automate and exactly what it is you are trying to do On Feb 21, 6:23 am, mike_sukhi sukhija...@gmail.com wrote: ANY BODY CAN HELP PLZ On Feb 20, 9:41 pm, mike_sukhi sukhija...@gmail.com wrote: ok I found a example

Re: [wtr-general] Re: Need Help on Span ......Filipin

2011-02-20 Thread Mohit
I Have also tried. but still no luck using xpath. This xpath i copied using friebug and seems to be good. levelone_dropdown = 'Hello' $IE.element_by_xpath(//div[2]/table/tbody/tr/td/div/div/a/span[contains(text(),'#{levelone_dropdown}')]).click the full path is as copied using firebug:

Re: [wtr-general] Re: Need Help on Span ......Filipin

2011-02-17 Thread Сергей Демьянчук
I am really confused by your new code also it is seriously differ from previous one and i could not find span with hello text in it, cuz the main idea was to locate span element on the page as i understand. Still recommend to use xpath for lement location, probably HttpWatch is handy to use here.

[wtr-general] Re: Need help in autoit..

2011-02-08 Thread mike_sukhi
try autoit.Send(^N) instead of autoit.Send({Ctrl+N}) On Feb 8, 11:47 am, Priya D priya.d.sm...@gmail.com wrote: Can anybody tell me how to write Ctrl+N in autoit.Send. I have the below code which doesnot work. require 'win32ole'  autoit = WIN32OLE.new('AutoITX3.Control')  

[wtr-general] Re: Need help in autoit..

2011-02-08 Thread mike_sukhi
try autoit.Send(^N) instead of autoit.Send({Ctrl+N}) On Feb 8, 11:47 am, Priya D priya.d.sm...@gmail.com wrote: Can anybody tell me how to write Ctrl+N in autoit.Send. I have the below code which doesnot work. require 'win32ole'  autoit = WIN32OLE.new('AutoITX3.Control')  

[wtr-general] Re: Need help, trying to develop tests for a dojo filtering select widget.

2011-02-03 Thread swares
Forgot some information. Running a fully patched English version of Windows XP Pro with IE 8.0.6001.18702. Spent a long time trying to figure this out, from the posts I reviewed it looks like what I have should work, so not sure where to go from here. Running these in irb by hand to work out

[wtr-general] Re: Need help, trying to develop tests for a dojo filtering select widget.

2011-02-03 Thread swares
I have looked at it with IE Developer Toolbar and Firebug to see where the events appeared to be attached. Selected the elements for inspection in IE but could not inspect the actual menu options using that method as it performed a select. In Firefox, after opening the select, when I click so I

Re: [wtr-general] Re: Need help, trying to develop tests for a dojo filtering select widget.

2011-02-03 Thread Basim Baassiri
I found this posting that might help http://blog.saush.com/2008/05/18/using-rspec-and-watir-for-functional-testing-in-web-applications/ http://blog.saush.com/2008/05/18/using-rspec-and-watir-for-functional-testing-in-web-applications/Here's the part code that was mentioned in the posting that

[wtr-general] Re: Need help to capture a string from the action attribute

2010-11-15 Thread orde
You should be able to capture the action attribute like this: action_attribute = @browser.form(:name, mainForm).action Hope it helps. orde On Nov 15, 8:20 am, Shiv tms...@gmail.com wrote: Hello, This is my html: form name=mainForm action=/sma/operator/pmanager/pmotion/add.do method=post

Re: [wtr-general] Re: Need help to capture a string from the action attribute

2010-11-15 Thread Shiv
Thank you orde...it works On Tue, Nov 16, 2010 at 2:40 AM, orde ohil...@gmail.com wrote: You should be able to capture the action attribute like this: action_attribute = @browser.form(:name, mainForm).action Hope it helps. orde On Nov 15, 8:20 am, Shiv tms...@gmail.com wrote: Hello,

[wtr-general] Re: Need help in creating HTML reports

2010-11-11 Thread Chuck van der Linden
You realise that what you just asked amounts to 'I need help, please help me' and doesn't provide near enough detail for anyone to offer any level of assistance. what specifically isn't working? Provide a sample of your code Provide an example of the output Provide error text if an error is

Re: [wtr-general] Re: Need help in accessing radio button created through java script

2010-10-31 Thread John Fitisoff
i read it as proof of concept - Original Message From: Chuck van der Linden sqa...@gmail.com To: Watir General watir-general@googlegroups.com Sent: Fri, October 29, 2010 8:33:54 AM Subject: [wtr-general] Re: Need help in accessing radio button created through java script On Oct 28

[wtr-general] Re: Need help in accessing radio button created through java script

2010-10-29 Thread Super Kevy
I love these Proof Of Concept rants by management when it comes to selecting test tools Step 1. Is the web code you're testing compliant to its doctype specifier? You can check at validator.wc.org. If it's not ask the development and management team what standard they follow and why they don't

Re: [wtr-general] Re: Need help in accessing radio button created through java script

2010-10-27 Thread Željko Filipin
On Wed, Oct 27, 2010 at 10:34 AM, vasu br.vas...@gmail.com wrote: getting the error as unable to locate element ie.radio(:name, 'accounts').set Is it in a frame? http://wiki.openqa.org/display/WTR/Frames Željko -- Before posting, please read http://watir.com/support. In short: search before

[wtr-general] Re: Need help in accessing radio button created through java script

2010-10-27 Thread Super Kevy
And finally: See http://wtr.rubyforge.org/rdoc/1.6.5/classes/Watir/Container.html#M000315 In many instances, radio buttons on an html page have the same name, but are identified by different values. input type=radio name=email_frequency value=dailyDaily Email/ input input type=radio

[wtr-general] Re: Need help with a text field inside a table (watir doesn't see any tables!)

2010-08-24 Thread Adam Reed
Hi Wolfie, and welcome to Watir. How are you accessing the frames in conjunction with show_tables (exact command)? Thanks, Adam On Aug 24, 10:26 am, Wolfie ballard.wolf...@gmail.com wrote: Hello! - Using gem version 1.3.7, Ruby 1.8.7 and watir 1.6.5, IE8 on Windows 7 - HTML

[wtr-general] Re: Need help with a text field inside a table (watir doesn't see any tables!)

2010-08-24 Thread Wolfie
How are you accessing the frames in conjunction with show_tables (exact command)? Bingo - you asked the right question. I was doing the following $ie.frame(:name,frame1) $ie.show_tables and assumed that the tables shown are for the current frame $ie.frame(:name,frame1).tables gave me useful

[wtr-general] Re: Need help with a text field inside a table (watir doesn't see any tables!)

2010-08-24 Thread Adam Reed
It was a logical step, just wrong :). Glad you were able to figure it out. Adam On Aug 24, 11:29 am, Wolfie ballard.wolf...@gmail.com wrote: How are you accessing the frames in conjunction with show_tables (exact command)? Bingo - you asked the right question. I was doing the following

Re: [wtr-general] Re: Need help on dialog access

2010-02-26 Thread Yuping Zhong
Hi Suresh, Can you provide the link for us ??? As we want to know what kinds of dialog you meet. Thanks! -Zhong On Thu, Feb 25, 2010 at 5:57 AM, Suresh raja...@gmail.com wrote: Found the solution to the problem. (Needed to do a lot of searching to get this right - solution was quite

[wtr-general] Re: Need help on dialog access

2010-02-24 Thread Suresh
Thanks for the replies. Here is the code I used for clicking the link, ie.frame(:id, IDXHTB).span(:class= HTBItem, :text= Clinical Desktop).click I tried using click_no_wait with not much success. (screen blanks out for a few moments, when it comes back the click didnt actually click on the

[wtr-general] Re: Need help on dialog access

2010-02-24 Thread Suresh
Found the solution to the problem. (Needed to do a lot of searching to get this right - solution was quite scattered around). Here is what I added to make the modal dialog accessible, dialog = ie.modal_dialog(:title, title) dialog.text_field(:name, txtSearchString).set ABC

[wtr-general] Re: Need help on dialog access

2010-02-23 Thread Tiffany Fodor
Hi Suresh! We have a pretty extensive page of popup and modal dialog examples on the wiki. Have you tried any of these solutions? Hope this helps! -Tiffany On Feb 23, 2:10 pm, Suresh raja...@gmail.com wrote: Hi, I am quite new to Ruby/Watir. Currently working to automate an app for

[wtr-general] Re: Need help on fetching the record from excel on a regular interval of time through watir

2009-11-02 Thread Nigel
http://itest2.com/articles/2009/11/03/data-driven-testing-in-itest/ You can put sleep and reload in the loop, like below excel_sheet = Spreadsheet.open(C:\\user.xls).worksheet(0) # 1st sheet excel_sheet.each_with_index do |row, idx| next if idx == 0 # ignore first row username =

[wtr-general] Re: Need help about startClicker

2009-11-01 Thread Bindhu
Thanks Ravindran for ur reply Hi zakir , I have tried even Autoit. It is handling the popup even it appears but not continuing with the remaining code. I want my rudbu script to search for the specified popup if it exists. If it exists handle it and then continue with the remaining code. If

[wtr-general] Re: Need help about startClicker

2009-10-29 Thread Bindhu
Hi Raveendran, Thanks a lot for ur reply. If popup does not appear also it is returning 'true'. if ouput ='true' puts pop up startClicker( OK ) else puts no popup sleep(5) $ie = Watir::IE.find(:url,/search.do/) $ie = Watir::IE.find(:url,/secure/)

[wtr-general] Re: Need help about startClicker

2009-10-29 Thread Raveendran P
Hi Bindhu, Try with this change if ouput == true else end 1. Replace = to ==. 2.Replace 'true' to true -- it returns true -- it is not a string Awaiting your reply On Thu, Oct 29, 2009 at 12:20 PM, Bindhu udayarekha2...@gmail.com wrote: Hi Raveendran, Thanks a lot for ur reply. If

[wtr-general] Re: Need help about startClicker

2009-10-29 Thread Bindhu
Hi Raveendran, It is still returning true even though popup does not appear. The below is the code: if ouput == true puts pop up startClicker( OK ) else puts no popup $ie = Watir::IE.find(:url,/search.do/) sleep(5) $ie.frame(:name, mainFrame).button(:id,submitBtn).click

[wtr-general] Re: Need help about startClicker

2009-10-29 Thread Raveendran P
Hi Bindhu, Its Strange ! There is not possible to return true but it occurs now. Let us wait for Zeljko's update. Thanks On Thu, Oct 29, 2009 at 12:39 PM, Bindhu udayarekha2...@gmail.com wrote: Hi Raveendran, It is still returning true even though popup does not appear. The below is

[wtr-general] Re: Need help about startClicker

2009-10-29 Thread Bindhu
Hi Ravenedraan, I guess why it is returning true. The title of the popup is Microsoft Internet Explorer.So I said window_name_opened('Microsoft Internet Explorer'). IE window which is opend to execute my application has title Microsoft Internet Explorer. That is reason why it is returning true

[wtr-general] Re: Need help about startClicker

2009-10-29 Thread zakir hussain
Hi Bindhu, Why not try with auto it to handle pop-ups. Refer to the links given below http://wiki.openqa.org/display/WTR/JavaScript+Pop+Ups http://wiki.openqa.org/display/WTR/Pop+Ups%20http://wiki.openqa.org/display/WTR/Pop+Ups - zakir On Thu, Oct 29, 2009 at 12:58 PM, Bindhu

[wtr-general] Re: Need help about startClicker

2009-10-29 Thread Raveendran P
Hi Bin, Your guess is correct. But I am finding(trying to find) the alternative way for this. thanks On Thu, Oct 29, 2009 at 12:58 PM, Bindhu udayarekha2...@gmail.com wrote: Hi Ravenedraan, I guess why it is returning true. The title of the popup is Microsoft Internet Explorer.So I said

[wtr-general] Re: Need help about startClicker

2009-10-28 Thread Bindhu
Hi Zeljko, I am really sorry that I have not clearly described what exactly I want to do in my previous query. There is popup with warning message will appear, if we try to create the customer with the existing customer details. I wanted to click OK to continue with remaning functionality. I am

[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:// goog_1256773908603bit.ly/3TbxYr 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

[wtr-general] Re: Need help about startClicker

2009-10-21 Thread Željko Filipin
On Wed, Oct 21, 2009 at 6:37 AM, Bindhu udayarekha2...@gmail.com wrote: I need to skip the pop up when ever it appear. And the problem is? Have you read this? http://wiki.openqa.org/display/WTR/Pop+Ups Željko -- http://watirpodcast.com/ --~--~-~--~~~---~--~~

[wtr-general] Re: Need help checking a box in a table in an iframe

2009-09-28 Thread Željko Filipin
On Fri, Sep 25, 2009 at 7:40 PM, rollo croll...@gmail.com wrote: I'll revisit the xpath option, though it didn't work when i tried initially and I don't believe its supported for frames/iframes, which is where this table lives. You can not select a frame using xpath, something like this:

[wtr-general] Re: Need help checking a box in a table in an iframe

2009-09-25 Thread rollo
I should add that I know the text is on the page... irb(main):059:0 browser.frame(:name,/ admin_frame_*/).text.include?'rollo, c j' = true Thanks. On Sep 24, 11:00 pm, rollo croll...@gmail.com wrote: I'm in need of some help getting to a checkbox element in a table (in an iframe).  My trouble

[wtr-general] Re: Need help checking a box in a table in an iframe

2009-09-25 Thread Ankur Gera
Hi Rollo, In these kind of situations you can use xpath also bcz there can any number of elements whose html will seems to be similar. Thanks Regards, Ankur Gera --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[wtr-general] Re: Need help checking a box in a table in an iframe

2009-09-25 Thread Željko Filipin
This clicked the second chckbox for me: browser.frame(:name,/admin_frame_*/).checkbox(:name=email, :value= cro...@point.com, :index= 2).set http://wiki.openqa.org/display/WTR/Multiple+Attributes Željko -- http://watirpodcast.com/ --~--~-~--~~~---~--~~ You

[wtr-general] Re: Need help checking a box in a table in an iframe

2009-09-25 Thread rollo
Greetings. desiring to make the question more coherent, I left out the fact that there are 4 accounts that only differ in the Text attribute. In addition, the accounts are non-consecutive and the order is arbitrary. So, while :index would work on this specific dataset, I can't be guaranteed

[wtr-general] Re: Need help

2009-07-21 Thread Chuck van der Linden
On Jul 13, 3:41 am, Brautigam Gergely skarlso...@yahoo.com wrote: He says that the file he is using does not contain which Checkbox INDEX he has to set... Only the ID which is that of all of the check boxes and not an Index i guess.. But why not? Simply add it to the file or ask the Devs

[wtr-general] Re: Need help

2009-07-13 Thread Željko Filipin
On Mon, Jul 13, 2009 at 11:12 AM, rakesh srakes...@gmail.com wrote: In the page the ID,name of the checkbox remains same But the value of the check box chnages. What is the problem? Why don't you use id to check checkbox? http://wiki.openqa.org/display/WTR/Checkboxes Željko --

[wtr-general] Re: Need help

2009-07-13 Thread Željko Filipin
I still do not understand what the problem is. On Mon, Jul 13, 2009 at 11:23 AM, rakesh srakes...@gmail.com wrote: Sir, The checkboxes id ,name remains same as selectedevent but not a or b or c Regards, S.Rakeshsharma --~--~-~--~~~---~--~~ You received

[wtr-general] Re: Need help

2009-07-13 Thread Brautigam Gergely
do you want to Change the name, or simply get it or set a new value for it perhaps? Or just use the Checkbox to Check it? --- On Mon, 7/13/09, rakesh srakes...@gmail.com wrote: From: rakesh srakes...@gmail.com Subject: [wtr-general] Re: Need help To: Watir General watir-general@googlegroups.com

[wtr-general] Re: Need help

2009-07-13 Thread rakesh
The problem is how will i select a checkbox in multiple checkboxes On Jul 13, 2:19 pm, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Mon, Jul 13, 2009 at 11:12 AM, rakesh srakes...@gmail.com wrote:  In the page the ID,name of the checkbox remains same But the value of the check box

[wtr-general] Re: Need help

2009-07-13 Thread rakesh
yes ur correct, On Jul 13, 2:33 pm, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Mon, Jul 13, 2009 at 11:30 AM, rakesh srakes...@gmail.com wrote: The problem is how will i select a checkbox in multiple checkboxes browser.checkbox(:id, myid).set What is the problem. They all

[wtr-general] Re: Need help

2009-07-13 Thread rakesh
tr style=height:20px; td style=width:30px; padding-left:5px;input type=checkbox value=c43afa4c-6c81-11de-9983-0016764319d8 name= selectedevent id=selectedevent //td td style=width:220px; class=con-grey Vratham/td td style=width:100px; class=con-grey07-22-2009/td /tr tr

[wtr-general] Re: Need help

2009-07-13 Thread Željko Filipin
On Mon, Jul 13, 2009 at 11:57 AM, rakesh srakes...@gmail.com wrote: input type=checkbox value=c43afa4c-6c81-11de-9983-0016764319d8 name= selectedevent id=selectedevent / This will check the first one: b.checkbox(:id, selectedevent).set This will check the second one: b.checkbox(:id =

[wtr-general] Re: Need help

2009-07-13 Thread Amit Kumar
Use multiple attributes for this: browser.checkbox(:id= selectedevent , index =1).set browser.checkbox(:id= selectedevent , index =2).set browser.checkbox(:id= selectedevent , index =3).set - regards Amit Kumar On Mon, Jul 13, 2009 at 3:27 PM, rakesh srakes...@gmail.com wrote: tr

[wtr-general] Re: Need help

2009-07-13 Thread rakesh
My input file dont contain the index,it doesnt know which in which index Rakesh On Jul 13, 3:14 pm, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Mon, Jul 13, 2009 at 11:57 AM, rakesh srakes...@gmail.com wrote: input type=checkbox value=c43afa4c-6c81-11de-9983-0016764319d8  name=

[wtr-general] Re: Need help

2009-07-13 Thread Željko Filipin
On Mon, Jul 13, 2009 at 12:31 PM, rakesh srakes...@gmail.com wrote: My input file dont contain the index,it doesnt know which in which index You will have to be more explicit. I did not understand what you wanted to say. Željko --~--~-~--~~~---~--~~ You

[wtr-general] Re: Need help

2009-07-13 Thread Brautigam Gergely
in cases like this. --- On Mon, 7/13/09, Željko Filipin zeljko.fili...@wa-research.ch wrote: From: Željko Filipin zeljko.fili...@wa-research.ch Subject: [wtr-general] Re: Need help To: watir-general@googlegroups.com Date: Monday, July 13, 2009, 12:33 PM On Mon, Jul 13, 2009 at 12:31 PM, rakesh srakes

[wtr-general] Re: Need help on jssh installation for firefox

2009-06-05 Thread Chethan
Thanks a lot. It working. I skipped this coz it says for Redistributed package for VS 2005 SP1. On Jun 4, 4:25 pm, Angrez Singh ang...@gmail.com wrote: Just a guess did you installed Redistributed package for VS 2005 SP1. Its described in step 2 here

[wtr-general] Re: Need help on jssh installation for firefox

2009-06-05 Thread kiran yajamanyam
Thank you very much Angrez. It is working fine now. Regards, Krian Y On Fri, Jun 5, 2009 at 12:01 PM, Chethan chethan2...@gmail.com wrote: Thanks a lot. It working. I skipped this coz it says for Redistributed package for VS 2005 SP1. On Jun 4, 4:25 pm, Angrez Singh ang...@gmail.com

[wtr-general] Re: Need help on jssh installation for firefox

2009-06-04 Thread Angrez Singh
Can you check this page make sure you followed each step: http://wiki.openqa.org/display/WTR/FireWatir+Installation - Angrez On Wed, Jun 3, 2009 at 6:32 PM, Chethan chethan2...@gmail.com wrote: Pls Help me out on this Jssh issue. Thanks, Chethan On Jun 3, 9:54 am, Chethan

[wtr-general] Re: Need help on jssh installation for firefox

2009-06-04 Thread kiran yajamanyam
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

[wtr-general] Re: Need help on jssh installation for firefox

2009-06-04 Thread Angrez Singh
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 yajamanyam

[wtr-general] Re: Need help on jssh installation for firefox

2009-06-03 Thread Chethan
Pls Help me out on this Jssh issue. Thanks, Chethan On Jun 3, 9:54 am, Chethan chethan2...@gmail.com wrote: Yes I am admin user for the machine i am using. Here are the steps i followed. 1. browse tohttp://wtr.rubyforge.org/ 1. Installed Ruby fromhttp://rubyforge.org. 2. from command

[wtr-general] Re: Need help on jssh installation for firefox

2009-06-03 Thread Alex Collins
Chethan, Could you try the version of the JSSH plug-in available here, please? You'll need to download this as a file. http://github.com/ajcollins/JSSH-XPIs/raw/7dd112a4defb3a61d1f94d9f95a9d4ecaaedb5f7/plugins/jssh-20090517-WINNT.xpi Also, are you running Firefox with multiple profiles? If

[wtr-general] Re: Need help on jssh installation for firefox

2009-06-02 Thread jason
Chethan, try starting firefox from the command line with the jssh option ... firefox -jssh then start a terminal session from the command line telnet localhost 9997 you should then get a connection with the following feedback: Welcome to the Mozilla JavaScript Shell! if that is not working

[wtr-general] Re: Need help on jssh installation for firefox

2009-06-02 Thread jason
ok, when you installed the jssh extention did the firefox plugin manager tell you that the installation was ok did it restart the browser after the installation - if not , then try installing it again. On 2 Jun., 11:13, Chethan chethan2...@gmail.com wrote: I tried it. still no use, I did the

[wtr-general] Re: Need help on jssh installation for firefox

2009-06-02 Thread Angrez Singh
Which platform? OS? it would be nice to have that info to help you more - Angrez On Tue, Jun 2, 2009 at 3:04 PM, jason jason.franklin.sto...@gmail.comwrote: ok, when you installed the jssh extention did the firefox plugin manager tell you that the installation was ok did it restart the

[wtr-general] Re: Need help on jssh installation for firefox

2009-06-02 Thread Chethan
Hi, I am using window-Xp(sp2) my Firefox version is 3.0.10. Rgds, Chethan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com

[wtr-general] Re: Need help on jssh installation for firefox

2009-06-02 Thread jason
did you install the jssh firefox plugin??? On 2 Jun., 14:05, Chethan chethan2...@gmail.com wrote: I installed the Firewatir with new method rather then gem install firewatir command, I done that through gem install watir online how the new Watir overview describes. Thanks, Chethan On Jun

[wtr-general] Re: Need help on jssh installation for firefox

2009-06-02 Thread Chethan
Yes I installed Jssh plug in but if i do telnet localhost 9997 it say there is no service running on 9997 port. That is what i described in my earlier mails. Thanks, Chethan On Jun 2, 5:30 pm, jason jason.franklin.sto...@gmail.com wrote: did you install the jssh firefox plugin??? On 2 Jun.,

[wtr-general] Re: Need help on jssh installation for firefox

2009-06-02 Thread Chethan
Yes I am admin user for the machine i am using. Here are the steps i followed. 1. browse to http://wtr.rubyforge.org/ 1. Installed Ruby from http://rubyforge.org. 2. from command prompt entered gem update --system 3. then entered gem install watir 4. installed firefox add-on Jssh from the

[wtr-general] Re: Need Help on Regular Expression

2009-03-21 Thread Chuck van der Linden
You could also consider checking which link is currently present by using .exists? and then take the appropriate action On Mar 19, 10:34 pm, Shweta nagman...@gmail.com wrote: Application is sorting the columns after a click on the column head i dont have separate buttons like ascending or

[wtr-general] Re: Need help on this issue

2009-03-19 Thread nagmani vm
This code is not working am getting error like this: undefined method `clear' for #Watir::SelectList:0x415b4f0 (NoMethodError) On Thu, Mar 19, 2009 at 5:16 PM, wesley chen cjq@gmail.com wrote: Will you try: ie.select_list(:name,inspectionStatus).clear

[wtr-general] Re: Need help on this issue

2009-03-19 Thread wesley chen
Sorry, should be clearSelection Thanks. Wesley Chen. On Thu, Mar 19, 2009 at 7:52 PM, nagmani vm nagman...@gmail.com wrote: This code is not working am getting error like this: undefined method `clear' for #Watir::SelectList:0x415b4f0 (NoMethodError) On Thu, Mar 19, 2009 at 5:16 PM,

[wtr-general] Re: Need help on this issue

2009-03-19 Thread nagmani vm
Ok thank you very much its working fine Can i have your mai id?i am new to watir if i come across any queries i can ask u? On Thu, Mar 19, 2009 at 5:25 PM, wesley chen cjq@gmail.com wrote: Sorry, should be clearSelection Thanks. Wesley Chen. On Thu, Mar 19, 2009 at 7:52 PM, nagmani

[wtr-general] Re: Need help on this issue

2009-03-19 Thread wesley chen
When you have questions, please ask on the group so that everybody can see it. Few months ago, I am the same kind of new guy as you in Watir, :), but I still have to study a lot. I will try my best to help you. Thanks. Wesley Chen. On Thu, Mar 19, 2009 at 7:59 PM, nagmani vm

[wtr-general] Re: Need help on this issue

2009-03-19 Thread wesley chen
When you would like to ask a question, please search in the group at first. In fact, there are many existing good though in the group about your question. When you compile the script again and again, meet different kind of problems and then solve them, you may study more. Thanks. Wesley Chen.

[wtr-general] Re: Need help on this issue

2009-03-19 Thread nagmani vm
I my application i have clear criteris button a click on this button should rset the field values to default its happening with text fields while doing automation but not with selection boxes On Thu, Mar 19, 2009 at 5:22 PM, nagmani vm nagman...@gmail.com wrote: This code is not working am

[wtr-general] Re: Need help on this issue

2009-03-19 Thread nagmani vm
Ok fine thanks and i have one more query How to handle window related pop ups like Print window and Choose file dialogs while uploading a file On Thu, Mar 19, 2009 at 5:36 PM, wesley chen cjq@gmail.com wrote: When you have questions, please ask on the group so that everybody can see it.

[wtr-general] Re: Need Help on Regular Expression

2009-03-19 Thread Powerglide
Hi Nagamani, you could do it simply by having the following code: #...@b - Substitute @b with whatever you used for your browser instance #click on the ascending sort button - ?? assert(@b.url =~ /ascending/) - for ascending sorting #click on the descending sort - button ?? assert(@b.url =~

[wtr-general] Re: Need help

2009-03-11 Thread Chuck van der Linden
Per header on the main group page Please do not ask new questions in an unrelated thread. Please read the guidelines for the group http://wiki.openqa.org/ display/WTR/Guidelines+for+Posting+to+Watir+General+Google+Group if you have not already done so. Also please use a subject that tells

[wtr-general] Re: Need help

2009-03-10 Thread Tiffany Fodor
Check this thread: http://tinyurl.com/bshljz Hope this helps! -Tiffany On Mar 10, 8:58 am, BR bharath.raja...@gmail.com wrote: Hi, I get this error every time i execute this: ie = Watir::IE.new And the error displayed is: NameError: uninitialized constant Windows::API::Error        

[wtr-general] Re: Need help with verifying if text exists!

2009-01-28 Thread Michael Hwee
Replace if verify($ie.text.include?(searchedtext))==true with if $ie.text.include?(searchedtext) - Original Message From: Margam nk.mar...@gmail.com To: Watir General watir-general@googlegroups.com Sent: Tuesday, January 27, 2009 11:16:06 AM Subject: [wtr-general] Need help with

[wtr-general] Re: Need help with verifying if text exists!

2009-01-27 Thread Tiffany Fodor
Hi Margam! You could separate your checks into two different tasks: def verify_text(searchedtext,passmessage,failmessage) verify($ie.text.inclue?(searchedtext), message=failmessage) if $ie.text.include?(searchedtext) puts passmessage else puts failmessage end end

[wtr-general] Re: Need help with verifying if text exists!

2009-01-27 Thread Tiffany Fodor
Yep, you've got it right. In it's default form, you can't specify a success message for the verify method. If you really needed to, however, you could extend the method to do this. -Tiffany On Jan 27, 1:36 pm, Karthikeyan Margam nk.mar...@gmail.com wrote: Hi Tiffany, Thank you for the quick

  1   2   >