[wtr-general] customize xml generated by ci_reports

2009-07-15 Thread Marlon
Hi, anybody here knows how to customize xml report generated by ci_reports addon. I would like to add more attributes. Example, I want to add testsuite result PASS/FAIL /testsuite result. In addition to this I'm planning to create some kind of a dashboard in html form where i can select/check

[wtr-general] undefined method `{ENTER}' for #Watir::IE:0x3ee7b9c

2009-08-07 Thread Marlon
Can anyone help me with this error? I'm trying to press ENTER key focused on a text box. code: $ie.send({ENTER}) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email

[wtr-general] Re: undefined method `{ENTER}' for #Watir::IE:0x3ee7b9c

2009-08-07 Thread Marlon
Yes i already tried that, no error but its not pressing enter key. I'm still searching for the solution. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to

[wtr-general] How to run 2 different scripts at the same time?

2009-08-10 Thread Marlon
Hi, anyone here knows how to run multiple scripts at the same time? I wanted run for example 2 different scripts concurrently, Thanks in advance --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group.

[wtr-general] Re: How to run 2 different scripts at the same time?

2009-08-10 Thread Marlon
for example: require 'thread' require 'watir' class search def test_google ie = Watir::IE.start('http://www.google.com') ie.text_field(:name, q).set(pickaxe) ie.button(:value, Google Search).click ie.close end def test_yahoo ie =

[wtr-general] malformed XML: missing tag start error

2009-08-13 Thread Marlon
Hi, who among you guys experience this kind of error? Sometimes my script is working, sometimes its not. Is there a workaround for this? Is this a problem with the site? 1) Error: Testcasename(Testsuitename): REXML::ParseException: #REXML::ParseException: malformed XML: missing tag start Line:

[wtr-general] Re: Not able to run automatically a script automatically using rufus-scheduler

2009-08-13 Thread Marlon
Scheduler.new.start thanks! Marlon --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines

[wtr-general] WIN32OLERuntimeError: navigate when opening a new browser

2009-08-14 Thread Marlon
Hi, please help I'm getting an error when trying to open a new browser. class TSuite Test::Unit::TestCase def test_testcase1 $ie = Watir::IE.new end def test_testcase2 $ie = Watir::IE.new error here end def teardown $ie.close end end Error: WIN32OLERuntimeError:

[wtr-general] Re: WIN32OLERuntimeError: navigate when opening a new browser

2009-08-14 Thread Marlon
Problem solved. found the solution here: http://jira.openqa.org/browse/WTR-304 edited ie-class.rb with this: def close return unless exists? @closing = true @ie.stop wait chwnd = @ie.hwnd.to_i @ie.quit while Win32API.new(user32,IsWindow, 'L', 'L').Call(chwnd) == 1 sleep 0.3

[wtr-general] How to get all links inside an object

2009-08-14 Thread Marlon
Hi, I just want to ask how can I get all the links inside an object (ex. table) using ie.links? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to

[wtr-general] Re: How to get all links inside an object

2009-08-17 Thread Marlon
Hi George, Thanks! What if its a div? Marlon --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read

[wtr-general] Re: How to get all links inside an object

2009-08-17 Thread Marlon
yup already tried it and it works great. thanks for your help --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting,

[wtr-general] Re: How do I get a URL parameter value

2009-08-18 Thread Marlon
Im getting an error retrieving src value which is https://url.com/ text.asp?p=xyzq=abc using attribute_value() code: $ie.frame(:index, 1).attribute_value(src) Error: NoMethodError: undefined method `attribute_value' for #Watir::Frame: 0xfdbec50 thanks

[wtr-general] Re: CI_reporter usage

2009-08-22 Thread Marlon
I hope this help http://groups.google.com/group/watir-general/browse_thread/thread/e9cffee895409b8f/0f3059936468445c?lnk=gstq=ci_reports+customize+xml+watir#0f3059936468445c Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[wtr-general] Re: customize xml generated by ci_reports

2009-08-31 Thread Marlon
Hi, how can I rename the filename of the xml created by ci_reporter? I need a repository and store the test results generated. ex. TEST- Class NameDate/Time.xml. Which part of the ci_reporter does the filenaming/file creation? Please help Thanks!

[wtr-general] How to get html meta details

2009-10-24 Thread Marlon
Hi please help how can I get/print the meta details for example in the code below, content title and name keywords I want to print title and keywords html head titletitle/title meta content=title name=keywords/ meta content=text/html; charset=iso-8859-1 http-equiv=Content- Type/ thanks!

[wtr-general] Re: How to get html meta details

2009-11-02 Thread Marlon
to be able to get first meta tag name attribute which is *keywords * many thanks again! Marlon --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general

[wtr-general] Re: How to get html meta details

2009-11-02 Thread Marlon
Hi Raveendran, I was able to get what I want. For now im going to use it. thanks lot for helping! marlon --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email

[wtr-general] Re: How to get html meta details

2009-11-03 Thread Marlon
, chandu.tennety chandu.tenn...@gmail.comwrote: Marlon, Your original code works for me: {Content-Type=text/html; charset=iso-8859-1, keywords=title} Chandu On Nov 2, 10:51 pm, Marlon marlonmoja...@gmail.com wrote: I found the part of the solution herehttp:// groups.google.com/group/watir-general

[wtr-general] clear/delete browser cookie on firewatir (ubuntu)

2009-11-05 Thread Marlon
Hi, How can I delete browser cookies on firewatir? thanks, Marlon --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before

[wtr-general] Re: gem update --system is disabled on Debian

2009-11-06 Thread Marlon
thanks karim, that the exact link that solved my problem $ wget http://rubyforge.org/frs/download.php/60718/rubygems-1.3.5.tgz $ tar xzf rubygems-1.3.5.tgz $ cd rubygems-1.3.5 $ sudo ruby setup.rb $ gem -v $ sudo gem install rails problem solved! thanks

[wtr-general] Re: Calling def cases into a Class

2009-11-14 Thread Marlon
:in `gem_original_require': no such file to load -- watir/contrib/Xls (LoadError) from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: 31:in `require' from C:/watir/experimental_proj/lib/ExampleHarness.rb:18 Where can I found the file? Do I need to gem install? please help Thanks Marlon

[wtr-general] Re: Calling def cases into a Class

2009-11-15 Thread Marlon
yes. that's what I did. thanks a lot. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following

[wtr-general] Using begin statement doesn't return the no. of failures and errors

2009-12-17 Thread Marlon
) Failure: test_print_assertion(TC_google_assert) [testbegin.rb:14]: false is not true. 1 tests, 1 assertions, 1 failures, 0 errors Exit code: 1 Can I get the no. of failures and errors using begin statement? Thanks -Marlon -- You received this message because you are subscribed

[wtr-general] Re: Using begin statement doesn't return the no. of failures and errors

2009-12-18 Thread Marlon
end builder.tag! system-err do builder.cdata! self.stderr end end end Thanks! -Marlon -- You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general

Re: [wtr-general] Re: Using begin statement doesn't return the no. of failures and errors

2009-12-21 Thread Marlon
Good Day Charley! Problem now solved. Thanks a lot for your help! -- You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines:

[wtr-general] Automating omniture tags

2010-06-09 Thread Marlon
Is there a way to automate omniture tags (ex. Load Events, Props, Evars)? I would like to check if it has the correct values. I notice that these are not present on the html source. Can get these values using Wasp or Omnibug Please help Thanks -Marlon -- Before posting, please read http

[wtr-general] Re: Automating omniture tags

2010-06-11 Thread Marlon
Ah ok, sorry I over looked this one, yes it is implemented using javascript Example: script type=text/javascript language=JavaScript s.pageName = Home Page; s.channel = Home Page; s.prop3 = Home Page; s.prop34 = No; s.eVar18 = No; /script Can you show me a sample script for checking this? --

[wtr-general] Re: customize xml generated by ci_reports

2009-07-22 Thread Marlon Mojares
Hi, I'm still encountering no such file to load -- ClassAttr (LoadError) where should I put the file ClassAttr.rb? I put it inside ci_reporter\lib\ci\reporter but the script was unable to find the file. This is my test script: require 'watir' require 'ci/reporter/rake/test_unit_loader.rb'

[wtr-general] Re: customize xml generated by ci_reports

2009-07-22 Thread Marlon Mojares
after doing that i now i have this error: c:/ruby/lib/ruby/gems/1.8/gems/ci_reporter-1.6.0/lib/ci/reporter/test_unit.rb:97:in `start_suite': uninitialized constant CI::Reporter::TestUnit::TestSuite (NameError) thanks --~--~-~--~~~---~--~~ You received this

[wtr-general] Re: customize xml generated by ci_reports

2009-07-23 Thread Marlon Mojares
Yeah its working now this is a good start. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the

[wtr-general] Re: customize xml generated by ci_reports

2009-07-24 Thread Marlon Mojares
, Marlon Mojares marlonmoja...@gmail.com wrote: Yeah its working now this is a good start. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir

[wtr-general] Re: Viewing CI_reporter XML output

2009-08-03 Thread Marlon Mojares
Dilan, When are you planning to setup your testsuites on Cruise control? Can you also share some info/tutorials/examples in case you already figure it out? I really need some help organize our test scripts. Thanks --~--~-~--~~~---~--~~ You received this

[wtr-general] How to setup watir (test scripts) on cruise control

2009-08-03 Thread Marlon Mojares
Guys, anybody here knows how to integrate watir test scripts on cruise control? Suggestions/comments will surely be appreciated. This is what I'm planning to do: Set up a dashboard (some short of a html) where I can: (1) Put our test cases where I can check/unchecked the test case i want to run

[wtr-general] Re: (Fire)Watir Code Generator?

2009-08-03 Thread Marlon Mojares
Is there a recorder that can record javascript popup? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please

[wtr-general] Re: How to judge the button or link exists in the page?

2009-08-07 Thread Marlon Mojares
I hope this helps *if link:* begin assert(ie.link(:name,Signout).exists?) puts login successfully rescue = e puts login failed + e.message + \n + e.backtrace.join(\n) end *if button:* begin assert(ie.button(:name,Signout).exists?) puts login successfully rescue = e puts

[wtr-general] Re: malformed XML: missing tag start error

2009-08-13 Thread Marlon Mojares
Problem solved! Just an issue on element locator used. Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting,