[wtr-general] Re: Basic information Needed for WATIR 1.9.1

2011-07-06 Thread Danijel
Hi Mahi, You can find good information about watir in google. Here are importmant web sites worth reading: - http://watir.com/ - http://watir.com/installation/ - http://wiki.openqa.org/display/WTR/Tutorial U can use Windows or Mac, it depend on you. I currently use Windows. There is no

[wtr-general] Re: How to make the scripts more effective at slow connection?

2011-06-27 Thread Danijel
Hi Amit, Like said joedio, you need to add when you are loading new pages, every page has it's own recognizing element, until this element is present then wait, after finding element you can continiue with test execution. it's same for AJAX. br,Dani -- Before posting, please read

[wtr-general] Re: How to generate the test results?

2011-05-20 Thread Danijel
Hi, It is possbile. You can can prepare data create XML file and export into some application which will display graph of your execution and history of execution. At first you have to create Global variables such as: testcasename userstoriy idtestcase description, starttime, endtime, ..

[wtr-general] Re: Handling alert box with Watir

2011-05-18 Thread Danijel
Hi Mani Try to read http://wiki.openqa.org/display/WTR/Pop+Ups; this link, and you will which popup and code you should use. I hope i help. If it still not clear , please give more information about alert popup window. br,Dani On May 17, 2:55 pm, Mani1248 stallonespec...@gmail.com wrote: Hi

[wtr-general] Re: Need support in using POST method in RUBY

2011-03-03 Thread Danijel
Hi, in that way you can use solex by eclipse or similar tools, which is checking a http traffic fom you page br,Dani On 2 mar., 07:22, Ashu ashay.n...@gmail.com wrote: Hi, I am making use of POST method to trace and element in a PHP file which needs to be automated. While trying to locate

[wtr-general] Re: Need support in using POST method in RUBY

2011-03-03 Thread Danijel
In one way you can use watir-selenium , they have function Selenium for Java [java] Checking network traffic, https://mail.google.com/mail/?shva=1#inbox/12e77a83a1360d2d you can read there about session data. br,Dani On 2 mar., 07:22, Ashu ashay.n...@gmail.com wrote: Hi, I am making use of

[wtr-general] Re: using Watirgrid on unit test cases

2010-11-19 Thread Danijel
A # validate status is NOT found in the news feed for user C end end It seems to me like it is a tool for use cases that require multiple actors. Do you have a use case like that? Thanks, Dave On Nov 10, 2:12 am, Danijel danijel.vuko...@gmail.com wrote: Hi, I haved created a lot of unit

[wtr-general] Re: using Watirgrid on unit test cases

2010-11-19 Thread Danijel
. Do you have a use case like that? Thanks, Dave On Nov 10, 2:12 am, Danijel danijel.vuko...@gmail.com wrote: Hi, I haved created a lot of unit test case in watir for IE. I would like to use watirgrid to execute parallel test on multiple browser. Can you please advise me how

[wtr-general] Ms Sql reports -changin zoom of page nothing happend

2010-11-18 Thread Danijel
Hi, I'm testing page created with MS sql reports. I have a dropdwon zoom with vaules 10,50,100,150,200,500 [10,50,100,150,200,500].each do |zoom| $ie.select_list(:id, ctl00_ContentMain_ReportViewer1_ctl01_ctl05_ctl00).set(zoom) end thi si control from web page: select

[wtr-general] Re: Ms Sql reports -changin zoom of page nothing happend

2010-11-17 Thread Danijel
i did not manualy refresh the page, when i use click! works great and watir did not change for loading page. I hope i hive a good information On 16 nov., 15:37, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Tue, Nov 16, 2010 at 3:32 PM, Danijel danijel.vuko...@gmail.com wrote

[wtr-general] Re: Ms Sql reports -changin zoom of page nothing happend

2010-11-17 Thread Danijel
: 2010/11/17 Danijel danijel.vuko...@gmail.com $ie.select_list(:id, ctl00_ContentMain_ReportViewer1_ctl01_ctl03_ctl00).set(zoom)                puts stisnuo                $ie.select_list(:id, ctl00_ContentMain_ReportViewer1_ctl01_ctl03_ctl00).fire_event('onchange') and naver came to line

[wtr-general] Re: Ms Sql reports -changin zoom of page nothing happend

2010-11-17 Thread Danijel
we can hear us on skype in slovenian /croatian skype name: danijel_vukovic On 18 nov., 07:58, Danijel danijel.vuko...@gmail.com wrote: This page is not public,sorry. It works as you described.  On normal page works fine but on page created from MS sqL reports doest work. If i click on buton

[wtr-general] Re: Locating parent element

2010-11-16 Thread Danijel
Yes i found a soluiton with Xpath: $ie.table(:xpath,//div/h4/div[contains(text(),'ti podaci')]/ parent::*/following-sibling::*/child::table)[1][2].text and i get correct data fom table. br,Dani On 15 nov., 16:37, Danijel danijel.vuko...@gmail.com wrote: Hy, I have to problem find a parent

[wtr-general] using Watirgrid on unit test cases

2010-11-10 Thread Danijel
Hi, I haved created a lot of unit test case in watir for IE. I would like to use watirgrid to execute parallel test on multiple browser. Can you please advise me how to integrate watirgrid into existing test cases. class SMOKE_TEST Test::Unit::TestCase def setup # start IE end def teardown #

[wtr-general] Re: Watir 1.6.6 final released

2010-10-07 Thread Danijel
Thanks a lot and great work, Watir works faster and more reliable Dani -- 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] Re: Get Xpath of Element

2010-09-24 Thread Danijel
it by opening IE and then pressing F12 For Firefox: Firebug :https://addons.mozilla.org/en-US/firefox/addon/1843/ XPather :http://xpath.alephzarro.com/ Thanks, AngrezOn Thu, Sep 23, 2010 at 2:27 PM, Danijel danijel.vuko...@gmail.com wrote: my probelm is tajt this element : table  tr    td

[wtr-general] Get Xpath of Element

2010-09-22 Thread Danijel
Hi, I'm searching for elements for specified text. When i found this text- element i should get Xpath of this element to locate anoher element filled with Document Id . Is any possibility xpath of element? Thanks for your answers br, Dani -- Before posting, please read

[wtr-general] Re: Watir and Micorosft Server reports

2010-06-24 Thread Danijel
is stopped on this place: puts $ie.div(:xpath,'//div[1]/table/tbody/tr[4]/td[2]/table/tbody/ tr[3]/td[2]/div').text text is writen in cmd window and nothing is happening. On 23 jun., 15:36, Željko Filipin zeljko.fili...@wa-research.ch wrote: 2010/6/23 Danijel danijel.vuko...@gmail.com Yes i do

[wtr-general] Re: Watir and Micorosft Server reports

2010-06-24 Thread Danijel
wrote: On Thu, Jun 24, 2010 at 11:04 AM, Danijel danijel.vuko...@gmail.com wrote: The problem test case is stoped  and is not comming out of fuction, that why i have to stop it with Ctr+c and i get message: I think I understand the problem now. Watir opens a page in Internet Explorer

[wtr-general] Re: Watir and Micorosft Server reports

2010-06-24 Thread Danijel
Page is secured page, when i start test in FF test should set a temporary certificate, how do i avoid this adding certificate. Dani On 24 jun., 13:08, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Thu, Jun 24, 2010 at 1:03 PM, Danijel danijel.vuko...@gmail.com wrote: I will try

[wtr-general] Re: Watir and Micorosft Server reports

2010-06-24 Thread Danijel
When watir was waiting for page to load i clicked on one + and page was refreshed in IE, watir recognized that page is load and stop test case correctly. Dani On 24 jun., 13:55, Danijel danijel.vuko...@gmail.com wrote: I tried with chrome , bt testcase didn't work, i have to change tc

[wtr-general] Re: Watir and Micorosft Server reports

2010-06-21 Thread Danijel
How do i tell Ruby to stop test case and start with tearDown? Does anyone have experiances with testing web pages created with Microsoft sql report? br, Dani On 10 jun., 10:53, Danijel danijel.vuko...@gmail.com wrote: I'm doing on pages, which are created by Microsoft SQL Report and i have

[wtr-general] Watir and Micorosft Server reports

2010-06-10 Thread Danijel
I'm doing on pages, which are created by Microsoft SQL Report and i have problems with then when i use watir i have this code, and i made work around, but still is not working properly $ie.link(:url, 'https://' + $server + '/Pages/Reports/ CrooView2.aspx').click $ie.text_field(:id,