[wtr-general] Re: Measure download time of a file using watir

2010-02-11 Thread Maumita
scripts exist when the file starts downloading. Please help on this.This is urgent for my project to measure the file download time. Is there any other way to do this? Thanks in advance Maumita On Feb 11, 2:14 am, orde ohil...@gmail.com wrote: I've used solution #2 onhttp://wiki.openqa.org/display

[wtr-general] Not able to tun .rb script through rufus scheduler

2009-09-17 Thread Maumita
'dportal_monitor_Prod.rb' But not succeeded. I have installed rufus-scheduler-2.0.1 gem installer. Please help. Thanks Maumita --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir

[wtr-general] how to verify whether image is loaded or not?

2009-09-15 Thread Maumita
= prodName.substring(0,52) + '...'; product.productName = prodName; product.description = description; Thanks Maumita --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post

[wtr-general] How to run a .rb file from .bat.

2009-09-07 Thread Maumita
Hi, How to run a .rb file from .bat. Please guide me. Thanks Maumita --~--~-~--~~~---~--~~ 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

[wtr-general] To log watir output Is there any way to create the directory automatically from the script to store the results

2009-09-07 Thread Maumita
file time = Time.now.strftime(%Y-%m-%d) logfile = File.join('d:/ruby/log', DportalMonitor_#{time}.csv) $log = Logger.new(logfile,'daily') $log.level = Logger::INFO $log.datetime_format = %Y-%m-%d %H:%M:%S $log.info(Started.) Thanks Maumita --~--~-~--~~~---~--~~ You

[wtr-general] Is there anyway to log watir results output in a directory that has been created from the script.

2009-09-07 Thread Maumita
the same scripr run second time, if it founds the directory is there then it will log the results in the same file. Please help how can I do this in watir script. Thanks Maumita --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[wtr-general] Not able to enter login credentials in Sign In section

2009-08-26 Thread Maumita
-1.8.6-p111/sample/ DriverCentral_Scripts/test/t.rb:11 --- Please help how can I enter login credentials in Sign In section. Thanks Maumita --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post

[wtr-general] Re: How can I add loop to check whether all the images of a page has loaded or not?

2009-08-21 Thread Maumita
Maumita On Aug 20, 10:00 pm, Bill Agee billa...@gmail.com wrote: According to the rdoc for the wait_until method, you can provide your own timeout value: http://wtr.rubyforge.org/rdoc/classes/Watir/Waiter.html So maybe something like this will work for you: wait_until(360, 1) { BLOCK

[wtr-general] How can I add loop to check whether all the images of a page has loaded or not?

2009-08-20 Thread Maumita
and visible.How can I add loop here to check all the images are loaded or not? $log.info( 'Time taken to load Products page' ) $log.info($ie.down_load_time.to_s) $log.info($ie.images.length) Thanks Maumita --~--~-~--~~~---~--~~ You received this message

[wtr-general] Re: How can I add loop to check whether all the images of a page has loaded or not?

2009-08-20 Thread Maumita
I have read the topics mentioned by you. I already have used the wait_until method..but after 60 secs I got the time out error. And my webpage within the time perioed is not able to display the product images on UI. The product images to display on UI is taking time.Some time it takes 5

[wtr-general] How to delete cookies in Firefox through firewatir script?

2009-08-17 Thread Maumita
Hi, How to delete cookies in Firefox through firewatir script? Thanks Maumita --~--~-~--~~~---~--~~ 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

[wtr-general] Is there anyway to wait until all images of a page is not loaded properly.

2009-08-17 Thread Maumita
scripts will not stop after the 1st Done. It will wait until all the images is not loaded. I checked the same behavior with website like -Amazon. I can't use sleep()..because it will not work always if network connection is very slow. This is urgent.Please help. Thanks Maumita

[wtr-general] Not able to run automatically a script automatically using rufus-scheduler

2009-08-13 Thread Maumita
`ruby test1.rb` end scheduler.join end end Running test1.rb at the command line pops up an instance of IE,log in to the application,search a keyword and log out from application. How to run this script? Is there anything I am missing? Please help. Thanks Maumita

[wtr-general] Re: user experience response time script.

2009-08-12 Thread Maumita
Thanks a lot for the quick help.. It works for me.. Also, I will definitely use Jmeter for performace Thanks Maumita On Aug 11, 7:01 pm, Felipe Knorr Kuhn fkn...@gmail.com wrote: Hello Maumita, As Tony said, you should probably stick to JMeter. But, if you really want to do that quickly

[wtr-general] Is there any way to run a watir script automatically in every hour.

2009-08-12 Thread Maumita
:- 1. One thing I observed that for case2, some time the script return the page load time before finishing the image loading. How can I solve this problem? 2. Is there any way to run a watir script automatically in every hour. Its urgent for my project related task. Thanks in advance. Maumita

[wtr-general] undefined method `length' for nil:NilClass

2009-08-11 Thread Maumita
Hi all I have written a script, in which from an excel file a value will get enter in the text field ie.text_field(:name, productName).set $worksheet.Range(a#{i}).value My script: require 'watir' include Watir $excel_path = D:/Data/dportalTestScripts/Product.xlsx $sheet_id = 1

[wtr-general] Re: undefined method `length' for nil:NilClass

2009-08-11 Thread Maumita
, Create Product).click i = 1 until i 3 ie.text_field(:name, productName).set $worksheet.Range(a# {i}).value ie.button(:name, submit_btn).click if i == 3 break end i+=1 end Thanks Maumita On Aug 11, 3:41 pm, John Kolokotronis johnj...@gmail.com wrote: The local

[wtr-general] user experience response time script.

2009-08-11 Thread Maumita
to capture the response time of the page to load. Is this possible in watir. Its urgent Thanks Maumita --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir

[wtr-general] Using watir can we check performance of an application

2009-07-08 Thread Maumita
some search for products to buy. Please help on this. This is an urgent requirement for my project. Thanks Maumita --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send

[wtr-general] Re: How to display row,clolumn values of a table

2009-06-29 Thread Maumita
'; var id = '1_INSTALLATION_totalPrice'; document.getElementById (id).innerHTML=Number(q)*Number(p); /script /td /tr /table Thanks Maumita On Jun 29, 2:23 pm, Ye Jian

[wtr-general] How to check if a button is enabled or disabled

2009-06-25 Thread Maumita
Hi, Is this pissible in watir to check if a button is enabled or disabled? If yes..please guide me how? Thanks Maumita --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group

[wtr-general] Re: How to click on Ok of a pop-up message window

2009-06-24 Thread Maumita
).click $ie.text_field(:name, productName).set('Test') $ie.text_field(:name, description).set('Test1') $ie.button(:name, submit_btn).click check_for_popups(Microsoft Internet Explorer, OK) Thanks Maumita On Jun 23, 9:14 pm, orde ohil...@gmail.com wrote: Check these pages out: http

[wtr-general] Re: How to click on Ok of a pop-up message window

2009-06-24 Thread Maumita
Thanks for the help.It solves my problem On Jun 24, 2:56 pm, Ye Jian j...@cn.ufinity.com wrote: change $ie.button(:name, submit_btn).click to $ie.button(:name, submit_btn).click_no_wait and try again. -Camael 发件人: Maumita 发送时间: 2009-06-24  17:50:06 收件人: Watir General 抄送: 主题: [wtr

[wtr-general] How I can verify whether all the images of a web page have been loaded or not?

2009-05-28 Thread Maumita
. Please this is an urgent requirement for my project. Waiting for solution. Thanks Maumita --~--~-~--~~~---~--~~ 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