Q7

key-type "M1+s" is inserted into wrong place and fails to be executed correctly.

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.2.11
  • Fix Version/s: 1.2.12
  • Component/s: Recording
  • Labels:
  • Environment:
    Q7-D12-500
  • Test Mode:
    Manual

Description

Use e4 as AUT.

Use the attached test case and try to re-capture it.

Test will be captured as:

get-view "Package Explorer" | get-tree | select "PluginProject/CatDef2.xml" | double-click
with [get-editor "CatDef2.xml"] {
    get-section "Managing the Categories" | get-tree | select category2
    with [get-section "Category Properties" | get-editbox -after [get-label "Name*:"]] {
        set-text "category2_new"
        key-type "M1+s" 
    }
    close
}
.......

And fails to be replayed.
When you place key-type M1+s outside '}' it passes:

with [get-section "Category Properties" | get-editbox -after [get-label "Name*:"]] {
        set-text "category2_new"
         
    }
    key-type "M1+s"
    close
}
....

Issue Links

Activity

Field Original Value New Value
Description Use e4 as AUT.

Use the attached test case and try to re-capture it.

Test will be captured as:

get-view "Package Explorer" | get-tree | select "PluginProject/CatDef2.xml" | double-click
with [get-editor "CatDef2.xml"] {
    get-section "Managing the Categories" | get-tree | select category2
    with [get-section "Category Properties" | get-editbox -after [get-label "Name*:"]] {
        set-text "category2_new"
        key-type "M1+s"
    }
    close
}
.......

And fails to be replayed.
When you place key-type "M1+s" outside '}' it passes:

with [get-section "Category Properties" | get-editbox -after [get-label "Name*:"]] {
        set-text "category2_new"
         
    }
    key-type "M1+s"
    close
}

....

Use e4 as AUT.

Use the attached test case and try to re-capture it.

Test will be captured as:
{noformat}
get-view "Package Explorer" | get-tree | select "PluginProject/CatDef2.xml" | double-click
with [get-editor "CatDef2.xml"] {
    get-section "Managing the Categories" | get-tree | select category2
    with [get-section "Category Properties" | get-editbox -after [get-label "Name*:"]] {
        set-text "category2_new"
        key-type "M1+s"
    }
    close
}
.......
{noformat}
And fails to be replayed.
When you place key-type *M1+s* outside '}' it passes:
{noformat}
with [get-section "Category Properties" | get-editbox -after [get-label "Name*:"]] {
        set-text "category2_new"
         
    }
    key-type "M1+s"
    close
}
....
{noformat}
Fix Version/s 1.2.12 [ 11970 ]
Hide
sergey added a comment - 10/Dec/12 6:59 PM

It is recorded in the right place, it just fails to be replayed – fixed.

Show
sergey added a comment - 10/Dec/12 6:59 PM It is recorded in the right place, it just fails to be replayed – fixed.
Hide
Ulyana Skorokhodova added a comment - 11/Dec/12 1:59 PM

Now it is recorded as key-type "M1+s" -times 2, is this right?

Show
Ulyana Skorokhodova added a comment - 11/Dec/12 1:59 PM Now it is recorded as key-type "M1+s" -times 2, is this right?
Hide
sergey added a comment - 11/Dec/12 2:03 PM

That is not okay, I have created separate issue for this – QS-2255. Seems like that is a side-effect of some other fix that have been made during last few weeks.

Show
sergey added a comment - 11/Dec/12 2:03 PM That is not okay, I have created separate issue for this – QS-2255. Seems like that is a side-effect of some other fix that have been made during last few weeks.
Hide
Ulyana Skorokhodova added a comment - 11/Dec/12 2:13 PM

verified

Show
Ulyana Skorokhodova added a comment - 11/Dec/12 2:13 PM verified
Ulyana Skorokhodova made changes - 11/Dec/12 2:13 PM
Status Resolved [ 5 ] Closed [ 6 ]
Transition Time In Source Status Execution Times Last Executer Last Execution Date
Open Open Resolved Resolved
5d 5h 12m 1 sergey 10/Dec/12 6:57 PM
Resolved Resolved Closed Closed
19h 15m 1 Ulyana Skorokhodova 11/Dec/12 2:13 PM

People

Vote (0)
Watch (0)

Dates

  • Created:
    05/Dec/12 1:45 PM
    Updated:
    11/Dec/12 2:13 PM
    Resolved:
    10/Dec/12 6:57 PM