please help me if anybody tried with the watir wiki's
DataDrivenTestHarnessExample - "Picklist" speadsheet data fetching from
TestData.xls
I have the data in Testdata.xls as the following:
*Project* *Run* Project1 Yes
*Module* *Run* Module1 Yes Module2 Yes Module3 Yes Module4 No
What could be the watir code, any clues? if wants to run tests where the Run
= Yes irrespective of Project name or ModuleName. My script should pick the
Cell data from Project or Module columns to RUN tests if it is Yes.
I tried like this...but could not succeed.
--------------------------------------
begin
xlFile = XLS.new("Dir.pwd + '../TestData.xls")
$Runtests = xlFile.getRowRecords("A1:B5", "Sheet1")
ensure
xlFile.close
end
$runTests.each do |record|
-----------------------------------------
please help...any thoughts..
thanks,
-venky
--
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To post to this group, send email to [email protected]
Before posting, please read the following guidelines:
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/watir-general