Q7

Q7 fails to get-param after eclipse restart.

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.3.9
  • Fix Version/s: 1.3.10
  • Component/s: Runtime
  • Labels:
  • Test Mode:
    Manual

Description

Ticket link: http://xored.freshdesk.com/helpdesk/tickets/595

Create a parameters context with param1=Import
Create a test case with this context and the following script:

get-menu "File/Restart" | click
wait-until-eclipse-is-ready
get-view "Q7 Explorer" | get-tree | select MyProject | get-menu "Import/Import..." | click
get-window [get-param param1] | maximize
get-window Import | get-button Cancel | click

The test fails with the following error: Parameter param1 not found.
at get-param (/qqq/TestParams.test:5)

When you comment eclipse-restart lines - it passes successfully.
It also pass if you replace [get-param param1] with $param1

Activity

Hide
Ulyana Skorokhodova added a comment - 14/Nov/13 2:25 PM

UPD: Since 'get-param' command is becoming obsolete - we need to add some warnings to replace it with '$'

Show
Ulyana Skorokhodova added a comment - 14/Nov/13 2:25 PM UPD: Since 'get-param' command is becoming obsolete - we need to add some warnings to replace it with '$'
Hide
Stanislav Belyakov added a comment - 11/Dec/13 3:55 PM

Added warning and quick-fix for get-param command.

Show
Stanislav Belyakov added a comment - 11/Dec/13 3:55 PM Added warning and quick-fix for get-param command.
Hide
Ulyana Skorokhodova added a comment - 12/Dec/13 1:36 PM

We need to add some warnings for obsolete 'set-param' as well.

Something like "consider switching to parameters context or using ECL commands 'let' or 'global' instead"

Show
Ulyana Skorokhodova added a comment - 12/Dec/13 1:36 PM We need to add some warnings for obsolete 'set-param' as well. Something like "consider switching to parameters context or using ECL commands 'let' or 'global' instead"
Hide
Stanislav Belyakov added a comment - 12/Dec/13 5:20 PM

Added warning for 'set-param'.

Show
Stanislav Belyakov added a comment - 12/Dec/13 5:20 PM Added warning for 'set-param'.

People

Vote (0)
Watch (0)

Dates

  • Created:
    13/Nov/13 11:27 AM
    Updated:
    12/Dec/13 5:20 PM
    Resolved:
    12/Dec/13 5:20 PM