Q7

Autocomplete in sequence diagram: unable to replay recorded script, unable to record second selection

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.2.6
  • Fix Version/s: 1.2.11
  • Component/s: Launching (Runtime)
  • Labels:
  • Environment:
    1.2.9
  • Test Mode:
    Manual

Description

Use workspace attached

  1. Start recording
  2. Open newfile, double-click on instance, Ctrl+space
  3. Select first item by pressing Enter
    Script looks like this:
        with [get-editbox] {
            set-text ""
            key-type "M1+SPACE"
            key-type Enter
            set-text Platform
            key-type Enter
        }
    

    and fails with Failed to locate shell for:The control Text is disposed.
    But script

        with [get-editbox] {
            set-text ""
            key-type "M1+SPACE"
            key-type Enter
    //        set-text Platform
    //        key-type Enter
        }
    

    works ok.

  4. Now do the same, but select second item using arrows:
      with [get-editbox] {
            key-type "M1+SPACE"
            set-text SubPlatform
      }
    

    and cannot be replayed. Manually added key-type "ARROW_DOWN" wasn't helpful

Activity

Hide
komaz added a comment - 05/Nov/12 11:17 PM

still valid? Is this major?

Show
komaz added a comment - 05/Nov/12 11:17 PM still valid? Is this major?
Hide
lena.platova added a comment - 06/Nov/12 11:29 AM

Valid. Priority reduced

Show
lena.platova added a comment - 06/Nov/12 11:29 AM Valid. Priority reduced
Hide
komaz added a comment - 27/Nov/12 7:30 PM

Lena, could you please review this issue on latest Q7? At least the part in #3 should be fixed so far.

Show
komaz added a comment - 27/Nov/12 7:30 PM Lena, could you please review this issue on latest Q7? At least the part in #3 should be fixed so far.
Description Use workspace attached

Test steps

1. Start recording
2. Open newfile, double-click on instance, Ctrl+space
3. Select first item by pressing Enter

Script looks like

    with [get-editbox] {
        set-text ""
        key-type "M1+SPACE"
        key-type Enter
        set-text Platform
        key-type Enter
    }

and fails with "Failed to locate shell for:The control Text is disposed."
But script

    with [get-editbox] {
        set-text ""
        key-type "M1+SPACE"
        key-type Enter
// set-text Platform
// key-type Enter
    }

works ok.
4. Now do the same, but select second item using arrows

Script looks like

  with [get-editbox] {
        key-type "M1+SPACE"
        set-text SubPlatform
  }
and cannot be replayed. Manually added key-type "ARROW_DOWN" wasn't helpful
Use workspace attached

# Start recording
# Open newfile, double-click on instance, Ctrl+space
# Select first item by pressing Enter
Script looks like this:
{noformat}
    with [get-editbox] {
        set-text ""
        key-type "M1+SPACE"
        key-type Enter
        set-text Platform
        key-type Enter
    }
{noformat}
and fails with *Failed to locate shell for:The control Text is disposed.*
But script
{noformat}
    with [get-editbox] {
        set-text ""
        key-type "M1+SPACE"
        key-type Enter
// set-text Platform
// key-type Enter
    }
{noformat}
works ok.
# Now do the same, but select second item using arrows:
{noformat}
  with [get-editbox] {
        key-type "M1+SPACE"
        set-text SubPlatform
  }
{noformat}
and cannot be replayed. Manually added {{key-type "ARROW_DOWN"}} wasn't helpful
Fix Version/s 1.2.11 [ 11884 ]
Fix Version/s 1.2.x [ 11172 ]
Hide
lena.platova added a comment - 27/Nov/12 9:48 PM

Verified on Q7 Dev1.2 #504 and latest Vozone, works fine. Script from #4 now looks like

    with [get-editbox -after [get-label "Sequence Diagram"]] {
        key-type Enter
        set-text App
        key-type Enter
    }

so arrow down is not recorded. It's ok for this case, but looks strange. Can raise another issue, if it is needed

Show
lena.platova added a comment - 27/Nov/12 9:48 PM Verified on Q7 Dev1.2 #504 and latest Vozone, works fine. Script from #4 now looks like
    with [get-editbox -after [get-label "Sequence Diagram"]] {
        key-type Enter
        set-text App
        key-type Enter
    }
so arrow down is not recorded. It's ok for this case, but looks strange. Can raise another issue, if it is needed
Transition Time In Source Status Execution Times Last Executer Last Execution Date
Open Open Resolved Resolved
70d 7h 30m 1 lena.platova 27/Nov/12 9:49 PM
Resolved Resolved Closed Closed
5s 1 lena.platova 27/Nov/12 9:49 PM

People

  • Assignee:
    lena.platova
    Reporter:
    lena.platova
Vote (0)
Watch (0)

Dates

  • Created:
    18/Sep/12 3:18 PM
    Updated:
    27/Nov/12 9:49 PM
    Resolved:
    27/Nov/12 9:49 PM