[wtr-general] urgent help for table issue

2008-11-05 Thread meaculpa
hi all, I have a table with some coloumns in it...and i used to take value from one of the column. and i assigned it to a variable..lets say a = ie.table(:class,'table1')[2][1].text some times this table [2][1] wont be present, in tht case i have to do some other operations... so can u tell

[wtr-general] How to get the system date to my text field.

2008-11-11 Thread meaculpa
Hi All, I have a text field for enetering datein teh format 12-NOV-2008. So how can i able to get system date and make it in this format to enter in textfield.Please help --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[wtr-general] Re: how to copy text from modal window

2008-11-12 Thread meaculpa
The text is An allotment request with id IND50 has been created I want to take IND50please helpurgent --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send

[wtr-general] Not able to click Enter using SENDKEY

2010-05-24 Thread meaculpa
Hi All, I had a search field and I have to do a blank search. My code is : require'rubygems' require 'watir' require 'win32ole' $m_link = 'ww1.*.com' $browser = Watir::IE.start($m_link) $browser.text_field(:name, keywords).set('') $browser.send_keys({enter}) $browser.waitForIE but its not

[wtr-general] How to automate ?

2010-06-01 Thread meaculpa
I have a webpage to check which is having 18 different affialiates means 18 wrappers. So the class name and text of the same object varies for each wrapper. So how cna I identify the object and reduce the script repetition.? -- Before posting, please read http://watir.com/support. In short:

[wtr-general] Re: How to automate ?

2010-06-01 Thread meaculpa
Like I can say www.google.com/us www.google.com/fr and imagine for Fr and Us, both the class names of search textbox is different and text too.. so what to do ? -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message

[wtr-general] How to create a file and save it.

2010-06-03 Thread meaculpa
I need to create a text file and save it using watir. How is it possible. Can anybody help ? -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general

[wtr-general] Re: How to create a file and save it.

2010-06-03 Thread meaculpa
Its WATIR specific only. And This is not a blanket request for help. Everyone in this forum are having experience and they are not just NOOBS. So they can surely understand what i mean... Also After googling only I post here... I believe this group is mainly for helping each other than

[wtr-general] Re: How to click a button which is having all the property dynamic ?

2011-03-15 Thread meaculpa
For a MNC, that guy was into QTP, in QTP we can identify it with rpository. -- 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] can't convert NameError into String (TypeError)

2011-03-22 Thread meaculpa
I got error in this pline of code. r.addtoReport(testReport, 'Test crashed with reason '+$!, 'FAILED', 'Test crashed!') error was : rep.rb:40:in `+': can't convert NameError into String (TypeError) from rep.rb:40:in `rescue in main' from rep.rb:6:in `main' I didnt get any idea.

[wtr-general] How can I open googgle chrome using watir in windows 7 64 bit ?

2011-07-15 Thread meaculpa
I need to automate google chrome and safari in windows 7 64 32 bit and also for windows XP 32 bit. Please guide me wat all things to be done to run these ? I have installed WATIR- WEBDRIVER. but it doesnt solve the issue -- Before posting, please read http://watir.com/support. In short: search

[wtr-general] Re: How can I open googgle chrome using watir in windows 7 64 bit ?

2011-07-15 Thread meaculpa
Even I am not able to install chromewatir getting error : ERROR: Could not find a valid gem 'chromewatir' (= 0) in any repository ERROR: Possible alternatives: firewatir -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice.

[wtr-general] Site Login authentication

2011-10-13 Thread meaculpa
I have to enter a site and when i give the url, the popup comes asking for the username password. I tried the methods given in Openqa but none worked. My sample code is : Watir.autoit.attach(Windows Security) Watir.autoit.Send(usdsdsd) Watir.autoit.Send('{tab}')

[wtr-general] how to call Function argument into another ruby script.

2011-11-21 Thread meaculpa
Consider I have a ruby file called library.rb. In which i defined a function like this : def Name(testcase, result) pdf = PDF::Writer.new testcase= $testcase pdf.text $testcase, :font_size = 72, :justification = :center result= $result pdf.text $result, :font_size = 72, :justification = :center