Re: [Wtr-general] How to click a row from table in webpage

2007-07-12 Thread SHALINI GUPTA
Risk /td td class=Hide 0 /td td class=Value /td td class=Value /td /tr tr id=m3239 class=RowLevel1Style /tr tr id=m3240 class=RowLevel2Style style=display: none; /tr /tbody /table On 7/12/07, SHALINI GUPTA [EMAIL PROTECTED] wrote: Hi all, Please tell me how to click a column of a row of a web

[Wtr-general] Query in windows-pr,win32-process and Rspec

2007-07-12 Thread SHALINI GUPTA
more advantages of watir. Regards Shalini Gupta ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] some issues with 'watir-1[1].5.1.1192.gem'

2007-07-12 Thread SHALINI GUPTA
No...its maximize the ruby.exe file...not internet explorer On 7/13/07, atul srivastava [EMAIL PROTECTED] wrote: On 12/07/07, SHALINI GUPTA [EMAIL PROTECTED] wrote: Hi All, I am facing a issue with Watir 'watir-1[1].5.1.1192.gem'. when i run any script it opens exe file infront

[Wtr-general] How to click a row from table in webpage

2007-07-11 Thread SHALINI GUPTA
Hi all, Please tell me how to click a column of a row of a web page. Regards shalini Gupta ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

[Wtr-general] How to count links of a table

2007-07-10 Thread SHALINI GUPTA
Hi all, Please tell me how to count link from a table. Regards shalini gupta ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

[Wtr-general] how to count the no of link in a datatable

2007-05-31 Thread SHALINI GUPTA
No /td /tr tr id=m10925 class=SimpleRow /tr tr id=m10926 class=SimpleRow /tr tr id=m10927 class=SimpleRow /tr /tbody /table /div IM NOT ABLE TO TRY ANY THING..AS I DONT HAVE ANY CLUE. Regards shalini gupta ___ Wtr-general mailing list Wtr-general

Re: [Wtr-general] How to get the all the content of list box into variable

2007-05-29 Thread SHALINI GUPTA
hi, u can try this ary=$ie.select_list(:name, ctl00$header1$AddLocations1$lstAvailable).getAllContents() $ie.select_list(:name, ctl00$header1$AddLocations1$lstAvailable).select(ary[0].to_s) u can compare this.. hope it will work. regards shalini gupta On 5/29/07, Željko Filipin [EMAIL

Re: [Wtr-general] CAN BE CLICK LINK ASSOCIATED WITH AN IMAGE

2007-05-24 Thread SHALINI GUPTA
Thanks !! it works On 5/24/07, Bret Pettichord [EMAIL PROTECTED] wrote: Željko Filipin wrote: On 5/24/07, *Bret Pettichord* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: ie.link(:after, ie.image(:id, 'foo')).click Bret, this does not work for me. Am I doing something wrong? My

Re: [Wtr-general] How to click variable link

2007-05-23 Thread SHALINI GUPTA
.'); onmouseout=javascript:HideTooltip(); sys_asp /A nbsp; /TD TD CLASS=Hide 'sys_asp' is variable link...it is user defined.. please help its very urgent Regards Shalini Gupta On 5/22/07, Željko Filipin [EMAIL PROTECTED] wrote: On 5/22/07

Re: [Wtr-general] How to click variable link

2007-05-23 Thread SHALINI GUPTA
/?treeobject=2object=2frame=FRAME_PORTAL_TOP_LEVEL_DETAILSsnapshot=3 ).click end regards shalini On 5/23/07, Prema Arya [EMAIL PROTECTED] wrote: can you send the code snippet? On 5/23/07, SHALINI GUPTA [EMAIL PROTECTED] wrote: hi, Thanks!! im getting this problem with HREF 1) Error

Re: [Wtr-general] How to click variable link

2007-05-23 Thread SHALINI GUPTA
) Thanks for ur response!! Regards Shalini On 5/23/07, Prema Arya [EMAIL PROTECTED] wrote: Hi Shalini, $ie.link(:id,m522).click I cannot fine the link with id 'm522'. but the line you have commented as below #$ie.image(:HREF, http://localhost:8080/CASTAD/?treeobject=2object=2frame

Re: [Wtr-general] How to click variable link

2007-05-23 Thread SHALINI GUPTA
im using watir 1.4.1 but also installed this watir-1.5.1.1127.gem On 5/23/07, Željko Filipin [EMAIL PROTECTED] wrote: On 5/23/07, SHALINI GUPTA [EMAIL PROTECTED] wrote: Watir::Exception::MissingWayOfFindingObjectException: :href is an unknown way of finding a link Which Watir version

Re: [Wtr-general] How to click variable link

2007-05-23 Thread SHALINI GUPTA
i Have installed 1.5.1166 and problem is solved.. but when i change that link name...its not working.. is href also variable?? On 5/23/07, Željko Filipin [EMAIL PROTECTED] wrote: On 5/23/07, SHALINI GUPTA [EMAIL PROTECTED] wrote: im using watir 1.4.1 but also installed this watir

[Wtr-general] CAN BE CLICK LINK ASSOCIATED WITH AN IMAGE

2007-05-23 Thread SHALINI GUPTA
Hi, In my project i want to click a link that is variable.i.e user dependent.Butalways it comes after an image... so is there any way to click a link just next to an image. please help.Its very urgent Regards Shalini Gupta ___ Wtr-general mailing list

Re: [Wtr-general] How to click variable link

2007-05-23 Thread SHALINI GUPTA
A IMG SRC=http://localhost:8080/CASTAD/?filename=CAST64479.png; ALT= / /A nbsp; /TD /TR in this code sys_asp is variable link.i.e user dependent. i want to click this without depending on this name.. Regards shalini

Re: [Wtr-general] How to click variable link

2007-05-23 Thread SHALINI GUPTA
hi, after using regular expression im getting this error 1) Error: test_ADGDashboard_Homepage(TC_CAST_ADGDashboard_Homepage): Watir::Exception::UnknownObjectException: Unable to locate object, using href and (?-mix:treeobject=46object=46frame=FRAME_PORTAL_TOP_LEVEL_DETAILS) On 5/23/07, Prema

Re: [Wtr-general] How to click variable link

2007-05-23 Thread SHALINI GUPTA
=46object=46frame=FRAME_PORTAL_TOP_LEVEL_DETAILS) regards shalini gupta On 5/23/07, SHALINI GUPTA [EMAIL PROTECTED] wrote: hi, after using regular expression im getting this error 1) Error: test_ADGDashboard_Homepage(TC_CAST_ADGDashboard_Homepage): Watir::Exception::UnknownObjectException

[Wtr-general] How to click variable link

2007-05-22 Thread SHALINI GUPTA
not working. Please hepl its very urgent Thanks in advance regards Shalini Gupta ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Having trouble capturing text in java alert

2007-05-10 Thread SHALINI GUPTA
.. tell me if its helps u or not Regards and Thanks Shalini Gupta and use this as.. On 5/10/07, gary [EMAIL PROTECTED] wrote: Hi still no luck I'm afraid, this is the closest I can get to what I want but with odd behaviour. For some reason the first alert does not appear to be recognised

Re: [Wtr-general] How to handle pop dialouge boxes by clicking on OK button

2007-05-09 Thread SHALINI GUPTA
in second solution have u changed the path:- Thread.new{ system(ruby \c:\\PSC\\jscriptExtraAlert.rb\) } i mean to say jscriptExtraAlert...path.. search this file and specy path there... On 5/10/07, vamsi [EMAIL PROTECTED] wrote: Hi Shalini, Thank you very much for your response. How ever

Re: [Wtr-general] Having trouble capturing text in java alert

2007-05-09 Thread SHALINI GUPTA
, text = @autoit.WinGetText Window Internet Explorer file = File.open(c:\\test.txt, w) file.puts text puts text.to_s file.close @autoit.Send {ENTER} end after then u can read content of these file..ok... Regards Shalini Gupta On 5/9/07, gary [EMAIL PROTECTED

Re: [Wtr-general] Having trouble capturing text in java alert

2007-05-09 Thread SHALINI GUPTA
once again..use this function start_jsalert_clicker...before the object who is responsible for java alert popup.. On 5/10/07, SHALINI GUPTA [EMAIL PROTECTED] wrote: hi u can use this code.. def start_jsalert_clicker Thread.new{ system(ruby \c:\\PSC\\jscriptExtraAlert.rb\) } #please

Re: [Wtr-general] How to handle pop dialouge boxes by clicking on OK button

2007-05-08 Thread SHALINI GUPTA
@autoit.Send {ENTER} end This code will also give u the text on the popup tell me if this does not work u have to use start_jsalert_clicker before that button which is responsible for popup. Regards Shalini On 5/9/07, vamsi [EMAIL PROTECTED] wrote: My application having confirmation messages

[Wtr-general] how to handle popup windows

2007-04-30 Thread SHALINI GUPTA
to specify path please help as soon as possible. it very urgent Thanks In advance regards Shalini Gupta ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] how to capture text from popup window

2007-04-26 Thread SHALINI GUPTA
hi, please help!! its very urgent Regards Shalini Gupta On 4/26/07, SHALINI GUPTA [EMAIL PROTECTED] wrote: HI, Sorry..its also not working. i have done all the things told by u.. but i think push_alert_button doesnt work. as i was using wincliker class to handle popup.. that time popup

Re: [Wtr-general] how to capture text from popup window

2007-04-26 Thread SHALINI GUPTA
On 4/26/07, SHALINI GUPTA [EMAIL PROTECTED] wrote: HI ALL, Please help!! its urgent!! Regards Shalini On 4/26/07, SHALINI GUPTA [EMAIL PROTECTED] wrote: -- Forwarded message -- From: SHALINI GUPTA [EMAIL PROTECTED] Date: Apr 26, 2007 1:05 PM Subject: Re: [Wtr-general

Re: [Wtr-general] how to capture text from popup window

2007-04-26 Thread SHALINI GUPTA
hi, have i used correctly or not .. Regards Shalini gupta ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] how to capture text from popup window

2007-04-26 Thread SHALINI GUPTA
dll must be correctly registered for this feature to work properly end end end REGARDS SHALINI GUPTA On 4/26/07, Angrez Singh [EMAIL PROTECTED] wrote: Hi, Few more questions: 1. Did pop up gets clicked or not? 2. If notepad or wordpad opens what are its contents? 3. Can you post

Re: [Wtr-general] how to capture text from popup window

2007-04-26 Thread SHALINI GUPTA
:97:in `test_PSCLogin' 1 tests, 0 assertions, 0 failures, 1 errors regards shalini gupta On 4/26/07, SHALINI GUPTA [EMAIL PROTECTED] wrote: HI, YES UR RIGHT THANKS!! REGARDS SHALINI GUPTA On 4/26/07, Angrez Singh [EMAIL PROTECTED] wrote: Hi, Few mistakes: 1. You are adding text to file

Re: [Wtr-general] how to capture text from popup window

2007-04-25 Thread SHALINI GUPTA
) $File = File.open(c:\\test.txt, w) $File.puts(s.to_s) s unless s == 1 end but it is printing only 1..in the file. please help. shalini gupta On 4/25/07, SHALINI GUPTA [EMAIL PROTECTED] wrote: hi, Thanks for quick reply... please tell me how can i write output

Re: [Wtr-general] how to capture text from popup window

2007-04-25 Thread SHALINI GUPTA
hi Prema, Sorry it not working.. It is printing 1 in text file. please help!! Regards Shalini Gupta On 4/25/07, Prema Arya [EMAIL PROTECTED] wrote: Hi Shalini, Just try this code (modified your code a little) def text(wait_seconds = 1) # sleep 0.3 autoit

[Wtr-general] how to capture text from popup window

2007-04-25 Thread SHALINI GUPTA
of test: PSC login\n end end Regards shalini gupta ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

[Wtr-general] Javascript dialogs - reading and closing

2007-04-24 Thread SHALINI GUPTA
.,TEST PASSED:) #logs to both the XML file and corelogger end $ie.close $logger.log(Close excel file) $lgn.excel_close $logger.log(Closed excel file) $logger.log ## End of test: PSC login\n end end please help!!! Thanks in Advance Regards and Thnaks Shalini gupta

[Wtr-general] how to capture text from popup window

2007-04-24 Thread SHALINI GUPTA
HI List, Please help regarding popup. How to get the text of a popup window.. its very urgent please help. Regards Shalini gupta ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] how to capture text from popup window

2007-04-24 Thread SHALINI GUPTA
me...and give me some code... Regards Shalini Gupta On 4/24/07, Paul Rogers [EMAIL PROTECTED] wrote: there is stuff in the winclicker to do it too. We've got the javascript pop up text back to the main app by saving it to a file Paul Hi, As far as I know, clicking some button on Pop up

Re: [Wtr-general] NoMethodError: undefined method `assert_equal'

2007-04-24 Thread SHALINI GUPTA
:in `test_PSCLogin' please help me regarding this..its very urgent.. Thanks In advance.. Regards Shalini Gupta On 4/24/07, Charley Baker [EMAIL PROTECTED] wrote: You can get the text of the window using AutoIt, in javascript popups the text is usually in the first or second static text control

Re: [Wtr-general] how to capture text from popup window

2007-04-24 Thread SHALINI GUPTA
unless s == 1 end please help me.. Thanks In Advance Regards Shalini Gupta On 4/25/07, Angrez Singh [EMAIL PROTECTED] wrote: Hi, As Paul said that you need to store the text in a file and then read that file in your main process. Because pop up's are handled in different process. So even

[Wtr-general] (no subject)

2007-04-23 Thread SHALINI GUPTA
[EMAIL PROTECTED] ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Watir T-shirt

2007-04-23 Thread SHALINI GUPTA
i'm in On 4/24/07, Walter Kruse [EMAIL PROTECTED] wrote: I'm in. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jason Sent: 24 April 2007 12:48 AM To: wtr-general@rubyforge.org Subject: [Wtr-general] Watir T-shirt I ran this by Bret and he suggested

Re: [Wtr-general] NoMethodError: undefined method `assert_equal'

2007-04-23 Thread SHALINI GUPTA
Hi Ajitesh, I am Shalini gupta.Hope u'll be fine.I am also working on watir.I have problem with java popups.i am able to handle that.but how to get text on popup i dont know.please help me regarding this.Thanks in Advance. Regards and Thanks Shalini Gupta On 4/23/07, Ajitesh Srinetra [EMAIL

Re: [Wtr-general] How do I click the OK button on a java alert?

2007-04-05 Thread shalini
Hi all, I am new to ruby, and have searched these forums for answers, but have not found anything that seems to work or help me. (including links to FAQ's which do not appear to be available anymore) Situation: I am writing ruby/watir scripts to automate tests against a website/application.