[wtr-general] watir syntax for span class=LinkClassAvailability
I have been stuck for 2 days in this water using testwise tool I would like to know what should be the sysntax for span class=LinkClassAvailability in watir 2 2nd question how to use loops in testwise -- -- 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 --- You received this message because you are subscribed to the Google Groups Watir General group. To unsubscribe from this group and stop receiving emails from it, send an email to watir-general+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [wtr-general] watir syntax for span class=LinkClassAvailability
Hi Priti, @browser.span(:class='LinkClassAvailability') Thanks! - Joe Sent from my iPad On Dec 29, 2013, at 6:55 AM, Priti Fhuse pore.pr...@gmail.com wrote: I have been stuck for 2 days in this water using testwise tool I would like to know what should be the sysntax for span class=LinkClassAvailability in watir 2 2nd question how to use loops in testwise -- -- 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 --- You received this message because you are subscribed to the Google Groups Watir General group. To unsubscribe from this group and stop receiving emails from it, send an email to watir-general+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- -- 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 --- You received this message because you are subscribed to the Google Groups Watir General group. To unsubscribe from this group and stop receiving emails from it, send an email to watir-general+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [wtr-general] Re: watir, watir-webdriver, watir-classic: history and current state?
On Wed, Dec 25, 2013 at 6:18 PM, Jarmo Pertman jarm...@gmail.com wrote: It's more or less the same. +1 Željko -- -- 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 --- You received this message because you are subscribed to the Google Groups Watir General group. To unsubscribe from this group and stop receiving emails from it, send an email to watir-general+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [wtr-general] watir syntax for span class=LinkClassAvailability
Priti, I am not familiar with test wise but I think you would write the loop within Test 'm' do While End End Thanks! - Joe Fleck Sent from my iPad On Dec 30, 2013, at 10:02 AM, Joe Fleck joeflec...@gmail.com wrote: Hi Priti, @browser.span(:class='LinkClassAvailability') Thanks! - Joe Sent from my iPad On Dec 29, 2013, at 6:55 AM, Priti Fhuse pore.pr...@gmail.com wrote: I have been stuck for 2 days in this water using testwise tool I would like to know what should be the sysntax for span class=LinkClassAvailability in watir 2 2nd question how to use loops in testwise -- -- 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 --- You received this message because you are subscribed to the Google Groups Watir General group. To unsubscribe from this group and stop receiving emails from it, send an email to watir-general+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- -- 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 --- You received this message because you are subscribed to the Google Groups Watir General group. To unsubscribe from this group and stop receiving emails from it, send an email to watir-general+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- -- 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 --- You received this message because you are subscribed to the Google Groups Watir General group. To unsubscribe from this group and stop receiving emails from it, send an email to watir-general+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[wtr-general] Re: test is taking a long time in webdriver v classic
That might be what's causing the slow down. I'm just not sure how to speed up the test, because i do have to check each td to see that it has the correct setting. On Tuesday, December 24, 2013 12:49:26 AM UTC-8, Jarmo Pertman wrote: I have also noticed that as soon as you go down to table's row and cell levels (e.g using #td and #tr methods) then it becomes really, really, reaay slow when using webdriver. Not sure about the reason though. Maybe Jari can comment on that? Jarmo Pertman - IT does really matter - http://itreallymatters.net On Tuesday, December 24, 2013 1:46:01 AM UTC+2, hillary wrote: I have a test that takes upwards of 15 minutes or more to complete when running it in webdriver(ie, firefox, chrom) v classic for ie (which takes 35s). I'm using taza with turnip as the test framework, running on windows 7x64 bit with ruby 2.0. Most of the test runs at a fine speed, but the step of the test that bogs everything down is this loop (1..slots).each do |s| @site.slotting.slot_title(@variant_id, s).text.should eq s.to_s @site.slotting.slot_checkmark(@variant_id, s).should exist end This is how i defined those elements: element(:slot_title) {|variant_id,index| browser.div(:id, grid_Variant_#{variant_id}).div(:id, cpsess-#{variant_id}). table.tr.td(:index, 5).table.tr.td(:index, index).div(:index, 0)} element(:slot_checkmark) {|variant_id,index| browser.div(:id, grid_Variant_#{variant_id}).div(:id, cpsess-#{variant_id}). table.tr.td(:index, 5).table.tr.td(:index, index).div(:index, 1).image(:src, /checkmark.png/)} I currently have to use indexes because it is not fesable to ask for ids for each tr/td element at this time. So i'm wondering two things: 1. Why is the following loop significantly slower in watir-webdriver? 2. Is there a better way to write this validation. I'm trying to validate that all of the Columns in the highlighted section of the attached screenshot have a checkmark underneath the number. -- -- 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 --- You received this message because you are subscribed to the Google Groups Watir General group. To unsubscribe from this group and stop receiving emails from it, send an email to watir-general+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.