Q7

Sometimes Q7 records windget style as a style constant - not as a style name.

Details

  • Type: Improvement Improvement
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.2.18
  • Fix Version/s: 1.2.23, 1.3.6
  • Component/s: Recording
  • Labels:
    None
  • Test Mode:
    Manual

Description

Sometimes, when I assert a widget for style it is captured as a style name - OK:

get-view "Q7 Quality Mockups" | get-group Text | get-label "Plain Limited Text:" | get-property "getStyle()" 
    | equals "[NO_FOCUS, LEFT_TO_RIGHT, LEAD]" | verify-true

but sometimes it is recorded as a style constant which makes it difficult to understand. I have a text with the following style:

Text t5 = new Text(composite, SWT.MULTI | SWT.BORDER | SWT.WRAP);):

and Q7 captures it as:

get-view "Q7 Quality Mockups" | get-group "Text_Multiline" | get-editbox -index 4 | get-property "getStyle()" 
    | equals 33572930 | verify-true

It would be great if Q7 always captured the style as a name.

Activity

Hide
komaz added a comment - 01/Aug/13 12:23 AM - edited

Stanislav, I thought this issue is fixed, why it is not marked as resolved yet?

Show
komaz added a comment - 01/Aug/13 12:23 AM - edited Stanislav, I thought this issue is fixed, why it is not marked as resolved yet?

People

Vote (0)
Watch (0)

Dates

  • Created:
    29/Mar/13 1:10 PM
    Updated:
    05/Aug/13 3:28 PM
    Resolved:
    05/Aug/13 3:28 PM