History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: WET-180
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: chitra
Reporter: Sowmyashree
Votes: 1
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
WET

The check_dialog_exists() method is not working

Created: 18/Aug/06 01:04 AM   Updated: 09/Jul/07 01:57 AM
Component/s: None
Affects Version/s: 0.9.8_beta1
Fix Version/s: 1.0.0

Original Estimate: 24h Remaining Estimate: 24h Time Spent: Unknown


 Description  « Hide
Steps :

1) Open a website and click on the Link or Button that invokes a Popup Dialog
  2) Now try to find the existance of the dialog using
           Browser(prop).check_dialog_exists(dialog_properties)
  
The Error displayed :

c:/ruby/lib/ruby/gems/1.8/gems/wet-web-0.9.1.269- in32/./qantom/webobjects/Browser.rb:290:in `check_dialog_exists': undefined method `check_exists' for ::Winobjects::WinDialog:Class
           (NoMethodError)


 All   Comments   Work Log   Change History      Sort Order:
Raghu Venkataramana - 27/Aug/06 02:03 AM
I think i need to locate the right version. That's the only reason for the time delay.

Raghu Venkataramana - 10/Sep/06 03:43 AM
Unfortunately, i am unable to pull out the required version immediately. The wet-winobj was controlled using an older version of svn server and although I have the data for this, I cannot get it out immediately. Will have to spend a couple of days before this can be done. In anycase, this problem doesn't seem to be too critical - so pushing it to '1.0' release.

Raghu Venkataramana - 21/Apr/07 01:43 AM
Chitra,

can you verify this?

To verify, do the following:
a) Open an Ie browser and click on tools -> options. The options dialog box should show up
b) Open a command prompt and say IRB
c) in irb type the following commands one after the other
    require 'WET'
    include WET
    b=Browser("title:=//")
    puts b.check_dialog_exists()
    
d) You should see the output 'true' in the irb console
e) Now repeat (c) after closing the options dialog box. This time, the output should be false .