Q7

Q7 does not capture ruler column when recording hover-ruler

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.2.18
  • Fix Version/s: 1.2.20, 1.3.3
  • Component/s: Recording
  • Labels:
  • Test Mode:
    Manual

Description

Try to record an assertion of a folded text in java editor, recorded script looks like this

get-editor "Program.java" | get-left-ruler | hover-ruler -line 8
get-window -from "SourceViewerInformationControl.<init>()" | get-editbox | get-property text 
    | equals "public static void main(String[] args) {\n"
    + "\t\t// TODO Auto-generated method stub\n\n"
    + "\t}" | verify-true

During replay this does not work correctly as it seems that hover event is sent to a first column. Manual change of first line to this solves an issue:

get-editor "Program.java" | get-left-ruler | get-ruler-column ProjectionRulerColumn | hover-ruler -line 8

Activity

There are no comments yet on this issue.

People

  • Assignee:
    komaz
    Reporter:
    komaz
Vote (0)
Watch (0)

Dates

  • Created:
    26/Apr/13 6:32 PM
    Updated:
    15/May/13 2:18 PM
    Resolved:
    15/May/13 2:18 PM