This Question is Not Answered

1 "correct" answer available (4 pts) 2 "helpful" answers available (2 pts)
2 Replies Last post: Oct 5, 2013 12:47 PM by Old Grantonian  
Old Grantonian Newbie 18 posts since
Dec 3, 2012
Currently Being Moderated

Oct 3, 2013 2:37 PM

How to force Autocomplete to suggest answers?

I'm trialling RubyMine 5.4 with the test framework Watir WebDriver.

 

Autocomplete works in 90% of cases.

 

Here's an example that executes correctly, but does not work with Autocomplete:

 

@browser.link(:id, "lnkTransactions").click

 

Here is a step-by-step list of what happens when I type:

 

Type @browser plus the dot:   get many suggestions, but not "link"

 

Type "lin":   get 'cannot find "lin" at lower left status bar.

 

Type "link":  no message at lower left. The "link" now has a blue highlight. Both of these statements suggest that "link" has been accepted.

 

Exactly the same happens with "click"

 

I would be grateful for any advice.

Oleg Sukhodolsky JetBrains 825 posts since
Apr 4, 2012
Currently Being Moderated
Oct 4, 2013 10:34 AM in response to: Old Grantonian
Re: How to force Autocomplete to suggest answers?

There is no way to teach RM to undrstand that some library provides some functions except adding the gem in Gemfile and requiring it in your code.

Thus if RM doesn't suggest something it should it is a bug and I'd suggest to file a ticket in our tracker (http://youtrack.jetbrains.com/issues/RUBY) but please provide test project which reproduce the problem.

 

Regards, Oleg.

More Like This

  • Retrieving data ...