[wtr-general] how to select rows under grid for EXTJS code using watir.

2009-05-26 Thread Bhavesh
doesnt get the event from ext-js. Can some one help me how can i click/select this row, so that i can go ahead. Any help is appriciated. Bhavesh --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group

[wtr-general] How can i click CTRL key + Link in Watir

2009-08-17 Thread Bhavesh
Hi , I have to click CTRL key + link using watir. Is anybody know how to do it? Actually i can tmodify any setting in IE, os i have to press CTRL key manually and then link to open an link. But for automation, i have to do it using WATIR Any help is appreciated. Bhavesh

[wtr-general] Re: how watir reads page source? how ie.html works?

2010-02-21 Thread Bhavesh
Hi John, thanks a lot, it worked. thanks again, bhavesh On Feb 19, 7:39 pm, JArkelen johnvanarke...@gmail.com wrote: Connect to the frame, so instead of: ie.link(:id, 'some_link').click use: ie.frame(:id, 'tableViewFrame').link(:id, 'some_link').click Cheers, John On Feb 19, 7:14

[wtr-general] How to suppress warning thrown by Watir.

2010-02-22 Thread Bhavesh
Hi, I have to collect text from al the frames into one variable and then have to pattern match it. But problem is like some frames exists sometime and sometime not. So i rescued it, but still i see warning like -- failed Unable to locate a frame with id flatViewFrame PASSED! Page contains text

[wtr-general] I18n support in watir/ruby.

2011-01-03 Thread Bhavesh
for this to work? Any help would be highly appreciated. Thanks Bhavesh -- 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] Need help on .value method in watir

2011-05-03 Thread Bhavesh
is empty. What is the cause? how can i resolve this? I cannot use .set method as i have utf8 or special characters. Can someone help me out with this. Your help is appreciated. Thanks Bhavesh -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir

[wtr-general] Closing and opening IE session in watir.

2011-06-07 Thread Bhavesh
end end This works well in Ruby 1.8 Recently i upgrade to Ruby 1.9.2 and this routine start failing. It closes the IE if it is open but then not opening the new IE it just came out of script throwing error. Any suggestion how can i use it in 1.9.2? Bhavesh -- Before posting, please read

[wtr-general] not able to send commands to linux boxes when upgraded to Ruby 1.9.2

2011-06-07 Thread Bhavesh
ssh using putty to these boxes, but through script it is fialing. Any help how i can have this working? Bhavesh -- 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

[wtr-general] Re: Closing and opening IE session in watir.

2011-06-08 Thread Bhavesh
, Bhavesh bhavesh1_sha...@yahoo.com wrote: It closes the IE if it is open but then not opening the new IE  it just came out of script throwing error. And the error message is? Željko -- watir.com - community manager watir.com/book - author watirpodcast.com - host viaqa.mobi conference

[wtr-general] Re: Closing and opening IE session in watir.

2011-06-08 Thread Bhavesh
- t 10 sleep 0.3 end end There is an change in code in 1.8.1. If i replace the piece of code for ie.close of version 1.6.7 in 1.8.1 file, the same routine starts working fine. So what needs to be done now to have this working with 1.8.1 code? Bhavesh On Jun 8, 10:21 am

[wtr-general] netssh and ruby 1.9.2

2011-06-08 Thread Bhavesh
channel.on_close do puts shell terminated end channel.send_request shell, nil, true end session.loop end # Can someone let me know what needs to be change to have this working. Any help is appreciated, im stuck because of this. Bhavesh -- Before posting, please

[wtr-general] Re: netssh and ruby 1.9.2

2011-06-08 Thread Bhavesh
Hi, Im doing automation on Watir. Watir is installed over Ruby. I upgraded Ruby as well as Watir to new version. Now when i execute my watir script, this routine is failing. Bhavesh On Jun 8, 4:03 pm, Charley Baker charley.ba...@gmail.com wrote: I'll say what other people

[wtr-general] Re: Closing and opening IE session in watir.

2011-06-09 Thread Bhavesh
Hi, I tried to log a bug but then it default to Bamboo development if i use this link : http://jira.openqa.org/browse/WTR I need to log this to WATIR development, so how can i change the component to watir devlopment. Bhavesh On Jun 8, 12:30 pm, Željko Filipin zeljko.fili...@wa-research.ch

[wtr-general] sending i18n data to remote computer using watir scripts.

2011-06-29 Thread Bhavesh
#{command}\n.force_encoding('utf-8') channel.send_data exit\n session.loop end end end I fire commands like this to get the command fire on remote machine : issueCommandInKazBox($node1, add user bhavesh role admin, ) It works properly for english data. But when i have utf8 data, it throws

[wtr-general] Re: sending i18n data to remote computer using watir scripts.

2011-07-08 Thread Bhavesh
Di Anyone knows about it? On Jun 29, 3:56 pm, Bhavesh bhavesh1_sha...@yahoo.com wrote: Hi, I have routines to send commands to remote computer. def issueCommandInKazBox5(okMachine=, command=, matchLog=, user=admin, passwd=kazeon) puts    issueCommandInKazMachine=#{okMachine} puts

[wtr-general] Webdriver : when i have to grab the id using pattern match it fails for firefox

2011-12-08 Thread Bhavesh
in firefox is different then IE, what i pattern matched. So how cna i overcome this problem for webdriver? Such that i can grab the id's using patern match and thne execute the script in IE and firefox both. Or even in Chrome. Can someone help? Bhavesh -- Before posting, please read http

[wtr-general] Re: Webdriver : when i have to grab the id using pattern match it fails for firefox

2011-12-09 Thread Bhavesh
test framework. I switched to Webdriver just now as a requirement and therefore i need my previous code to be align to webdriver so that i can execute my script on all browsers. Can you help me out here? Is there any way i can port all my scripts to webdriver? Bhavesh On Dec 9, 3:48 am, Željko

[wtr-general] Re: Webdriver : when i have to grab the id using pattern match it fails for firefox

2011-12-09 Thread Bhavesh
to firefox, it fails. Bhavesh On Dec 9, 10:42 am, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Fri, Dec 9, 2011 at 7:06 PM, Bhavesh bhavesh1_sha...@yahoo.com wrote: Here im matching bhavtest which is actually parameter #{fsname}. By matching this line, im collecting id div z_bp_ud!cave

[wtr-general] Re: Webdriver : when i have to grab the id using pattern match it fails for firefox

2011-12-09 Thread Bhavesh
/ But in webdriver this pattern match is not usable, then i have a problem, can you suggest any solution to this? Bhavesh On Dec 9, 2:21 pm, Chuck van der Linden sqa...@gmail.com wrote: Lets backup a minute because I think you are going about this in a very convoluted way based on something you

[wtr-general] Re: Webdriver : when i have to grab the id using pattern match it fails for firefox

2011-12-09 Thread Bhavesh
Well i got it working with index : $ie.text_field(:class = inputbg, :index = 0).set bhavesh sleep(5) But still im finding ways. Bhavesh On Dec 9, 3:17 pm, Bhavesh bhavesh1_sha...@yahoo.com wrote: Hi, I got the solution,  i written code like this : $ie.div(:class = cell-inner

[wtr-general] Entering text on a read only textfield.

2011-12-29 Thread Bhavesh
] is : INPUT id=targetSSRepsSelected style=WIDTH: 300px readOnly onchange= name=targetSSRepsSelected When im using watir earlier, I can enter value on this read only textfield, but with webdriver it fails, so what shd I use to enter values now? Any help is appreciated. Thanks Bhavesh -- Before

[wtr-general] Not able to select table data inside an table which is having no unique identity.

2012-01-17 Thread Bhavesh
(:class, comboboxpp).tr(:class, item).td(:text, Detail).click But all failed with some or other error like not able to find element etc. Bhavesh -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com

[wtr-general] Re: Not able to select table data inside an table which is having no unique identity.

2012-01-19 Thread Bhavesh
element, using {:text=Summary, :tag_name=td} Im not getting how cna i select element from that combo box now? Bhavesh On Jan 18, 2:43 pm, Chuck van der Linden sqa...@gmail.com wrote: For the first three things you listed, I see nothing with 'reportType' listed in the HTML you posted, so I have

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

2012-03-05 Thread Bhavesh
vs. Michigan State i would like to click on Actions or get the value of colum status for this particular case. Can some one help me how to i do this? how can i get the particular values of the column for the said case, when i know the casename ? Thanks Bhavesh TABLE class=display id=example1

[wtr-general] EXTJS Issue - Problem with watir 1.8.1, but works with watir webdriver.

2012-04-12 Thread Bhavesh
changes i shd do , so that this code works without webdriver too? thanks Bhavesh -- 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

[wtr-general] Re: EXTJS Issue - Problem with watir 1.8.1, but works with watir webdriver.

2012-04-12 Thread Bhavesh
Same issue, even if i upgrade the watir gem version to 2.0.4. It still fails but works with watir webdriver. On Apr 12, 12:24 pm, Bhavesh bhavesh1_sha...@yahoo.com wrote: Hi, I have a lookup pop-up window. In this windows, everything is under different tables. All the code is in EXTJS, so

[wtr-general] Need information on Accessing outlook and emails for multiple mailboxes

2012-04-13 Thread Bhavesh
the detials regarding accessing mailbox/s from WATIR. thanks Bhavesh -- 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: Saving a PDF with Watir

2012-04-13 Thread Bhavesh
another IE window by title Save As. Now here i have to click on Desktop tab, and then have to save the file. everything in IE. How can i achieve this? Also is there any way by whoch we can unzip OR see the files inside the zip? Bhavesh On Apr 10, 11:16 am, Chuck van der Linden sqa...@gmail.com

[wtr-general] Need information on Accessing outlook and emails for multiple mailboxes

2012-04-13 Thread Bhavesh
the detials regarding accessing mailbox/s from WATIR. thanks Bhavesh -- 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 information on Accessing outlook and emails for multiple mailboxes

2012-04-13 Thread Bhavesh
Thanks for your help Zeljko. On Apr 13, 9:25 am, Željko Filipin zeljko.fili...@gmail.com wrote: On Fri, Apr 13, 2012 at 6:02 PM, Bhavesh bhavesh1_sha...@yahoo.com wrote: We have to verify after email is revieved, what is the body content, at what time it is received, we have to click

[wtr-general] Re: EXTJS Issue - Problem with watir 1.8.1, but works with watir webdriver.

2012-04-13 Thread Bhavesh
Any body can help on this? On Apr 12, 12:26 pm, Bhavesh bhavesh1_sha...@yahoo.com wrote: Same issue, even if i upgrade the watir gem version to 2.0.4. It still fails but works with watir webdriver. On Apr 12, 12:24 pm, Bhavesh bhavesh1_sha...@yahoo.com wrote: Hi, I have a lookup

[wtr-general] Re: Need information on Accessing outlook and emails for multiple mailboxes

2012-04-13 Thread Bhavesh
dont have PST, or path to object, just i have outlook opened and all emails are preent insdie a folder Inbox or in some subfolders. Please suggest. Bhavesh On Apr 13, 12:59 pm, Chuck van der Linden sqa...@gmail.com wrote: Do you know about the gmail 'plus' trick? the plus sign an anything

[wtr-general] Re: Need information on Accessing outlook and emails for multiple mailboxes

2012-04-13 Thread Bhavesh
And is it possible to click on link inside an email? On Apr 13, 2:52 pm, Bhavesh bhavesh1_sha...@yahoo.com wrote: Hi Zeljko, If i use mail gem, can i access emails, links inside it when outlook is opened and active? Reason im asking is i have an outlook, but i dont have an PST path

[wtr-general] Getting Hash value instead of actual link from email.

2012-04-24 Thread Bhavesh
message.Links if message.Unread What I have to change to get the actual links. Bhavesh -- 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: Getting Hash value instead of actual link from email.

2012-04-24 Thread Bhavesh
Yes, im doing this in watir. Instead of using mail gem, im using this method to retrive emails. I dont want to install gem mail. I need to know how to get values instead of these hash values. Bhavesh On Apr 24, 1:36 pm, Chuck van der Linden sqa...@gmail.com wrote: The mail gem has it's own

[wtr-general] Re: Getting Hash value instead of actual link from email.

2012-04-24 Thread Bhavesh
hope that explains my concerns. thanks bhavesh On Apr 24, 2:14 pm, Chuck van der Linden sqa...@gmail.com wrote: Then show us some example HTML and some code that is using watir that shows what you are trying to do. I have for example zero idea what mail system you are even trying to access

[wtr-general] Re: Getting Hash value instead of actual link from email.

2012-04-24 Thread Bhavesh
# $ie.div(:class = x-grid3-cell-inner x-grid3-col- reviewername, :text = bhavesh).click # sleep(5) # $ie.link(:id, button2).click # sleep(5) sleep(5) puts Select Active Case selectActiveCase(case4) clickOkButton() puts Select

[wtr-general] Re: Getting Hash value instead of actual link from email.

2012-04-24 Thread Bhavesh
time when i have another new email, i get content from that new email and previous all emails are in read state. Does anyone knows it? Bhavesh On Apr 24, 4:31 pm, Bhavesh bhavesh1_sha...@yahoo.com wrote: Hi chuck, You are still not getting me. Im am using Watir, and an webapplicaiton. From my

[wtr-general] Re: Getting Hash value instead of actual link from email.

2012-04-25 Thread Bhavesh
. Can I click Links present inside an email? [This i can do once i have an link] 4. How can I get emails from a specific folder, if I have subfolders? If some one can help me, then that will be nice. Thanks in advance. Bhavesh ### The webpage for mail gem states

[wtr-general] Re: Getting Hash value instead of actual link from email.

2012-04-25 Thread Bhavesh
Thanks . I will write the code around and get it working. For subfolders, actually inside Inbox, there are sub folder where specific mails are getting collected based on the policy/rules. That is the reason i need to get the mails from subfolder, but let me try it out. thanks bhavesh On Apr

[wtr-general] Re: Getting Hash value instead of actual link from email.

2012-04-25 Thread Bhavesh
OK, i will update my query with more details in that forum. On Apr 25, 10:17 am, Željko Filipin zeljko.fili...@gmail.com wrote: On Wed, Apr 25, 2012 at 7:13 PM, Bhavesh bhavesh1_sha...@yahoo.com wrote: By the way zeljko,   im still not able to get the unread emails if i use Mail.all

[wtr-general] using .parent to click in UI.

2012-04-25 Thread Bhavesh
-tree-elbow-end-plus).click But it fails with error that class x-tree-node-anchor not found. So how can i click on this image which is appearing before the folder f_t. Can some one help me with this? Bhavesh -- Before posting, please read http://watir.com/support. In short: search before you

[wtr-general] Re: Getting Hash value instead of actual link from email.

2012-04-25 Thread Bhavesh
No..im not using gmail. im using my own corporate emial account. I already posted the query for this on : http://groups.google.com/group/mail-ruby Bhavesh On Apr 25, 10:26 am, Bhavesh bhavesh1_sha...@yahoo.com wrote: OK, i will update my query with more details in that forum. On Apr 25, 10

[wtr-general] Need help in Invoking multiple IE's

2012-04-25 Thread Bhavesh
/) $ie.close end ### But this fails, it opens first IE, but then nothing being done. so it is possible to automate such scenarios? Thanks Bhavesh -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http

[wtr-general] Re: Handling Java script Popup with Ruby in WATIR

2012-05-01 Thread Bhavesh
run your script. Bhavesh On Apr 30, 10:13 am, Chuck van der Linden sqa...@gmail.com wrote: consider moving to watir-webdriver perhaps? On Sunday, April 29, 2012 10:19:33 PM UTC-7, AQUA wrote: No I have been using, WATIR. And the issue I m facing is; basically I have been able to handle

[wtr-general] watir specific version installtion.

2012-05-08 Thread Bhavesh
Hi Right now if i install watir gem, it install 3.0.x there is no .exe file too. So is there a way by which we can install specific version of watir? Can we list how many version are available? Please suggest. Bhavesh -- Before posting, please read http://watir.com/support. In short

[wtr-general] How to Click on DIV'S having same ID and class.

2012-05-12 Thread Bhavesh
= 5).click But not successfull. it is not clicking the desired element as well as not showing any error. Can anyone know? Bhavesh -- 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

[wtr-general] Re: How to Click on DIV'S having same ID and class.

2012-05-14 Thread Bhavesh
Thanks Jarmo and Chuck, i will try whatever you provided. I already talked with developer and asked for change. Thanks for your help Bhavesh On May 13, 11:44 am, Chuck van der Linden sqa...@gmail.com wrote: as Jarmo said, the values for id attributes are supposed to be unique

[wtr-general] How to automate sub-menu items using watir.

2012-10-24 Thread Bhavesh
### So all subme nu is appearing as registerActionControl, which is i think some java script that gets invoked. Do anyone know how to operate using watir on these controls? thanks Bhavesh -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir

[wtr-general] Re: How to automate sub-menu items using watir.

2012-10-25 Thread Bhavesh
Im able to click on main menu i.e View. im using like this to click View menu : $ie.frame(:id, 'MainEx_view_0').frame(:id, 'Classic_workarea_0').frame(:id, 'Form_menubar_0').form(:id, 'MenuBar_0').div(:id, 'MenuBar_view_menu_0html_id').click Problem happens when a submenu is generated when i

[wtr-general] page refresh issue in watir script.

2013-09-25 Thread Bhavesh
every testcases? Can someone provide me some thoughts for this? Appriciate your help. Thanks Bhavesh -- -- 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

[wtr-general] getting fixnum error for :index in webdriver

2013-12-05 Thread Bhavesh
version of watir 1.6.2 and ruby 1.8.7. So what changes i need to do so that this command work and clicks on third refresh button. Any help is apreciated. Thanks bhavesh -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general

[wtr-general] Need info about how to get browser version in watir classic and about ie8 and ie9 support.

2014-04-09 Thread Bhavesh
in Ie8 and IE9, I know I have tweak my script to run in these browser but does watir 1.6.5 supports ie8 and ie9? I mean it is not like I get errors when I try to run script? Can someone please help me out with this. Thanks Bhavesh -- -- Before posting, please read http://watir.com/support

Re: [wtr-general] Re: Need info about how to get browser version in watir classic and about ie8 and ie9 support.

2014-04-11 Thread Bhavesh
Thanks Jarmo. Thanks everyone for your comments, by the way we have another UI where we are using watir webdriver. But this is very old ui with no work done and it is left as it is with old version of automation framework. thanks bhavesh On Friday, April 11, 2014 2:44:39 AM UTC+5:30, Jarmo

Re: [wtr-general] Re: Need info about how to get browser version in watir classic and about ie8 and ie9 support.

2014-04-11 Thread Bhavesh
some error like uninitialized constant Watir::Browser::VERSION etc. So what is the right method to get browser version? Please suggest thanks bhavesh On Friday, April 11, 2014 12:36:39 PM UTC+5:30, Bhavesh wrote: Thanks Jarmo. Thanks everyone for your comments, by the way we have another

[wtr-general] Issue using .options with select_list

2014-05-22 Thread Bhavesh Sharma
= searchList.options.collect { |option| option.value } So what is the issue here? .option is bydefault method i guess. then why its not working. please help. bhavesh -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general

[wtr-general] Issue with .options method with select_list

2014-05-22 Thread Bhavesh Sharma
) selectContent = searchList.options.collect { |option| option.value } Still same error. But .options is supported for select_list, then why im getting this error? Can anyone help? Thanks Bhavesh -- -- Before posting, please read http://watir.com/support. In short: search before you ask