[wtr-general] Re: Handling popups using watir

2009-04-08 Thread spike
I'm really sorry, i've tried many things in the code but couldn get a solution from past 3 days. I've stuck in handling this popups. so please dont mind, i apologise for it. On Apr 9, 11:14 am, George wrote: > What about this neat little script? > > ie = Watir::IE.attach(/Watir General/) > ie.te

[wtr-general] Re: How to handle popup confirm window in Ubuntu firefox3.0 with Firewatir-1.6.2

2009-04-08 Thread ajee
Hey Angrez, I tried, unfortunately, still failed. I wonder if we are using different system, as titled, I am in Ubuntu, with FF3, jssh0.9. Is any suggestion for me? or can you tell the internals between firewatir and jssh and how to debug, since I can build jssh plugin from source code, so I can

[wtr-general] Re: Error in handling popup

2009-04-08 Thread spike
Yes i've used the click() method. On Apr 9, 11:09 am, kiran yajamanyam wrote: > Now I got the problem you are facing. I think in your code u would have used > click() method just before the code to handle popup. If this is the case , > script would not be coming out of click() method and go to n

[wtr-general] Re: Handling popups using watir

2009-04-08 Thread George
What about this neat little script? ie = Watir::IE.attach(/Watir General/) ie.text_field(:name, "q").set "popups" ie.button(:name, "qt_g").click Seriously, though...part of the learning process is doing the research. You can't expect that an entirely new set of Watir users are going to magical

[wtr-general] Re: firewatir, xpath and GL

2009-04-08 Thread Angrez Singh
Is this the code that is rendered to the browser? Never worked with open GL just curious. - Angrez On Thu, Apr 9, 2009 at 1:55 AM, Jeremy Mordkoff wrote: > Our app uses GL. Here’s a snippet of a page source: > > > > > > > > > > > > > > http://www.w3.org/1999/xhtml"; xmlns=" > http://www.mo

[wtr-general] Re: Error in handling popup

2009-04-08 Thread kiran yajamanyam
Now I got the problem you are facing. I think in your code u would have used click() method just before the code to handle popup. If this is the case , script would not be coming out of click() method and go to next step. This happens in a case when when used click method and if a popup appears aft

[wtr-general] Re: How to handle popup confirm window in Ubuntu firefox3.0 with Firewatir-1.6.2

2009-04-08 Thread Angrez Singh
Hi, Thanks for the code. I checked it here with the same configuration i.e. same text it works. Can you try just clicking the "ok" button like this: ff.startClicker("ok") - Angrez ff.startClicker("ok",1,'',"The configuration on this page will resetall the > active connections, are you sure to s

[wtr-general] Re: Error in handling popup

2009-04-08 Thread spike
Sorry sir even it is not working i've to click it manually to go further in my test. wat about this autoit i've installed autoit-v3 how is it related to watir..? On Apr 9, 10:43 am, kiran yajamanyam wrote: > make sure that ur caption is same (Including caps) and if > autoit.Send({'enter'}) is n

[wtr-general] Re: Handling popups using watir

2009-04-08 Thread spike
ya but the solutions are not working for me. On Apr 9, 10:35 am, George wrote: > Didn't you just make a thread about this? > > On Apr 8, 9:23 pm, spike wrote: > > > > > Hi > > > Can somebody please help me with handling popups using Watir i'm stuck > > with this. I tried many suggestions but it

[wtr-general] Re: Error in handling popup

2009-04-08 Thread spike
use "space" i didnt get this..one On Apr 9, 10:48 am, kiran yajamanyam wrote: > You should use the caption only. Means "Windows Internet Explorer" only. Use > "space" than "enter" > > > > On Thu, Apr 9, 2009 at 11:16 AM, spike wrote: > > > i didnt get u > > the popup window title is "Windows I

[wtr-general] Re: Regex question

2009-04-08 Thread vladimir...@hotmail.com
Thank you, ANu. It works. On Apr 8, 6:40 pm, ANu Gangavaram wrote: > When using regular expression with a variable, the syntax is /#{str}/ > > On Wed, Apr 8, 2009 at 9:30 PM, vladimir...@hotmail.com < > > > > vladimir...@hotmail.com> wrote: > > > I have a string > > obj_url = "http://crisp.adoc.

[wtr-general] Re: Error in handling popup

2009-04-08 Thread kiran yajamanyam
You should use the caption only. Means "Windows Internet Explorer" only. Use "space" than "enter" On Thu, Apr 9, 2009 at 11:16 AM, spike wrote: > > i didnt get u > the popup window title is "Windows Internet Explorer" and the msg > displayed in it is File Uploaded Successfully" > which one shoul

[wtr-general] Re: Error in handling popup

2009-04-08 Thread spike
sorry chat is disabled in my company... On Apr 9, 10:38 am, kiran yajamanyam wrote: > You have to give the exact caption of the window which is appearing as > popup. In your case that caption of the pop up is "FILE > UPLOADED SUCCESSFULLY" try this code: > > autoit = WIN32OLE.new('AutoItX3.Contr

[wtr-general] Re: Error in handling popup

2009-04-08 Thread spike
i didnt get u the popup window title is "Windows Internet Explorer" and the msg displayed in it is File Uploaded Successfully" which one should i use inthe code.. On Apr 9, 10:38 am, kiran yajamanyam wrote: > You have to give the exact caption of the window which is appearing as > popup. In your

[wtr-general] Re: Error in handling popup

2009-04-08 Thread kiran yajamanyam
make sure that ur caption is same (Including caps) and if autoit.Send({'enter'}) is not working try with autoit.Send({'space'}) On Thu, Apr 9, 2009 at 11:10 AM, spike wrote: > > if i'm clicking the "OK" button manually its going further to do rest > of the operations or els its hung with the po

[wtr-general] Re: Error in handling popup

2009-04-08 Thread spike
if i'm clicking the "OK" button manually its going further to do rest of the operations or els its hung with the popup On Apr 9, 10:38 am, kiran yajamanyam wrote: > You have to give the exact caption of the window which is appearing as > popup. In your case that caption of the pop up is "FILE >

[wtr-general] Re: Error in handling popup

2009-04-08 Thread kiran yajamanyam
You have to give the exact caption of the window which is appearing as popup. In your case that caption of the pop up is "FILE UPLOADED SUCCESSFULLY" try this code: autoit = WIN32OLE.new('AutoItX3.Control') Opt("WinTitleMatchMode", 3) autoit.WinWait('FILE UPLOADED SUCCESSFULLY', '', 2) autoit

[wtr-general] Re: Handling popups using watir

2009-04-08 Thread George
Didn't you just make a thread about this? On Apr 8, 9:23 pm, spike wrote: > Hi > > Can somebody please help me with handling popups using Watir i'm stuck > with this. I tried many suggestions but it didnt help me. > > I'm working on Windows XP and Internet Explorer 7. > somebody suggested me to

[wtr-general] Re: Error in handling popup

2009-04-08 Thread spike
Ya it still didnt work for me Test Scenario I'm running on windows platform with IE7 I've to upload a file to the application i'm testing. to do that i'm login to the application and navigating to the respective page where i've to upload the file. I'm able to upload the file, upon successfully u

[wtr-general] Re: Error in handling popup

2009-04-08 Thread kiran yajamanyam
missed this piece of code require 'win32ole' still if it wont work just comment out Opt("WinTitleMatchMode", 3) code and try. If still it wont work please send me the scenario u are testing i will try and give u the code. Regards, Kiran Y On Thu, Apr 9, 2009 at 9:26 AM, spike wrote: > > I

[wtr-general] Handling popups using watir

2009-04-08 Thread spike
Hi Can somebody please help me with handling popups using Watir i'm stuck with this. I tried many suggestions but it didnt help me. I'm working on Windows XP and Internet Explorer 7. somebody suggested me to install autoIt for handling popups so i've installed autoIT-v3 also. please please.. he

[wtr-general] Re: Error in handling popup

2009-04-08 Thread spike
I used this code but i'm getting the following error 1) Error: test_manage_resources(Manageresources): NoMethodError: undefined method `Opt' for # manageresource.rb:25:in `test_manage_resources' so please suggest some solution... On Apr 9, 8:40 am, kiran yajamanyam wrote: > hi, > > handle

[wtr-general] Re: Error in handling popup

2009-04-08 Thread spike
Hi thanks for the reply, i've installed autoIT-v3 software but its not working. On Apr 9, 8:40 am, kiran yajamanyam wrote: > hi, > > handle the popup window using autoit. > install autoit software. and use the followinf code > > autoit = WIN32OLE.new('AutoItX3.Control') >     Opt("WinTitleMatch

[wtr-general] Re: Error in handling popup

2009-04-08 Thread kiran yajamanyam
hi, handle the popup window using autoit. install autoit software. and use the followinf code autoit = WIN32OLE.new('AutoItX3.Control') Opt("WinTitleMatchMode", 3) autoit.WinWait('Windows Internet Explorer', '', 2) autoit.WinActivate('Windows Internet Explorer') autoit.Send('{enter}') This

[wtr-general] Re: Error in handling popup

2009-04-08 Thread spike
Hi Thnaks for the reply but it isnt working for me. On Apr 8, 9:24 pm, George wrote: > I grabbed this code from somebody here...this may work (you'll need to > install AutoIt): > > # Create a file clicker.rb > require 'win32ole' > > begin >   autoit = WIN32OLE.new('AutoItX3.Control') > >   loop

[wtr-general] Re: Error in handling popup

2009-04-08 Thread spike
Thanks sir, the error which i was getting was removed but the script does not handle popups, so please suggest me a script for handling popups. On Apr 8, 8:03 pm, Jim Matthews wrote: > spike, > > The only thing I see right off is that you have: > > wsh WIN32OLE.new('Wscript.Shell') > > My guess

[wtr-general] firewatir, xpath and GL

2009-04-08 Thread Jeremy Mordkoff
Our app uses GL. Here's a snippet of a page source: http://www.w3.org/1999/xhtml"; xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"; zv_minimal_toolbar="true"> How do I go about accessing these ob

[wtr-general] Go on performance test using script.

2009-04-08 Thread Wesley Chen
Hi, All, I have heard that, we can go on performance test, such as load/stress test by script. So I would like to study one script language for it. I think in this great Watir general group, there are many testers going on performance testing. Any of you do the performance testing by manual script

[wtr-general] Re: Regex question

2009-04-08 Thread ANu Gangavaram
When using regular expression with a variable, the syntax is /#{str}/ On Wed, Apr 8, 2009 at 9:30 PM, vladimir...@hotmail.com < vladimir...@hotmail.com> wrote: > > I have a string > obj_url = "http://crisp.adoc.xerox.com:8080/docushare/dsweb/Get/ > Document-77/" > and need to extract 77. > > This

[wtr-general] Regex question

2009-04-08 Thread vladimir...@hotmail.com
I have a string obj_url = "http://crisp.adoc.xerox.com:8080/docushare/dsweb/Get/ Document-77/" and need to extract 77. This code works perfect: handle = /.*Document-(.*)\//.match( obj_url ) puts handle[ 1 ] # returns 77 but this code does not work: obj_type = "Document" str = '.*' + obj_type +'-

[wtr-general] Re: Can I get the content in the boolean left and right value??

2009-04-08 Thread Wesley Chen
Hi, Chuck, :), to be honest, in my current code, I have the same approach as you have used before. In the approach, I can abandon the verify or assert completely. I think it is not good enough. Maybe I have to spend some time on Watircraft. Maybe I can make my frame easier, :). Thanks. Wesley Ch

[wtr-general] Posting invalid form data with Watir

2009-04-08 Thread Paul Denize
In previous versions of watir I used to send 11 characters to a field that had a maxlimit of 10. This would ensure the server also checked the parameter and did something sensible (truncate or error message). The newer version seems a bit "safer" and ie.text_field (:index,1).set ("01234567890")

[wtr-general] Re: Difference between fire_event("click") and element.click

2009-04-08 Thread Chuck van der Linden
On Apr 8, 5:26 am, Jarmo Pertman wrote: > As I understand, then onfocus event is require prior clicking > something? So for example, if uses clicks with mouse, then onfocus > event is triggered before actual click? I don't belive it's 'required' or the .click method would not work at all, and f

[wtr-general] Re: uninitialized constant Windows::API::Error (NameError)

2009-04-08 Thread marekj
Had the same issue on Windows XP test machine here when upgrading framework to use watir 1.6.2 and Ruby 1.8.6-26 We had windows-pr-0.9.6.gem installed with watir 1.6.2 I upgraded to following gems and it's fine windows-pr-1.0.2 windows-api-0.3.0.gem win32-api-1.4.0-x86-mswin32-60.gem fyi: We mai

[wtr-general] Host our next Intro to Watir class?

2009-04-08 Thread Pete Dignan
On April 16 and 17, Bret will be teaching Intro to Watir in the Portland, OR area. We were able to do this thanks to Keith Hamilton and the good people at Transcore, who offered to host the class at their facility. We'd like to hold our next public class soon - in May, or June at the latest - so

[wtr-general] Re: Organization and execution of test cases.

2009-04-08 Thread James
Thank you everyone for your comments. I've gotten watircraft working for me quite well, especially now that new documentation for it has been posted. I don't mind short answers to my questions, as long as people don't mind me asking following up questions if I don't understand what something is.

[wtr-general] Re: Basic Watir Help

2009-04-08 Thread Chuck van der Linden
We have to pick our battles.. Sounds like you've thought this one through and I can't say I'd not make the exact same choice to just 'live with it' given what you've described as being the situation. Especially if this is old and established code that as you say is not likely to change (sometimes

[wtr-general] Re: Organization and execution of test cases.

2009-04-08 Thread Chuck van der Linden
On Apr 7, 11:29 am, Bret Pettichord wrote: > Calm down. The original poster asked "what do people use". > > People should be able to share what they are using, when asked, without > being obliged to provide a tutorial. I am calm. Although I should have phrased that better. I can see how it migh

[wtr-general] Re: Can I get the content in the boolean left and right value??

2009-04-08 Thread Chuck van der Linden
As the others have indicated you need to pass the values into the method, and then do the equivalency test once you are inside. I defined something like this to do validations for some of my early scripts where I didn't like using assert or should because they would stop, and I wanted to run the

[wtr-general] Re: Tooltip text with overlib

2009-04-08 Thread Chuck van der Linden
I can see where the html might have identical format, but if it's completely identical I don't understand how it would work, unless it was inside some other container (like a div) that was different.. might be easier if you showed us more of the html, so we could see like 2 or 3 of these things d

[wtr-general] Re: Are there IE Settings that can cause Watir to fail?

2009-04-08 Thread Chuck van der Linden
What OS are you on? is there more than one open IE window on your system or does a second window open when you run the tests? Environments with 'high security' browser stipulations (vista, server 2008) will not allow a browser to have sessions open within it from different security zones. I can

[wtr-general] Re: Are there IE Settings that can cause Watir to fail?

2009-04-08 Thread andrew . dahl
Here is a code snippet. logon_page.top_frame.contains_text('some text').should_not be_nil in logon_page.rb I have def logon_frame @browser.frame(:id, 'top_frame') end alias :top_frame :logon_frame and I gaurantee that there is a frame with id = 'top_frame' Fails with e

[wtr-general] Re: click link in out of focus

2009-04-08 Thread orde
Perhaps: @browser.link(:id, 'link_id').fire_event('onfocus') @browser.link(:id, 'link_id').click Do you have sample HTML? On Apr 8, 5:13 am, venky wrote: > Hi All, > > I need to click a link which is out of focus in the page. I want the > particular link or image to be visible and then click i

[wtr-general] Re: Are there IE Settings that can cause Watir to fail?

2009-04-08 Thread Tiffany Fodor
Hi Andrew! Could you please provide a sample of your code and the error you're getting? Thanks! -Tiffany On Apr 8, 12:10 pm, andrew.d...@lthree.com wrote: > I am installing on a new machine, and watir fails searcing for its > first element (a frame in this case). The exact code works on many >

[wtr-general] Are there IE Settings that can cause Watir to fail?

2009-04-08 Thread andrew . dahl
I am installing on a new machine, and watir fails searcing for its first element (a frame in this case). The exact code works on many other machines. So is there anything about IE that can cause watir to fail like this? Andrew --~--~-~--~~~---~--~~ You received t

[wtr-general] Re: Error in handling popup

2009-04-08 Thread Lisa Crispin
We seem to do just this. I haven't looked at it in awhile so I'm not sure if this is everything. This is in a module. require 'watir\ie' require 'watir\contrib\enabled_popup' # Main method to click a modal dialog button. def click_modal_button(ie, type='OK', sleep_time=6, timeout=20)

[wtr-general] Re: Watir returns first element found. How to return all elements found?

2009-04-08 Thread IDIEININIIS
I forgot to give an update. Here it is. Tiffany's method worked great. e.g.) ie.div(:class => 'something', :index => 1) I just made the index value a variable and incremented it for every loop iteration. On Apr 6, 10:11 am, IDIEININIIS wrote: > @George, > > Yes they are all divs. > > @Tiffan

[wtr-general] Re: Error in handling popup

2009-04-08 Thread George
I grabbed this code from somebody here...this may work (you'll need to install AutoIt): # Create a file clicker.rb require 'win32ole' begin autoit = WIN32OLE.new('AutoItX3.Control') loop do autoit.ControlClick("Windows Internet Explorer", '', 'OK') autoit.ControlClick("Security Info

[wtr-general] Re: Creating Frame objects before a page with a frame exists

2009-04-08 Thread Michael Hwee
Frame object always checked before you can use it. - Original Message From: Tony To: Watir General Sent: Wednesday, April 8, 2009 2:30:49 AM Subject: [wtr-general] Creating Frame objects before a page with a frame exists Hi, Having trouble creating a frame object before a partic

[wtr-general] Re: Error in handling popup

2009-04-08 Thread Jim Matthews
spike, The only thing I see right off is that you have: wsh WIN32OLE.new('Wscript.Shell') My guess is that it should be: wsh = WIN32OLE.new('Wscript.Shell') That would seem to fit with the error you are getting: NoMethodError: undefined method `wsh' for # Jim On Apr 8, 7:26 am, spike wro

[wtr-general] Re: How to calculate time difference?

2009-04-08 Thread Wesley Chen
require 'time' def time_difference(start_time, end_time) start_time = Time.parse(start_time) end_time = Time.parse(end_time) total_time = end_time - start_time time=Time.local("00:00:00") + total_time return time.to_s.match(/\d{2}:\d{2}:\d{2}/).to_s end puts time_difference(

[wtr-general] Re: How to click on a table cell based on the text string that I know. Ex:- Wilmington.

2009-04-08 Thread satish
Thank you Satish On Apr 8, 10:54 am, SuperKevy wrote: > Well done Satish, > Yepper we just gave you some close enuf examples. > Glad you caught on and deconstructed the code to what you needed. > > On Apr 7, 3:41 pm, satish wrote: > > > > > Thank you Tiffany and SuperKevy, > > > Both solutions

[wtr-general] Re: How to click on a table cell based on the text string that I know. Ex:- Wilmington.

2009-04-08 Thread satish
Thank you. On Apr 7, 8:02 pm, KimBrown wrote: > One other way that I figure out how to select a certain cell or button > is to use a freeware capture/playback tool called Script Recorder. > I'll set it to record and click on what I want and the code will > almost always be generated (it doesn't

[wtr-general] Re: How to click on a table cell based on the text string that I know. Ex:- Wilmington.

2009-04-08 Thread SuperKevy
Well done Satish, Yepper we just gave you some close enuf examples. Glad you caught on and deconstructed the code to what you needed. On Apr 7, 3:41 pm, satish wrote: > Thank you Tiffany and SuperKevy, > > Both solutions are wonderful. Appreciate your help on this. I had to > make some changes

[wtr-general] Tooltip text with overlib

2009-04-08 Thread Trevor
Does anyone have any experience of using overlib with WATiR? Basically, our application uses overlib to display tooltips for as long as the mouse hovers over a "help" image. I need to check the text of the tooltip that is being returned, but haven't yet found out how - all the tooltips have identi

[wtr-general] Windows Vista task scheduler can not start test.rb

2009-04-08 Thread jnxgn
I am facing a weird problem. I can start a test job test.rb by WindowsXP task scheduler, but can not initiate the test job by Windows Vista task scheduler, the test.rb can be run by double click on Windows Vista Explorer. Any help will be highly appreciated. --~--~-~--~~-

[wtr-general] Re: WatirCraft Environment config file.

2009-04-08 Thread James
Awesome, thanks! New documentation is looking great, by the way! James On Apr 7, 7:41 pm, Bret Pettichord wrote: > James wrote: > > Also, can I set up different variables in the environment config > > table? > > > For instance, what if I want one environment to be Site A with Login > > A, and

[wtr-general] Re: Difference between fire_event("click") and element.click

2009-04-08 Thread Jarmo Pertman
As I understand, then onfocus event is require prior clicking something? So for example, if uses clicks with mouse, then onfocus event is triggered before actual click? Is this the reason, why at the moment I have to do something like this in my tests to work correctly: button.click button.fire_e

[wtr-general] Error in handling popup

2009-04-08 Thread spike
Hi I'm woking on windows platform and IE7 using "WATIR" I've used the following code for handling "JavaScript" popup require 'win32ole' wsh WIN32OLE.new('Wscript.Shell') wsh.AppActivate('Windows Internet Explorer') wsh.Sendkeys('{ENTER}') but its not working i'm getting the following error.

[wtr-general] Re: Basic Watir presentation

2009-04-08 Thread JArkelen
Great, thanks! Cheers, John On Apr 8, 1:26 pm, Željko Filipin wrote: > On Wed, Apr 8, 2009 at 13:19, JArkelen wrote: > > Does anyone already have a powerpoint presentaion about Watir > > I have something: > > http://docs.google.com/Present?docid=ddxzzv39_615ggn2m7w4&skipauth=true > > Željko --

[wtr-general] Re: How to use element?

2009-04-08 Thread Angrez Singh
Thanks for your help, but I wanted to deal with element in IE. refer this link: http://msdn.microsoft.com/en-us/library/ms535918(VS.85).aspx - Angrez On Wed, Apr 8, 2009 at 5:43 PM, Jarmo Pertman wrote: > > You have some xml file opened in IE? Why not just download it and > handle it as a regu

[wtr-general] Re: How to calculate time difference?

2009-04-08 Thread Prince3105
Finally i solved the problem by using below code. Thanks Paul require 'time' def time_validation(start_time, end_time) start_time = Time.parse(start_time) end_time = Time.parse(end_time) total_time = end_time - start_time total_time = Integer(total_time) total_ti

[wtr-general] Re: How to use element?

2009-04-08 Thread Jarmo Pertman
You have some xml file opened in IE? Why not just download it and handle it as a regular XML, instead of trying to manipulate it with Watir? On Mar 31, 9:13 am, Angrez Singh wrote: > Thanks Vikas, but my problem is not related to reading XML in ruby. > --~--~-~--~~~--

[wtr-general] click link in out of focus

2009-04-08 Thread venky
Hi All, I need to click a link which is out of focus in the page. I want the particular link or image to be visible and then click it. Can any body throw some light on it Thanks, Venkatesh --~--~-~--~~~---~--~~ You received this message because you are subscribed

[wtr-general] Re: Browser.url does not return proper URL immediately after a browser.goto statement

2009-04-08 Thread Jarmo Pertman
Hi. Actually, it doesn't matter if () or {} is used. You just have to use some non-alpha character - for example, let's say that you want to add elements like {one {two {three then you cannot use %w{}, but it would be wise to use %w() instead. Anyway, here are some examples: irb(main):004:0> %w(

[wtr-general] Re: Basic Watir presentation

2009-04-08 Thread Željko Filipin
On Wed, Apr 8, 2009 at 13:19, JArkelen wrote: > Does anyone already have a powerpoint presentaion about Watir I have something: http://docs.google.com/Present?docid=ddxzzv39_615ggn2m7w4&skipauth=true Željko --~--~-~--~~~---~--~~ You received this message because

[wtr-general] Basic Watir presentation

2009-04-08 Thread JArkelen
Hi, Does anyone already have a powerpoint presentaion about Watir (what is it, hopw does it work, benefits, etc)? I will give a basic Watir training to my colleagues and want to create a presentation, but if there is already a good one around, I can use that one. Cheers, John --~--~-~--~

[wtr-general] Re: How to calculate time difference?

2009-04-08 Thread Tony
Hi , Am not sure if this is right .. but u could try this ... start = Time.local(2009,05, 01, 14,03,53) endtime = Time.local(2009,05, 01, 18,37,46) (endtime - start) above will return the number of seconds elapsed have a look at the Time class http://www.ruby-doc.org/core/classes/Time.html#M00

[wtr-general] Creating Frame objects before a page with a frame exists

2009-04-08 Thread Tony
Hi, Having trouble creating a frame object before a particular page contains the object. The framework contains an object repository which contains all the objects and methods that act on a particular page.Using textfields, links, buttons etc work fine, because this is not checked on the page if

[wtr-general] Creating Frame objects before a page with a frame exists

2009-04-08 Thread Tony
Hi, Having trouble creating a frame object before a particular page contains the object. The framework contains an object repository which contains all the objects and methods that act on a particular page. Using textfields, links, buttons etc work fine, because this is not checked on the page i

[wtr-general] How to calculate time difference?

2009-04-08 Thread Prince3105
Hi Friends, I am a newbie of Ruby. Just i want to validate the time difference. Please take a look on below details. start_time = "14:03:53" end_time = "18:37:46" total_time = "04:33:53" above values class is String. My scenario is to validate, total_time = end_time - start_time i have bee

[wtr-general] Failed to revoke program remotely from Linux

2009-04-08 Thread Dan
I developed the program on Windows platform, for our project only support IE. The program works fine on Windows platform. Because other test cases are on Linux platform, we want to integrate all the test cases on the same platform. I need to revoke the program from Linux remotely, and I install cy