Q7

Cannot replay script that checks item with index

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.2.10
  • Fix Version/s: 1.2.12
  • Component/s: Launching (Runtime)
  • Labels:
  • Test Mode:
    Manual

Description

Steps to reproduce

  1. Use workspace attached, start recording
  2. In toolbar, in pull-down menu for active working set select Create Baseline
  3. Select SDK as a type, set a name
  4. As working set content, check second newfile in SDK Diagrams folder
  5. Click Finish, try to replay

Test result

get-view "SDK Baseline" | get-button Select | click -arrow
get-menu "Create Baseline..." | click
with [get-window "New Working Set"] {
    get-table | select SDK
    get-button "Next >" | click
    get-editbox -after [get-label "Working set name:"] | set-text Name
    get-tree | select "BT\\/BERDemo" | get-item "BT\\/BERDemo/SDK Diagrams" | get-item newfile -index 1 | check
    get-button Finish | click
}

cannot be replayed with Cannot check item(s)

Activity

Hide
komaz added a comment - 27/Nov/12 6:02 PM

Sergey, please take a look, probably this can affect others

Show
komaz added a comment - 27/Nov/12 6:02 PM Sergey, please take a look, probably this can affect others
Field Original Value New Value
Description Steps to reproduce

1. Use workspace attached, start recording
2. In toolbar, in pull-down menu for active working set select Create Baseline
3. Select SDK as a type, set a name
4. As working set content, check second newfile in SDK Diagrams folder
5. Click Finish, try to replay

Test result

Script

get-view "SDK Baseline" | get-button Select | click -arrow
get-menu "Create Baseline..." | click
with [get-window "New Working Set"] {
    get-table | select SDK
    get-button "Next >" | click
    get-editbox -after [get-label "Working set name:"] | set-text Name
    get-tree | select "BT\\/BERDemo" | get-item "BT\\/BERDemo/SDK Diagrams" | get-item newfile -index 1 | check
    get-button Finish | click
}

cannot be replayed with "Cannot check item(s)"
Steps to reproduce

# Use workspace attached, start recording
# In toolbar, in pull-down menu for active working set select Create Baseline
# Select SDK as a type, set a name
# As working set content, check second newfile in SDK Diagrams folder
# Click Finish, try to replay

*Test result*
{noformat}
get-view "SDK Baseline" | get-button Select | click -arrow
get-menu "Create Baseline..." | click
with [get-window "New Working Set"] {
    get-table | select SDK
    get-button "Next >" | click
    get-editbox -after [get-label "Working set name:"] | set-text Name
    get-tree | select "BT\\/BERDemo" | get-item "BT\\/BERDemo/SDK Diagrams" | get-item newfile -index 1 | check
    get-button Finish | click
}
{noformat}
cannot be replayed with *Cannot check item(s)*
Priority Minor [ 4 ] Major [ 3 ]
Fix Version/s 1.2.x [ 11172 ]
Fix Version/s 1.2.11 [ 11884 ]
Hide
sergey added a comment - 30/Nov/12 5:15 PM

Seems like Lena has been trying to record the test using outdated version of Q7 with off-by-one index "fix".

Show
sergey added a comment - 30/Nov/12 5:15 PM Seems like Lena has been trying to record the test using outdated version of Q7 with off-by-one index "fix".
Transition Time In Source Status Execution Times Last Executer Last Execution Date
Open Open In Progress In Progress
2d 20h 1m 1 sergey 30/Nov/12 12:58 PM
Resolved Resolved Reopened Reopened
23h 52m 1 sergey 01/Dec/12 5:07 PM
Reopened Reopened In Progress In Progress
3d 19h 23m 1 sergey 05/Dec/12 12:31 PM
In Progress In Progress Resolved Resolved
4h 55m 2 sergey 05/Dec/12 1:10 PM
Resolved Resolved Closed Closed
1d 3h 56m 1 lena.platova 06/Dec/12 5:06 PM

People

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

Dates

  • Created:
    27/Nov/12 4:57 PM
    Updated:
    06/Dec/12 5:06 PM
    Resolved:
    05/Dec/12 1:10 PM