Q7

not stored information about the selected objects

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: 1.3.x
  • Component/s: None
  • Labels:
    None
  • Test Mode:
    Manual

Description

  1. Use V8 as aut, start recording
  2. Open editor for field
  3. select items
  4. close editor
  5. in field stored information about the selected objects

Q7-test :

get-view "V8 Navigator (2)" | get-tree | select "DefaultProject/Documents/Sequences/SequenceTest"
get-view Properties | get-button -after [get-label "Register records"] | click
get-window -class TreeItemSelectionDialog | get-tree | select "Information registers"
with [get-window -class TreeItemSelectionDialog | get-tree] {
    get-item "Information registers" | get-property "getItems().TreeItem[0].getText()" | equals InformationRegisterDemo 
        | verify-true
    get-item "Information registers" | get-property "getItems().TreeItem[1].getText()" 
        | equals InformationRegisterTestProperties | verify-true
    get-item "Information registers" | get-property "getItems().TreeItem[2].getText()" 
        | equals InformationRegistersTest1 | verify-true
    get-item "Accumulation registers" | get-property "getText()" | equals "Accumulation registers" | verify-true
}
with [get-window -class TreeItemSelectionDialog] {
    get-button Help | click
    get-tree | select "Information registers/InformationRegistersTest1"
    get-button OK | click
}
get-view Properties | get-editbox -after [get-label "Register records"] | get-property text 
    | equals "InformationRegistersTest1, AccumulationRegisterTest" | verify-true

But when test replaying an error occurs

Assertion of text failed: expected:<InformationRegistersTest1, AccumulationRegisterTest> but was:<>.
	at verify-true (/Q7/Tests/V8_Navigator/Document/Sequence/Properties/EditorFieldRegisterRecordSequence.test:19)

Activity

There are no comments yet on this issue.

People

  • Assignee:
    komaz
    Reporter:
    kristina.bekker
Vote (0)
Watch (0)

Dates

  • Created:
    06/Feb/14 4:02 PM
    Updated:
    24/Oct/14 12:28 AM