CI_reporter usage

D

Dheeraj Gambhir

Hi,

I have:
ruby 1.8
watir 1.6.2
ci_reporter-1.6.0

Can any body provide a link or example of how to start the use of
ci_reporter in my script.

Say for a simple script like:

require 'watir'
require 'rubygems'
require 'win32ole'
ie = Watir::IE.new
autoit = WIN32OLE.new('AutoItX3.Control')
ie.goto('http://testurl')
assert(ie.link:)text, 'About Test').exists?)
ie.text_field:)name,"text1").set("Test")
ie.button:)name,"submit").click_no_wait
autoit.WinWaitActive("[Class:#32770]")
text = autoit.ControlGetText("[Class:#32770]", "", "Static2")
autoit.ControlClick("[Class:#32770]","","Button1")
puts text


Thanks in advance.


Regards
D G
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top