[wtr-general] Is it possible to locate/set checkbox shadowed by Label For element

2015-01-08 Thread Sohail Mirza
HI, I want to set following checkbox but it is shadowed by Label For element. So i can't execute b.checkbox().set method... it is giving an error. How do i set checbox in this case? input type=checkbox id=DailySummaryCompleted class=checkbox col-lg-1 ng-pristine ng-untouched ng-valid

Re: [wtr-general] Div tag .. issue in set value

2015-01-07 Thread Sohail Mirza
I further checked, basically when click on cell .. it rendered as textarea as following so i got it working with following line @browser.textarea(:index,0).when_present.set 'test' Cheers [image: Inline image 1] On Wed, Jan 7, 2015 at 5:16 PM, Sohail Mirza mrz...@gmail.com wrote: Hi Joe

Re: [wtr-general] Div tag .. issue in set value

2015-01-07 Thread Sohail Mirza
On Tue, Jan 6, 2015 at 9:47 AM, Sohail Mirza mrz...@gmail.com wrote: Hi Joe, It worked actually. thanks you. On Tue, Jan 6, 2015 at 6:44 PM, Joe Fleck joeflec...@gmail.com wrote: Hi Sohail, Have you tried anything? This might work: @browser.div(:class='ng-scope ngCellElement').send_keys

[wtr-general] Div tag .. issue in set value

2015-01-06 Thread Sohail Mirza
Hi, The following code is rendered for a text box. It does not have Input tag and it does not have type attribute.. How can i set value in it? div ng-cell-has-focus= ng-dblclick=true amp;amp; editCell() class=ng-scope ngCellElement tabindex=0 Any help please? -- -- Before posting, please read

Re: [wtr-general] Div tag .. issue in set value

2015-01-06 Thread Sohail Mirza
Hi Joe, It worked actually. thanks you. On Tue, Jan 6, 2015 at 6:44 PM, Joe Fleck joeflec...@gmail.com wrote: Hi Sohail, Have you tried anything? This might work: @browser.div(:class='ng-scope ngCellElement').send_keys Test Thank you, Joe On Tue, Jan 6, 2015 at 9:18 AM, Sohail Mirza

Re: [wtr-general] watir xpath how to use variable

2015-01-04 Thread Sohail Mirza
, 2015 at 10:23 AM, Sohail Mirza mrz...@gmail.com wrote: Hi Joe I am getting the following error. *Code:* $rowCount = @browser.table(:class, 'table table-hover table-condensed table-bordered table-striped ng-scope ng-table').rows.size @browser.text_field(:xpath,'/html/body/div/div[4]/div/div[2

Re: [wtr-general] watir xpath how to use variable

2015-01-02 Thread Sohail Mirza
/ManageConsumables.rb:23:in `/^I enter required information$/' features\ManageConsumables.feature:4:in `When I enter required information On Wed, Dec 31, 2014 at 9:14 PM, Joe Fleck joeflec...@gmail.com wrote: Hi, What is the error you are receiving? Joe On Dec 31, 2014 4:08 AM, Sohail Mirza mrz

[wtr-general] watir xpath how to use variable

2014-12-31 Thread Sohail Mirza
Can we use variable for XPath property? The following line of codes failing $rowCount = @browser.table(:class, 'table table-hover table-condensed table-bordered table-striped ng-scope ng-table').rows.size

[wtr-general] Re: Nested Div/Spans element..How to select it?

2014-12-29 Thread Sohail Mirza
Hi, I am able to resolve it using following two lines. @browser.span(:text,'').click // Click on list to expand it. @browser.div(:text,'').click //click on element to select it. I hope this is nice way. Any suggestion from experts? On Mon, Dec 29, 2014 at 3:32 PM, Sohail Mirza mrz

[wtr-general] checkbox set issue.

2014-12-28 Thread Sohail Mirza
Hi, I am trying to set the checkbox. The rendered htmkl code is as following. class should not an option since there are 5 other checkboxed with same class property value. Can i set this checkbox using span element? Any suggestions please. span data-ng-class=node.selected

[wtr-general] Span element

2014-11-28 Thread Sohail Mirza
Hi, I am trying to perform click event on the following span element but something not working for me. ul class=ng-scope data-ng-repeat=module in leftSideNavigation li data-ng-click=selectedNode(module) a href=/home ui-sref=home * span class=ng-binding* * Mobile amp; Accessories* * /span* /a /li

[wtr-general] Re: Span element

2014-11-28 Thread Sohail Mirza
Well, i got solution using following line of code. browser.link(:text = *Mobile Accessories*).click Just wanted to ask, is it the only way or could be some other nice way? Thanks On Fri, Nov 28, 2014 at 5:13 AM, Sohail Mirza mrz...@gmail.com wrote: Hi, I am trying to perform click event

[wtr-general] how to check TextArea is enabled or disabled

2013-06-19 Thread Sohail Mirza
Hi, Is there any method available using which i can check whether the textarea is enabled or disabled. i checked the following http://rdoc.info/gems/watir-webdriver/Watir/TextArea but could not find enabled? method. Please suggest -- -- Before posting, please read http://watir.com/support.

Re: [wtr-general] how to check TextArea is enabled or disabled

2013-06-19 Thread Sohail Mirza
okay i try it. but question...i am asking for text_area but you mentioned for text_field. if it will work then how because both are difference objects. On Wed, Jun 19, 2013 at 3:31 PM, Željko Filipin zeljko.fili...@gmail.comwrote: On Wed, Jun 19, 2013 at 1:20 PM, Sohail Mirza mrz

Re: [wtr-general] how to check TextArea is enabled or disabled

2013-06-19 Thread Sohail Mirza
...@gmail.comwrote: On Wed, Jun 19, 2013 at 1:41 PM, Sohail Mirza mrz...@gmail.com wrote: i am asking for text_area but you mentioned for text_field. if it will work then how because both are difference objects. That was my mistake, I did not notice you were talking about text area

[wtr-general] Re: Watir-Webdriver Installation Issue

2013-05-09 Thread Sohail Mirza
=0.8,platform=Windows NT 6.1 x86_64)} irb(main):004:0 On Thu, May 9, 2013 at 12:47 PM, Sohail Mirza mrz...@gmail.com wrote: Hi, I am trying to install Watir-Webdriver and try to work on it but getting the following error :( [image: Inline image 1] Any comments please. -- -- Before

[wtr-general] Re: Watir-Webdriver Installation Issue

2013-05-09 Thread Sohail Mirza
I do understand the error message hopefully in correct way. but when i run gem update command it says me that Nothing to update. All gems are updated. I have ruby 1.9.3. 3p392 what i am missing here On Thu, May 9, 2013 at 2:05 PM, Sohail Mirza mrz...@gmail.com wrote: Zelijko, noted your

Re: [wtr-general] Re: Watir-Webdriver Installation Issue

2013-05-09 Thread Sohail Mirza
zeljko.fili...@gmail.comwrote: On Thu, May 9, 2013 at 12:05 PM, Sohail Mirza mrz...@gmail.com wrote: You are using an old or stdlib version of json gem Please upgrade to the recent version by adding this to your Gemfile: gem 'json', '~ 1.7.7' I think you should explicitly install json gem

[wtr-general] data-bind=value: UserName

2013-04-29 Thread Sohail Mirza
Hi, In the following rendered HTML code, can i use Value attribute to set value into the user name field? like as follow *Browser.text_field(:value,UserName).set Hi* input type=text data-bind=value: UserName class=input-block-level placeholder=User Name kindly advise. Thanks -- -- Before

Re: [wtr-general] how to call script within script

2013-03-26 Thread Sohail Mirza
at 2:19 PM, Sohail Mirza mrz...@gmail.com wrote: i am trying with load 'Test.rb' but it is not loading My mind reading machine is not working at the moment. Could you provide more information, like the code that you have tried and error messages? Željko -- https://leanpub.com/watirbook

Re: [wtr-general] how to call script within script

2013-03-26 Thread Sohail Mirza
, Sohail Mirza mrz...@gmail.com wrote: i meant how can i call a script into another script. require is what you are looking for: http://rubylearning.com/satishtalim/including_other_files_in_ruby.html Željko -- -- Before posting, please read http://watir.com/support. In short: search before

Re: [wtr-general] New to Ruby and Watir

2013-03-25 Thread Sohail Mirza
Hi Chuck van der Linden, * * I have question for you *How would rate Watir Test-Unit framework? *In your detailed reply you did not mention Test_Unit Framework? you dont like or it has limitation.. i am asking so because i am currently using it and found it good. please comment. * * Thanks, * * On

Re: [wtr-general] Re: problem

2013-03-21 Thread Sohail Mirza
Hi All, Thanks for the comments. However, i have solved the problem as follow *@browser.a(:text,Customer Lines).fire_event(onclick)* it is perfectly running for me. But one thing which i am still figuring out is why it did not work for simple Click method and why it worked with

Re: [wtr-general] Re: how to click button from nested divs

2013-03-21 Thread Sohail Mirza
, Sohail Mirza mrz...@gmail.com wrote: Finally i am able to resolve it but it works sometime and sometime it does not work *@browser.input(:value=Create New Customer).click* please advise another convenient way to handle it? Thanks, On Tue, Mar 19, 2013 at 6:36 PM, Sohail Mirza mrz

[wtr-general] Watir Webdriver Logger

2013-03-20 Thread Sohail Mirza
Hi, I am curious to know about Logger.rb. Can i use it in watir webdriver? Where i can find more about it? Can someone share simple example? Thanks -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com

Re: [wtr-general] Watir Webdriver Logger

2013-03-20 Thread Sohail Mirza
Are you talking about the following home page? http://wiki.openqa.org/display/WTR/Example+Logging please share logger home page link. Thanks On Wed, Mar 20, 2013 at 1:41 PM, Željko Filipin zeljko.fili...@gmail.comwrote: On Wed, Mar 20, 2013 at 10:39 AM, Sohail Mirza mrz...@gmail.com wrote: I

Re: [wtr-general] Watir Webdriver Logger

2013-03-20 Thread Sohail Mirza
: On Wed, Mar 20, 2013 at 10:49 AM, Sohail Mirza mrz...@gmail.com wrote: Are you talking about the following home page? http://wiki.openqa.org/display/WTR/Example+Logging I am not talking about anything. I have asked what _you_ are talking about. :) The page that you have linked to was last

Re: [wtr-general] Watir Webdriver Logger

2013-03-20 Thread Sohail Mirza
/ outputted / logged as Opening browser page with specified URL I hope you get my point? Thanks On Wed, Mar 20, 2013 at 2:04 PM, Željko Filipin zeljko.fili...@gmail.comwrote: On Wed, Mar 20, 2013 at 11:03 AM, Sohail Mirza mrz...@gmail.com wrote: Can you suggest any other way around for logging

[wtr-general] problem

2013-03-20 Thread Sohail Mirza
Hi, i am facing problem in automating the following HTML code a href=#divCustomerLinesTab data-toggle=tabCustomer Linesspan class=tabLoading id=divCustomerLinesTabTab style=display: inline;/span/a I am using the following lines but NOTHING IS working for me :( please help advise

Re: [wtr-general] Re: how to click button from nested divs

2013-03-20 Thread Sohail Mirza
Finally i am able to resolve it but it works sometime and sometime it does not work *@browser.input(:value=Create New Customer).click* please advise another convenient way to handle it? Thanks, On Tue, Mar 19, 2013 at 6:36 PM, Sohail Mirza mrz...@gmail.com wrote: No Success Alex. Sorry

[wtr-general] how to click button from nested divs

2013-03-19 Thread Sohail Mirza
Hi, i would like to know how to perform button click from nested div's when it is nested upto seventh div or more *input id=btnAddNewCustomer type=submit class=ui-button Action value=Create New Customer onclick=createNewCustomer()* * * Currently, the script execution neither gives an error nor

Re: [wtr-general] Re: how to click button from nested divs

2013-03-19 Thread Sohail Mirza
No Success Alex. Sorry On Tue, Mar 19, 2013 at 5:22 PM, Alex Shtayer ashta...@gmail.com wrote: I don't think that problem in fact that div is nested, but more that click event is not working as it should Try browser.button(:id, *btnAddNewCustomer*).fire_event(onclick) or

[wtr-general] how disable javascript alert

2013-03-19 Thread Sohail Mirza
Hi, Can someone explain how to disable Java Script Alert message during watir script execution? Thanks -- -- 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: how disable javascript alert

2013-03-19 Thread Sohail Mirza
This thread is closed. The information is available at following link *http://watirwebdriver.com/javascript-dialogs/* On Tue, Mar 19, 2013 at 6:42 PM, Sohail Mirza mrz...@gmail.com wrote: Hi, Can someone explain how to disable Java Script Alert message during watir script execution? Thanks

[wtr-general] Element is not clickable at point

2013-03-18 Thread Sohail Mirza
Hi, I am getting this error Element is not clickable at point. The script is to click Button which is showing but under another container . i am using watir-webdriver kindly comment as i am struck -- -- Before posting, please read http://watir.com/support. In short: search before you

[wtr-general] Watir Webdriver Zoom

2013-03-18 Thread Sohail Mirza
Hi strange behavior when web application is accessed using watir script its opening with default zoom in (high zooom and UI looks bigger icon and buttons etc) however if the application open normally it is opening with actual/required zoom Why its happening and how to stop it? -- -- Before

[wtr-general] How to zoom out web app using watir

2013-03-18 Thread Sohail Mirza
hi, how to zoom out web application using watir? my manual actions are Ctrl + scroll down how i can achieve this using watir-webdriver Kindly comment. Thanks -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com

Re: [wtr-general] Re: Element is not clickable at point

2013-03-18 Thread Sohail Mirza
*i get the following error when using fire_event(onclick) * function(){return function(){var l=this; function m(a){var c=typeof a;if(c==object)if(a){if(a instanceof Array)returna rray;else if(a instanceof Object)return c;var b=Object.prototype.toString.call( a);if(b==[object

Re: [wtr-general] Element is not clickable at point

2013-03-18 Thread Sohail Mirza
, Mar 18, 2013 at 9:40 AM, Sohail Mirza mrz...@gmail.com wrote: I am getting this error Element is not clickable at point. Please share relevant HTML and Ruby code. Full text of the error, too. Željko -- https://leanpub.com/watirbook -- -- Before posting, please read http://watir.com

Re: [wtr-general] Element is not clickable at point

2013-03-18 Thread Sohail Mirza
one more statement of error message * An open modal dialog blocked the operation* i guess the following line is causing the problem @browser.alert.ok On Mon, Mar 18, 2013 at 5:42 PM, Željko Filipin zeljko.fili...@gmail.comwrote: On Mon, Mar 18, 2013 at 2:40 PM, Sohail Mirza mrz...@gmail.com

Re: [wtr-general] Element is not clickable at point

2013-03-18 Thread Sohail Mirza
18, 2013 at 5:42 PM, Željko Filipin zeljko.fili...@gmail.comwrote: On Mon, Mar 18, 2013 at 2:40 PM, Sohail Mirza mrz...@gmail.com wrote: input id=btnAddNewCustomer type=submit class=ui-button Action value=Create New Customer onclick=createNewCustomer() Can you post a link to the page where

[wtr-general] Watir-Webdriver Save Image

2013-03-17 Thread Sohail Mirza
Hi, I am trying to find the way to save an image when something fail but could not get much stuff from google. I am using Watir-WebDriver and needs to save an image in case failure. Could anyone advise how to save image? Thanks -- -- Before posting, please read http://watir.com/support. In

[wtr-general] Re: Watir-Webdriver Save Image

2013-03-17 Thread Sohail Mirza
i means how to save screenshot On Sun, Mar 17, 2013 at 12:29 PM, Sohail Mirza mrz...@gmail.com wrote: Hi, I am trying to find the way to save an* screenshot* when something fail but could not get much stuff from google. I am using Watir-WebDriver and needs to save an image in case failure

Re: [wtr-general] Watir HTML Reports

2013-03-14 Thread Sohail Mirza
4:56:52 AM UTC-7, Željko Filipin wrote: On Wed, Mar 13, 2013 at 8:28 AM, Sohail Mirza mrz...@gmail.com wrote: i need to create HTML reports in Watir. Watir just drives browsers, it does not create reports. I think that all testing frameworks (test/unit, rspec, cucumber) have reporting. I

[wtr-general] on error continue execution

2013-03-14 Thread Sohail Mirza
Hi I am trying to find out the way that *how to continue test cases execution on error*. Right now test case execution stops as soon some error encounter during test execution. I am using Watir Test/Unit framework. Any comments please? -- -- Before posting, please read

[wtr-general] Watir HTML Reports

2013-03-13 Thread Sohail Mirza
Hi, i need to create HTML reports in Watir. There is one HTML Report Class which i found in google results. i wanted to confirm is that still the only way to generate HTML reports or there are some more good approaches to generate HTML Reports? http://wiki.openqa.org/display/WTR/HTML+report+class

[wtr-general] bluetooth_adapter_win.cc(23)] NOT IMPLEMENTED

2013-02-18 Thread Sohail Mirza
Hi, I would like to know the specific reason for the following error which comes when i execute the Watir Script *(Though script executed perfectly and gives the required output)* *[10152:11076:0218/180847:ERROR:master_preferences.cc(104)] Failed to read master* *_preferences file at C:\Program

[wtr-general] watir-webdriver href javascript

2013-02-06 Thread Sohail Mirza
Hi, how would you automate following Javascript link in watir-webdriver? a href='javascript:selectDevice(122334455,12121212,#divAddCustomerLine);'Select/a Thanks -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice.

Re: [wtr-general] Re: watir-webdriver href javascript

2013-02-06 Thread Sohail Mirza
Thanks Alex, its working with me. On Wed, Feb 6, 2013 at 1:18 PM, Alex Shtayer ashta...@gmail.com wrote: What do you mean by automate? How to click on the element? You can use usual method like: browser.link(:text, Select).click or if due any reason click method does not work:

[wtr-general] input type=image

2013-02-04 Thread Sohail Mirza
Hi, i have following html code for input type *image* *input type=image src=/MyTestDemo/Images/add.png value=Add New Customer data-bind=visible: IsAddAllowed,click: $root.AddNewCustomer class=ui-button* How can i perform click event on above? i am trying the following but failing

[wtr-general] .attach method

2013-02-02 Thread Sohail Mirza
Hi, I just found that Watir has the *.attach* method. The examples use IE browser. How do I attach to an existing browser window using *watir-webdriver*? Thanks. Sohail -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice.

Re: [wtr-general] .attach method

2013-02-02 Thread Sohail Mirza
Thanks Jim, helps a lot. Regards, Sohail On Sat, Feb 2, 2013 at 8:45 PM, Jim Evans james.h.evans...@gmail.comwrote: You don't. The WebDriver API doesn't support attaching to an existing browser yet, so watir-webdriver can't provide this functionality either. Additionally, a large use case

[wtr-general] Chrome automation using watir

2013-02-01 Thread Sohail Mirza
Hi, I wanted to know that is it possible to automate Chrome using watir? i did some google on using watir with chrome but could not find much. Where can i find some good information about the subject? Thanks, Sohail -- -- Before posting, please read http://watir.com/support. In short:

[wtr-general] Test::Unit::TestCase

2013-02-01 Thread Sohail Mirza
Hi, Can i use *Test::Unit::TestCase *framework with Watir-Webdriver? if not then can some recommend useful framework to automate Asp.net MVC application + jquery? Thanks, Sohail -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice.

[wtr-general] How to run watir script onan already opened Chrome Browser

2013-02-01 Thread Sohail Mirza
Hi, I wanted to know How to run watir script on an already opened Chrome Browser. I dont want to open new Chrome Instance. THe web application is already openened in Chrome and i just want to run the script. Thanks for comments Sohail -- -- Before posting, please read

Re: [wtr-general] Test::Unit::TestCase

2013-02-01 Thread Sohail Mirza
wrote: Sure. They are two different things that don't interact directly with each other. -- *From:* Sohail Mirza mrz...@gmail.com *To:* watir-general@googlegroups.com *Sent:* Friday, February 1, 2013 8:12 AM *Subject:* [wtr-general] Test::Unit::TestCase Hi

[wtr-general] query

2013-01-30 Thread Sohail Mirza
How do i check version of my installed watir? Thanks -- -- 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 --- You

Re: [wtr-general] query

2013-01-30 Thread Sohail Mirza
Thanks Joe, it helped. On Wed, Jan 30, 2013 at 10:00 PM, Joe Fleck joeflec...@gmail.com wrote: Command line Ruby - v Or Gem list All lower case On Jan 30, 2013 12:56 PM, Sohail Mirza mrz...@gmail.com wrote: How do i check version of my installed watir? Thanks -- -- Before

[wtr-general] How to automate Sub Menu using Wtir?

2013-01-30 Thread Sohail Mirza
Hi folks, I need to select sub menu item. How can i automate this? I am using Watir-Classic gem. The view source shows following li a href=/MyDemoTest/Menu/LoadView?*menuItemKey=1* onclick=ShowLoadingIndicator();Test Management/a /li Thanks, -- -- Before posting, please read

Re: [wtr-general] How to automate Sub Menu using Wtir?

2013-01-30 Thread Sohail Mirza
. You will need to first expose the submenu and then select the submenu item you want. Repost the html code here and we will be better able to help you. Joe On Jan 30, 2013 1:55 PM, Sohail Mirza mrz...@gmail.com wrote: Hi folks, I need to select sub menu item. How can i automate this? I am

[wtr-general] Watir Classic versus Watir-WebDriver?

2013-01-30 Thread Sohail Mirza
Hi, I need to test my web application in Google Chrome. My web application is developed using MVC + Jquery technology. Can i use Watir-Classic to automate my application in Chrome or i need to use Watir-webdriver? Thanks. -- -- Before posting, please read http://watir.com/support. In short:

Re: [wtr-general] How to automate Sub Menu using Wtir?

2013-01-30 Thread Sohail Mirza
and then select the submenu item you want. Repost the html code here and we will be better able to help you. Joe On Jan 30, 2013 1:55 PM, Sohail Mirza mrz...@gmail.com wrote: Hi folks, I need to select sub menu item. How can i automate this? I am using Watir-Classic gem. The view source shows

Re: [wtr-general] How to automate Sub Menu using Wtir?

2013-01-30 Thread Sohail Mirza
(:class=potato-menu-item potato-menu-has-vertical).click @browser.a(:text='Sub Menu 1').click end then call it click_sub_menu Hope this helps. Joe On Wed, Jan 30, 2013 at 2:35 PM, Sohail Mirza mrz...@gmail.com wrote: Joe, Are you asking for this? i used Chrome Develope Tool

Re: [wtr-general] How to automate Sub Menu using Wtir?

2013-01-30 Thread Sohail Mirza
, 2013 at 2:48 PM, Sohail Mirza mrz...@gmail.com wrote: Joe, i tried following @browser.li(:class=potato-menu-item potato-menu-has-vertical).click @browser.a(:text='Sub Menu 1').click D:/Watir/Examples/Test1.rb:4:in `main': undefined method `li' for nil:NilClass (NoMethodError

Re: [wtr-general] How to automate Sub Menu using Wtir?

2013-01-30 Thread Sohail Mirza
you initialized your browser as. Joe # if you have to sign in do that On Wed, Jan 30, 2013 at 2:48 PM, Sohail Mirza mrz...@gmail.com wrote: Joe, i tried following @browser.li(:class=potato-menu-item potato-menu-has-vertical).click @browser.a(:text='Sub Menu 1').click D:/Watir

Re: [wtr-general] How to automate Sub Menu using Wtir?

2013-01-30 Thread Sohail Mirza
in my script? Do you have simple example for developing script for chrome?? Thanks On Thu, Jan 31, 2013 at 12:05 AM, Joe Fleck joeflec...@gmail.com wrote: No problem. On Wed, Jan 30, 2013 at 3:04 PM, Sohail Mirza mrz...@gmail.com wrote: Sorry my mistake here. Sub Menu 1 was a dummy

Re: [wtr-general] How to automate Sub Menu using Wtir?

2013-01-30 Thread Sohail Mirza
Well the issue mentioned below has been resolved. I just copied the chromedriver binary file at the location defined in my Path environment variable Thanks On Thu, Jan 31, 2013 at 12:42 AM, Sohail Mirza mrz...@gmail.com wrote: Joe, i downloaded chromedriver file and extracted it. When i run

Re: [wtr-general] Watir Classic versus Watir-WebDriver?

2013-01-30 Thread Sohail Mirza
:3:in `main' D:\Watir\Examples[WARNING:..\..\..\..\flash\platform\pepper\pep_module.cpp(63)] SANDBOXED On Thu, Jan 31, 2013 at 1:13 AM, Željko Filipin zeljko.fili...@gmail.comwrote: On Wed, Jan 30, 2013 at 8:14 PM, Sohail Mirza mrz...@gmail.com wrote: Can i use Watir-Classic to automate my

Re: [wtr-general] Watir Classic versus Watir-WebDriver?

2013-01-30 Thread Sohail Mirza
Thanks, how can i update selenium-webdriver gem? please On Thu, Jan 31, 2013 at 1:27 AM, Željko Filipin zeljko.fili...@gmail.comwrote: On Wed, Jan 30, 2013 at 10:21 PM, Sohail Mirza mrz...@gmail.com wrote: from C:/Ruby193/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.27.2 You have an old

[wtr-general] Dynamic Objects Handling

2012-08-15 Thread Sohail Mirza
Hi, I just wanted to know does *watir* gives us facility to handle dynamic objects in the application? For example i have HMTL table whose rows counts is not fixed and these rows are created based on the search results returned. I wanted to create script in such a way that no matters how many

[wtr-general] Require 'rubygems'

2012-08-10 Thread Sohail Mirza
Hi, what is the purpose of adding following line in the ruby program? Require 'rubygems' Thanks -- 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

Re: [wtr-general] Require 'rubygems'

2012-08-10 Thread Sohail Mirza
Thanks Does the latest version of ruby automatically do this functionality or still we need to require it? Thanks for your comments On Fri, Aug 10, 2012 at 3:00 PM, Željko Filipin zel...@filipin.eu wrote: On Fri, Aug 10, 2012 at 12:57 PM, Sohail Mirza mrz...@gmail.com wrote: what

[wtr-general] How to save screenshot of IE Browser

2012-08-10 Thread Sohail Mirza
Hi, I am automation a functionality in IE browser. I need to save the screenshot of browser during script execution. How can i do this? Thanks -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com

[wtr-general] Issue in using Object Repositry

2012-08-04 Thread Sohail Mirza
Hi I have defined Object Repository file as follow - *module LoginPage* * def username_textbox* * * * return $ie.text_field(:id,i0116)* * end* * * * def UserPassword* *return $ie.text_field(:id,i0118)* * end* * * * def SignIn* *

[wtr-general] Watir Version

2012-08-01 Thread Sohail Mirza
Hi, What are the different versions of Watir available? i just tried following and somehow come to know that watir version 1 is installed on my machine. Is it the latest one? * * *C:\ruby -e 'require watir; puts Watir::IE::VERSION'* *-e:1:in `main': uninitialized constant Watir::IE::VERSION

[wtr-general] David Brown's Excel Interface issue

2012-08-01 Thread Sohail Mirza
Hi, I downloaded XLS.ZIP excel file from the http://wiki.openqa.org/display/WTR/Excel+interface+class i extracted this code to D: drive. Then using command prompt, i entered ruby ruby XLS_usage_example.rb and pressed enter... immediately i got following error

[wtr-general] Re: David Brown's Excel Interface issue

2012-08-01 Thread Sohail Mirza
its resolved.. I had to copy Xls file at following location C:\Ruby193\lib\ruby\1.9.1 On Wed, Aug 1, 2012 at 10:53 PM, Sohail Mirza mrz...@gmail.com wrote: Hi, I downloaded XLS.ZIP excel file from the http://wiki.openqa.org/display/WTR/Excel+interface+class i extracted this code to D

[wtr-general] NoMethodError: unknown property or method: `length' HRESULT error code:0x80020006

2012-07-31 Thread Sohail Mirza
Hi, I tried to execute the following code but getting an error *NoMethodError: unknown property or method: `length' HRESULT error code:0x80020006* require watir require test/unit require win32ole class TC_Login Test::Unit::TestCase $ie = Watir::IE.new def setup $ie.goto(http://gmail.com;) end

[wtr-general] Diff b/w the way of instantiating an instance of BROWSER IE

2012-07-30 Thread Sohail Mirza
Hi, 1 - What is the difference between following two lines. * * *browser = Watir::Browser.new* *ie = Watir::IE.new* Thanks, -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com

[wtr-general] Contains_Text vsText_Included?

2012-07-30 Thread Sohail Mirza
Hi, 1 - What is the difference between following two validation methods. * * *Contains_Text* *Text_Included* Thanks -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com

Re: [wtr-general] Contains_Text vsText_Included?

2012-07-30 Thread Sohail Mirza
, 2012 at 9:20 PM, Sohail Mirza mrz...@gmail.com wrote: 1 - What is the difference between following two validation methods. Contains_Text Text_Included I think both are deprecated. Željko -- filipin.eu -- Before posting, please read http://watir.com/support. In short: search before

[wtr-general] Watir Framework?

2012-07-28 Thread Sohail Mirza
Hi, I just wanted to know which is the best Watir Framework for automating web application? Any example available on github? Which is the best IDE for Watir script development? Thanks Sohail -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice.

Re: [wtr-general] Watir Framework?

2012-07-28 Thread Sohail Mirza
at 3:11 PM, Sohail Mirza mrz...@gmail.com wrote: I just wanted to know which is the best Watir Framework for automating web application? Any example available on github? I could not guarantee that it is the best, but I prefer page-object gem: https://github.com/cheezy/page-object Which

Re: [wtr-general] Watir Framework?

2012-07-28 Thread Sohail Mirza
(should contains data file) Reports (should contains reports) Run.rb to run all the file Thanks On Sat, Jul 28, 2012 at 5:31 PM, Željko Filipin zel...@filipin.eu wrote: On Sat, Jul 28, 2012 at 3:30 PM, Sohail Mirza mrz...@gmail.com wrote: Could you more explain page-object gem? How to setup

[wtr-general] WatiR Recorder++

2010-06-23 Thread Sohail Mirza
Hi All, Can anyone explain me below points *How to installed Watir Recorder ++?* *What is the difference between WatiR Recorder++ and WatiR Maker?* Best Regards, Sohail -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this