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

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

2007-07-12 Thread SHALINI GUPTA
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 of Internet Explorer.And ie.maximize() function maximize the exe instead of internet explorer. How can I solve this. Plz Help!!! Regards Sha

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

2007-07-12 Thread SHALINI GUPTA
dvantages.. so that i can take 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] How to click a row from table in webpage

2007-07-11 Thread SHALINI GUPTA
ct=12507&object=12507&frame=FRAME_PORTAL_TOP_LEVEL_DETAILS "> New applicationTEST2 2.72 High Risk 0 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 page. Regards shalini Gupta ___

[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
amp;treeobject=92&object=1097&frame=FRAME_PORTAL_OBJECT_DETAILS "> CreateNewOrderLine CASTSERVER.CASTPUBS_SHIKHA..CreateNewOrderLine 6 No No IM NOT ABLE TO TRY ANY THING..AS I DONT HAVE ANY CLUE. Regards shalini gupta

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, Že

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] > > wrote: > > ie.link(:after, ie.image(:id, 'foo')).click > > > Bret, this does not work for me. Am I doing somethin

Re: [Wtr-general] want to enter URL manualy

2007-05-24 Thread SHALINI GUPTA
homepage.rb:90:in `adg_Homepage_launch' homepage.rb:51:in `start_ADGDashboard' homepage.rb:60:in `test_ADGDashboard_Homepage' Regards shalini Gupta On 5/24/07, Charley Baker <[EMAIL PROTECTED]> wrote: Hi Shalini, There shouldn't be a need to use $ie.wait $ie

[Wtr-general] want to enter URL manualy

2007-05-24 Thread SHALINI GUPTA
Hi all, I want to enter URL in address bar of my project manually.so i have tried this $ie=IE.new() $ie.wait() But previously it was working but now its not working. i have changed my watir version from 1.5.1127 to 1.5.1166 is it the problem?? Please help Thanks In advance!! Regards Shalini

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

2007-05-23 Thread SHALINI GUPTA
age): Watir::Exception::UnknownObject Exception: Unable to locate object, using href and (?-mix:treeobject=46&object=46&frame=FRAME_PORTAL_TOP_LEVEL_DETAILS) regards shalini gupta On 5/23/07, SHALINI GUPTA <[EMAIL PROTECTED]> wrote: hi, after using regular expression im

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=46&object=46&frame=FRAME_PORTAL_TOP_LEVEL_DETAILS) On 5/23/07, Prema

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

2007-05-23 Thread SHALINI GUPTA
my watir code is... def system_link $logger.log("## CAST_HOMEPAGE_05") $logger.log("") $logger.log "## System link #\n" $logger.log("Description-In Health Factor with lowest grade / System subsection, click Sys

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

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

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

2007-05-23 Thread SHALINI GUPTA
/localhost:8080/CASTAD/?treeobject=2&object=2&frame=FRAME_PORTAL_TOP_LEVEL_DETAILS&snapshot=3%27%29.click> Try this.. hope it works. Regards, Prema On 5/23/07, SHALINI GUPTA <[EMAIL PROTECTED]> wrote: > > hi, >

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

2007-05-22 Thread SHALINI GUPTA
,"m522").click #$ie.image(:HREF," http://localhost:8080/CASTAD/?treeobject=2&object=2&frame=FRAME_PORTAL_TOP_LEVEL_DETAILS&snapshot=3 ").click end regards shalini On 5/23/07, Prema Arya <[EMAIL PROTECTED]> wrote: can you send the code snippet? On 5/2

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

2007-05-22 Thread SHALINI GUPTA
ed quality and quantity assessment page for the selected component.');" onmouseout="javascript:HideTooltip();" > sys_asp   'sys_asp' is variable link...it is user defined.. please help its very urgent Re

[Wtr-general] How to click variable link

2007-05-22 Thread SHALINI GUPTA
" but its 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
lert_clicker' before that object who is responsible for popup.. 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 wit

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

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

2007-05-09 Thread SHALINI GUPTA
;Window Internet Explorer", "" 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 ca

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

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

2007-05-08 Thread SHALINI GUPTA
hi, U can use this code def startClicker( button , waitTime = 3) w = WinClicker.new longName = $ie.dir.gsub("/" , "\\" ) shortName = w.getShortFileName(longName) c = "start ruby #{shortName}\\watir\\clickJSDialog.rb #{button} #{waitTime} " puts "Starting #{c}" w.winsystem(c) w=nil ###end of fun

[Wtr-general] how to handle popup windows

2007-04-30 Thread SHALINI GUPTA
ally it opens that file dialog window.. and second is:-how to click on 'save' and 'cancel' button..and how 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

[Wtr-general] HELP----Re: how to click on a image with this HTML code

2007-04-29 Thread SHALINI GUPTA
HELLO TO ALL, PLEASE HELP ITS VERY URGENT.. REGARDS SHALINI GUPTA On 4/30/07, SHALINI GUPTA <[EMAIL PROTECTED]> wrote: Hi all, I have a problem in my project to click on a image. which has this HTML Code:-   i have tried to click this as:- $ie.image(:src,&quo

[Wtr-general] how to click on a image with this HTML code

2007-04-29 Thread SHALINI GUPTA
ert1' r_n_d.rb:31:in `start' r_n_d.rb:34:in `test_WEBV2_RR' please help me.. how can i click this.. its urgent thanks in advance Regards Shalini Gupta ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

[Wtr-general] How to verify title of a HTML Page

2007-04-27 Thread SHALINI GUPTA
ruby/lib/ruby/1.8/test/unit/ui/testrunnerutilities.rb:29:in `run' c:/ruby/lib/ruby/1.8/test/unit/autorunner.rb:216:in `run' c:/ruby/lib/ruby/1.8/test/unit/autorunner.rb:12:in `run' c:/ruby/lib/ruby/1.8/test/unit.rb:278 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
;username").set(val_userid.to_s) $logger.log(" Action-2: entered Nothing in in e-mail address") $logger.log(":Step-3: Do not enter any thing in password field") val_password=$lgn.TakeData("b",1,$wrk_sht) $ie.text_field(:name,"password").set(val_p

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

2007-04-26 Thread SHALINI GUPTA
hi, thanks it works... regards shalini gupta On 4/26/07, SHALINI GUPTA <[EMAIL PROTECTED]> wrote: hi, i have made all the changes told by u.. as:- in my ruby file :- def start_jsalert_clicker Thread.new{ system("ruby \"c:\\PSC\\jscriptExtraAlert.rb\"") }

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

2007-04-26 Thread SHALINI GUPTA
(TC_PSC_userlogin): EOFError: end of file reached pop_chk.rb:45:in `readline' pop_chk.rb:45:in `read_js_popup_contents' pop_chk.rb: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

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

2007-04-26 Thread SHALINI GUPTA
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 called popup.txt and reading from test.txt def push_alert_button > @autoit.WinWait "Windows Internet Explorer"

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

2007-04-26 Thread SHALINI GUPTA
quot;{TAB}" @autoit.Send password @autoit.Send "{ENTER}" end def WindowHelper.check_autoit_installed begin WIN32OLE.new('AutoItX3.Control') rescue raise Watir::Exception::WatirException, "The AutoIt dll must be c

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

2007-04-26 Thread SHALINI GUPTA
HI, YES I HAVE MODIFIED THAT REGARDS SHALINI On 4/26/07, Angrez Singh <[EMAIL PROTECTED]> wrote: Hi, Did you modified WindowHelper.rb file? You need to update push_alert_button method to log the text of pop up to file c:\test.txt. Regards, Angrez On 4/26/07, SHALINI GUPTA <[EMAIL

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

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

2007-04-26 Thread SHALINI GUPTA
:") #logs to both the XML file and corelogger rescue => e $logger.log("Test Passed:Expected result has been achieved:- User is not able to login ") $logger.log_results( "PSCUser_Login_Logoff_4","Description-Do not enter anything in the E-mail Address and Pa

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

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

2007-04-26 Thread SHALINI GUPTA
HI, No im not getting any exception,error.. but it becomes silent ...like not doing any thing... just command promt remains open.. nothing happens.. regards shalini gupta On 4/26/07, Angrez Singh <[EMAIL PROTECTED]> wrote: Hi, Did you get any exceptions, errors etc while using the

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

2007-04-26 Thread SHALINI GUPTA
orking won't be of any help :). Did you get any errors, exceptions? Make sure that IE is in focus when you use the code. Is autoit installed properly? Same code works fine for me. I am able to get the text of Javascript pop up. Regards, Angrez On 4/26/07, SHALINI GUPTA <[EMAIL PROTECTED]&

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 pop

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

2007-04-26 Thread SHALINI GUPTA
, waitTime = 3) w = WinClicker.new longName = $ie.dir.gsub("/" , "\\" ) shortName = w.getShortFileName(longName) c = "start ruby #{shortName}\\watir\\clickJSDialog.rb #{button} #{waitTime} " puts "Starting #{c}" w.winsystem(c) w=nil #nd of function StartClicke

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

2007-04-25 Thread SHALINI GUPTA
hi, please some one reply.. its urgent.. Regards Shalini Gupta On 4/26/07, SHALINI GUPTA <[EMAIL PROTECTED]> wrote: Hi, my code is as... requires require 'watir' #require 'autoit' require 'test/unit' require 'test/unit/ui/console/testrunner

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

2007-04-25 Thread SHALINI GUPTA
$logger.log_results( "PSCUser_Login_Logoff_4","Description-Do not enter anything in the E-mail Address and Password field and click Login button.","Expected Output-The user should not be able to login.","TEST FAILED:") #logs to both the XML file and co

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

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

2007-04-24 Thread SHALINI GUPTA
crosoft Internet Explorer") $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]>

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

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

2007-04-24 Thread SHALINI GUPTA
' when i remove '{' this it is giving this error:- test_PSCLogin(TC_PSC_userlogin): ArgumentError: wrong number of arguments (0 for 1) exetry.rb:93:in `timeout' exetry.rb:93:in `test_PSCLogin' please help me regarding this..its very urgent.. Thanks In advance.. Re

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

2007-04-24 Thread SHALINI GUPTA
pipe.close if pipe && !pipe.closed? end end end end # test - will close and print the text of an opened javascript dialog if # run as "ruby js_dialog.rb" if $0 == __FILE__ action = ARGV.shift || "close" print JavascriptDialog.text || "" Javascrip

[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

[Wtr-general] how to capture text of a popup window.....

2007-04-24 Thread SHALINI GUPTA
will close and print the text of an opened javascript dialog if # run as "ruby js_dialog.rb" if $0 == __FILE__ action = ARGV.shift || "close" print JavascriptDialog.text || "" JavascriptDialog.send action end please help me regarding this.. Thanks IN advance 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
ogoff_4","Description-Do not enter anything in the E-mail Address and Password field and click Login button.","Expected Output-The user should not be able to login.","TEST FAILED:") #logs to both the XML file and corelogger rescue => e $logger.log("Test Passed:Expected result has been achieved:- User is not able to login ") $logger.log_results( "PSCUser_Login_Logoff_4","Description-Do not enter anything in the E-mail Address and Password field and click Login button.","Expected Output-The user should not be able to login.","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 mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

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

2007-04-23 Thread SHALINI GUPTA
regarding this.. Thanks IN advance Regards Shalini Gupta ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

[Wtr-general] Problem in popups.

2007-04-23 Thread SHALINI GUPTA
Hi All, I am new to ruby.I got the solution how to handle popups but still im getting the same proble whem i runnig that through the exe file .and i also have problem in how to get text of a popup window. Regards And Thanks Shalini Gupta ___ Wtr

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

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 suggeste

[Wtr-general] (no subject)

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