Hello Navneesh,
would You be nice if You could start a new topic for each new
discussion! Please don´t just answer to an old mail an change the topic!
If a mail-program shows the discussion as threads Your behaviour isn´t
very nice. Your mail is then shown as answer to "Re: [Wtr-general] Wait
functionality in Watir ..need help"
Thank You!
Kind Regards,
Christian
Navneesh Garg schrieb:
Hi,
I am pretty new to WET and Watir. I have extensive automation
experience in QTP and WinRunner where I created frameworks to make
automation experience more maintainable and less time consuming
I have created couple of automation scripts using WET (which is of
course quick along with other feature benefits). Creating in Watir
of-course takes time .But looking at framework perspective where we have
1. External Object Repository
2. Use External datafiles
3. Reporting in Excel
4. Batch running of scripts
5. Function Library creation
In the long-run what should have more benefit (taking into
consideration WET might be unstable and there might be some subjective
limitations) Watir or WET for framework creation. If anything of this
already exists or have been created that would be really helpful.
Regards
Navneesh Garg
Sr. Technical Consultant
CresTech Software Systems
Noida
------------------------------------------------------------------------
*From:* [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] *On Behalf Of *Željko Filipin
*Sent:* Thursday, December 21, 2006 2:54 PM
*To:* [email protected]
*Subject:* Re: [Wtr-general] Wait functionality in Watir ..need help
On 12/20/06, *Bret Pettichord* <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
Željko Filipin wrote:
> while true
> break unless ie.text.include?("loading")
> sleep 1
> end
This is a more concise way of doing the same thing:
while (ie.text.include? 'loading') {sleep 1}
I knew that there had to be a way to do it in a more elegant way, but
this is even more elegant that I expected! Almost as good as
5.times { print "Chunky bacon!" }
:)
--
Zeljko Filipin
zeljkofilipin.com <http://zeljkofilipin.com>
------------------------------------------------------------------------
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general