Re: [wtr-general] Watir with Telerik Rad Grid

2011-05-02 Thread Angrez Singh
 We are new to teleric Radgrid. We need sample code. Please help us.

 :) nice one Željko.
Ranjith we all want to help you. But without code we can't do anything.
One thing that you can do is to go through Watir sample codes available at
Watir.com
If you are using IE 7/8 you can use IE developer tool to get the HTML code
for your page/grid.

Thanks,
Angrez

-- 
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


Re: [wtr-general] Watir with Telerik Rad Grid

2011-05-02 Thread ranjith kumar
Hi,

Can you please tell me which code are you reffering to.
The code of the applciation where i am working with Rad grids.

On Mon, May 2, 2011 at 12:10 PM, Angrez Singh ang...@gmail.com wrote:


  We are new to teleric Radgrid. We need sample code. Please help us.

 :) nice one Željko.
 Ranjith we all want to help you. But without code we can't do anything.
 One thing that you can do is to go through Watir sample codes available at
 Watir.com
 If you are using IE 7/8 you can use IE developer tool to get the HTML code
 for your page/grid.

 Thanks,
 Angrez

 --
 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


-- 
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] require /subdirectory/test

2011-05-02 Thread Francisco Diaz Trepat - gmail
Hi I have refactored my code to have

   navigation.rb == Navigation module with common methods like login
   dev_suite.rb  == Suite of DEV environment test
   qa_suite.rb   == Suite of QA environment test
   /dev  == Folder with DEV tests
 test1.rb
 test2.rb
   /qa   == Folder with QA tests
 test1.rb
 test2.rb


in the file dev_suite.rb or qa_suite.rb

how should I put the require statements, I have set these ones for
dev_suite.rb but it blows:

require './dev/test1'
require './dev/test2'


If any one can tell me that would be great.

f(t)

-- 
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: Generating CTRL keydown and CTRL keyup

2011-05-02 Thread burgerszil...@yahoo.com
Thanks for the reply.

I managed the click also.
My test looks something like this

.
#need to press ctrl key down

@browser.trs(:class = rowColor).each do |row|
 row.click
end
.

#need to trigger ctrl key release

This code is working well. Each tr is clicked and the action is
performed.
The send_keys is sending a key event.
Unfortunatly i need the key pressed when the click occures. What i'm
aiming for is to implement the 2 comments.

On May 2, 6:14 pm, Željko Filipin zeljko.fili...@wa-research.ch
wrote:
 On Mon, May 2, 2011 at 5:04 PM, burgerszil...@yahoo.com 

 szbur...@smartsoft.ro wrote:
  I was able to simulate the click, but not the ctrl key down.

 I think I have replied to pretty similar question today at SO:

 http://stackoverflow.com/questions/5837513/how-do-i-send-keyboard-com...

 Željko
 --
 watir.com - community manager
 watir.com/book - author
 watirpodcast.com - host
 viaqa.mobi conference on software testing - organizer

-- 
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: Watir with Telerik Rad Grid

2011-05-02 Thread Chuck van der Linden
The HTML that ends up being created for the webpage, along with what
you have tried so far in Watir to click the control.

Also it helps to know how YOU are identifying the row you want to
click on, is it by position? content?  How do you know which row is
the right one to be clicked.

If you can't provide the page code, then the next best thing is if you
can point to an example on the Telerik site of the EXACT control you
are trying to work with.

On May 2, 5:47 am, ranjith kumar ranjith@gmail.com wrote:
 Hi,

 Can you please tell me which code are you reffering to.
 The code of the applciation where i am working with Rad grids.







 On Mon, May 2, 2011 at 12:10 PM, Angrez Singh ang...@gmail.com wrote:

   We are new to teleric Radgrid. We need sample code. Please help us.

  :) nice one Željko.
  Ranjith we all want to help you. But without code we can't do anything.
  One thing that you can do is to go through Watir sample codes available at
  Watir.com
  If you are using IE 7/8 you can use IE developer tool to get the HTML code
  for your page/grid.

  Thanks,
  Angrez

  --
  Before posting, please readhttp://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

-- 
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] How to text in a textfield of a dialog box

2011-05-02 Thread chaand
Hi,

I am testing a web application using IE. I am a newbie for watir.
There is an Popup window launched  I need to enter text into a text
field and hit a button in that dialog . The Toolbar is not available
for that popup window. hence not able to identify the elements on that
window.

Can anyone please share the ways to work on this scenario.

Thank you.

-- 
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