W are currently in the process of migrating a fairly large set of testcases
from Quicktest pro to Watir. The job also involves converting the objects
that Quicktest uses into an equivalent that Watir could use. We are using
Quicktests's descriptive programming model and Qantom.org's XML
Repository. We plan to be ready with a framework that will allow Watir
to use the XML repository by Mid-August time frame. Once ready, using
objects in Watir will be more managable. For example a script to search
for watir in google would be:
Repository("MainBrowser").goto "http://www.google.com"
Repository("google_search_edit").set "Watir"
Repository("google_search_btn").click
To take a quick look at how the XML Repository works for Quicktest(also
a sneak preview of what's coming up for Watir), please visit
http://qantom.shubharaghu.com/html/dor_parser.html
and read through the tutorials page.
Thanks
Raghu
Hue Mach Dieu wrote:
Dear ALL,
Does anyone have define all object in one file and these object
reference by other test cases like [QuickTest Pro] or [Silktest] object
repository
# ObjectRepository
require 'watir'
include Watir
@ie = IE.new
@obj_leftFrame = @ie.frame("leftframe")
@obj_btnSubmit = @ie.frame("rightframe").button(:name, "Submit")
I create test case
# testcase
..
@ie('http://localhost:8080')
...
@obj_btnSubmit.click
But it don't work
Thank you for help
_______________________________________________
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