[wtr-general] Issue with a PopUP and Click_No_Wait
Hi Need some urgent help: Go to link:https://www.kaplanprofessional.edu.au/smartforms/courseonline.asp 1. Click on New Student 2. Fill in Mandatory details 3. Click Next 4. Chose Financial Planning 5. Click Next 6. Chose first option in both select lists 7. Select radio button Distance Eductaion 8. Click on Add Subject 9. Click Next and a popup will appear. Now, when i use click_no_wait with the NEXT button it doesn't shows the Pop UP When i use Click with the NEXT button it holds coz now the pop up appears. Can anyone here please tell me how to proceed with the scenario. Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Watir on Ruby 1.9.1
On Fri, Aug 7, 2009 at 2:18 AM, Jari Bakkenjari.bak...@gmail.com wrote: At the moment you need my ruby191 branch from GitHub: http://github.com/jarib/watir/tree/ruby191 I'll make sure it get merged to master before the next release of Watir - if no one has any objections. I've pushed the 1.9 fixes to Bret's master on GitHub and all tests are passing for FireWatir and Watir on both 1.8.6 and 1.9.1. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Issue with a PopUP and Click_No_Wait
Hi Pallavi, That click_no_wait worked fine for me. Just check your Ruby version. (click_no_wait does not work with ruby186-27_rc2: known defect) I am using Ruby186-26_Watir1.6.2 On Sun, Aug 9, 2009 at 1:28 PM, Pallavi Sharma write2pall...@gmail.comwrote: Hi Need some urgent help: Go to link: https://www.kaplanprofessional.edu.au/smartforms/courseonline.asp 1. Click on New Student 2. Fill in Mandatory details 3. Click Next 4. Chose Financial Planning 5. Click Next 6. Chose first option in both select lists 7. Select radio button Distance Eductaion 8. Click on Add Subject 9. Click Next and a popup will appear. Now, when i use click_no_wait with the NEXT button it doesn't shows the Pop UP When i use Click with the NEXT button it holds coz now the pop up appears. Can anyone here please tell me how to proceed with the scenario. Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Issue with a PopUP and Click_No_Wait
I am using ruby 1.86 and watir 1.6.2 Can you please send me your script, somehow it keeps failing for me and i am not able to see the pop up. I would really appreciate a quick reply. Thanks for the quick reply.. On Sun, Aug 9, 2009 at 5:11 PM, Smruti Ranjan Kar smrutiranjan@gmail.com wrote: Hi Pallavi, That click_no_wait worked fine for me. Just check your Ruby version. (click_no_wait does not work with ruby186-27_rc2: known defect) I am using Ruby186-26_Watir1.6.2 On Sun, Aug 9, 2009 at 1:28 PM, Pallavi Sharma write2pall...@gmail.comwrote: Hi Need some urgent help: Go to link: https://www.kaplanprofessional.edu.au/smartforms/courseonline.asp 1. Click on New Student 2. Fill in Mandatory details 3. Click Next 4. Chose Financial Planning 5. Click Next 6. Chose first option in both select lists 7. Select radio button Distance Eductaion 8. Click on Add Subject 9. Click Next and a popup will appear. Now, when i use click_no_wait with the NEXT button it doesn't shows the Pop UP When i use Click with the NEXT button it holds coz now the pop up appears. Can anyone here please tell me how to proceed with the scenario. Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Issue with a PopUP and Click_No_Wait
which version of 1.86? :) I know its confusing, but 1.86 - 27 does not work with click_no_wait, while 1.86 - 26 does. You can download it here: http://rubyforge.org/frs/download.php/29263/ruby186-26.exe -Dylan On Aug 9, 10:20 am, Pallavi Sharma write2pall...@gmail.com wrote: I am using ruby 1.86 and watir 1.6.2 Can you please send me your script, somehow it keeps failing for me and i am not able to see the pop up. I would really appreciate a quick reply. Thanks for the quick reply.. On Sun, Aug 9, 2009 at 5:11 PM, Smruti Ranjan Kar smrutiranjan@gmail.com wrote: Hi Pallavi, That click_no_wait worked fine for me. Just check your Ruby version. (click_no_wait does not work with ruby186-27_rc2: known defect) I am using Ruby186-26_Watir1.6.2 On Sun, Aug 9, 2009 at 1:28 PM, Pallavi Sharma write2pall...@gmail.comwrote: Hi Need some urgent help: Go to link: https://www.kaplanprofessional.edu.au/smartforms/courseonline.asp 1. Click on New Student 2. Fill in Mandatory details 3. Click Next 4. Chose Financial Planning 5. Click Next 6. Chose first option in both select lists 7. Select radio button Distance Eductaion 8. Click on Add Subject 9. Click Next and a popup will appear. Now, when i use click_no_wait with the NEXT button it doesn't shows the Pop UP When i use Click with the NEXT button it holds coz now the pop up appears. Can anyone here please tell me how to proceed with the scenario. Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: watirspec
Great Jari, Thanks for your work! Regards, Zhimin --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] RDoc files on rubyforge need to be updated
These docs are still at 1.5.6 and need to be updated... http://wtr.rubyforge.org/rdoc/ Please let me know if I can assist... Brandon --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: How to click the link in dynamically generated ajax content?
Hi Durgesh, See the below example. 1. Uploading some imsges 2. In Runtime -- I will get some code in BOLDED Div's. I collected the info from that div and checked it. Still you are not clear then just copy and paste the Source code for that page. I will try more. CODE: def check_status sleep(2) *@status=$ie.div(:class,display-states).html @blo...@status.scan(%r{style=DISPLAY: block(.*?)/div}im).flatten.to_s * @su...@block.include?(Success) @que...@block.include?(Queued) @uploadi...@block.include?(Uploading) @canc...@block.include?(Cancelled) @err...@block.include?(Error) if @succ == true return end if @queue == true sleep(20) check_status end if @uploading== true sleep(10) check_status end if @cancel== true $ie.link(:text,Retry) sleep(20) check_status end if @error== true $ie.link(:text,Retry) sleep(20) check_status end end end Thanks On Fri, Aug 7, 2009 at 6:13 PM, Durgesh Nadkarni fordurg...@yahoo.co.inwrote: Hi Raveendran, That HTML code is getting during runtime. Thats why we cannot paste the html code for that link. Is there any other method through which we can recognized that link? Thanks Regards Durgesh. --- On *Fri, 7/8/09, Raveendran P raveend...@railsfactory.org* wrote: From: Raveendran P raveend...@railsfactory.org Subject: [wtr-general] Re: How to click the link in dynamically generated ajax content? To: watir-general@googlegroups.com Date: Friday, 7 August, 2009, 2:58 PM Hi Durgesh, is it possible to paste the html code for that link here ? Thanks, Raveendran http://raveendran.wordpress.com On Fri, Aug 7, 2009 at 1:44 PM, Durgesh durgeshnadka...@gmail.comhttp://mc/compose?to=durgeshnadka...@gmail.com wrote: Hi, I want to click one link which is coming from dynamically generated ajax contents.The source could not be found when I do view source. Thanks Regards Durgesh -- Regards, P.Raveendran -- See the Web's breaking stories, chosen by people like you. Check out Yahoo! Buzz http://in.rd.yahoo.com/tagline_buzz_1/*http://in.buzz.yahoo.com/ -- Regards, P.Raveendran http://raveendran.wordpress.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Issue with a PopUP and Click_No_Wait
Hi Pallavi, Following is the snippet for pop-up which is working fine for me: $ie.goto($test_site) $ie.text_field(:id, login_email).set(totestwa...@mailinator.com) $ie.button(:id, 'submit_btn').click_no_wait sleep 10 txt1 = $ie.clickprompt() #this clicks the ok button and returns puts txt1 $worksheet.Range(D10).Value= txt1 expectedtext1=$worksheet.Range(C10).Value if txt1.eql?(expectedtext1) then $worksheet.Range(E10).Value=true $workbook.save else $worksheet.Range(E10).Value=false $workbook.save end Cheers D G On Mon, Aug 10, 2009 at 12:05 AM, Dylan mej...@gmail.com wrote: which version of 1.86? :) I know its confusing, but 1.86 - 27 does not work with click_no_wait, while 1.86 - 26 does. You can download it here: http://rubyforge.org/frs/download.php/29263/ruby186-26.exe -Dylan On Aug 9, 10:20 am, Pallavi Sharma write2pall...@gmail.com wrote: I am using ruby 1.86 and watir 1.6.2 Can you please send me your script, somehow it keeps failing for me and i am not able to see the pop up. I would really appreciate a quick reply. Thanks for the quick reply.. On Sun, Aug 9, 2009 at 5:11 PM, Smruti Ranjan Kar smrutiranjan@gmail.com wrote: Hi Pallavi, That click_no_wait worked fine for me. Just check your Ruby version. (click_no_wait does not work with ruby186-27_rc2: known defect) I am using Ruby186-26_Watir1.6.2 On Sun, Aug 9, 2009 at 1:28 PM, Pallavi Sharma write2pall...@gmail.comwrote: Hi Need some urgent help: Go to link: https://www.kaplanprofessional.edu.au/smartforms/courseonline.asp 1. Click on New Student 2. Fill in Mandatory details 3. Click Next 4. Chose Financial Planning 5. Click Next 6. Chose first option in both select lists 7. Select radio button Distance Eductaion 8. Click on Add Subject 9. Click Next and a popup will appear. Now, when i use click_no_wait with the NEXT button it doesn't shows the Pop UP When i use Click with the NEXT button it holds coz now the pop up appears. Can anyone here please tell me how to proceed with the scenario. Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Issue with a PopUP and Click_No_Wait
Hi Dylan Version is: ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32] I will download the ruby file you mentioned and check again. I hope it works for me... On Mon, Aug 10, 2009 at 12:05 AM, Dylan mej...@gmail.com wrote: which version of 1.86? :) I know its confusing, but 1.86 - 27 does not work with click_no_wait, while 1.86 - 26 does. You can download it here: http://rubyforge.org/frs/download.php/29263/ruby186-26.exe -Dylan On Aug 9, 10:20 am, Pallavi Sharma write2pall...@gmail.com wrote: I am using ruby 1.86 and watir 1.6.2 Can you please send me your script, somehow it keeps failing for me and i am not able to see the pop up. I would really appreciate a quick reply. Thanks for the quick reply.. On Sun, Aug 9, 2009 at 5:11 PM, Smruti Ranjan Kar smrutiranjan@gmail.com wrote: Hi Pallavi, That click_no_wait worked fine for me. Just check your Ruby version. (click_no_wait does not work with ruby186-27_rc2: known defect) I am using Ruby186-26_Watir1.6.2 On Sun, Aug 9, 2009 at 1:28 PM, Pallavi Sharma write2pall...@gmail.comwrote: Hi Need some urgent help: Go to link: https://www.kaplanprofessional.edu.au/smartforms/courseonline.asp 1. Click on New Student 2. Fill in Mandatory details 3. Click Next 4. Chose Financial Planning 5. Click Next 6. Chose first option in both select lists 7. Select radio button Distance Eductaion 8. Click on Add Subject 9. Click Next and a popup will appear. Now, when i use click_no_wait with the NEXT button it doesn't shows the Pop UP When i use Click with the NEXT button it holds coz now the pop up appears. Can anyone here please tell me how to proceed with the scenario. Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---