Login   /   Register

Vertical text selection in QTP IDE

Rate this article
     4 votes, average: 5 out of 54 votes, average: 5 out of 54 votes, average: 5 out of 54 votes, average: 5 out of 54 votes, average: 5 out of 5
Loading ... Loading ...
May 13th, 2009 by Yaron Assa

Barak Kinarty shares this very useful QTip regarding QTP’s IDE:

In most DEV IDE there is an option to mark text as "Vertical Segment Selection" – meaning, instead of selecting the entire text from the start point to the end point, only selecting the text in a specific vertical column.

Turns out you can "Segment Mark/Select" a text in QTP by starting to select text normally with the left mouse button and then add the right mouse while you are clicking on the left one, and move the mouse and it will select the code as a rectangle selection instead of a normal selection.

This can be extremely useful for copying / pasting data from and to a complex script.

See example in the screenshots between normal selection and the one mentioned above:

Normal Selection:

image

Vertical Segment Selection:

image 

Thanks, Barak, for this excellent time-saving QTip!

Posted in General

10 Responses to “Vertical text selection in QTP IDE”

  1. bbaassiri Says:

    [-]

    i typically click into the area and send the key sequence ctr-a, ctr-c and the later ctr-v to paste it

  2. kpkrishna Says:

    [-]

    nice tip..

  3. aleitamar Says:

    [-]

    NICE!
    there’s allways something new to learn from you :)

  4. sanjitmisra Says:

    [-]

    Good One Barak..

  5. rotsa_lilmode Says:

    [+]

    Just some nostalgia, you used to be able to do this in a Word document, using the Alt key with the LMC, but they messed it up in 2... ...

  6. shashibhushanv Says:

    [-]

    really a good one barak.

  7. Manish Bhalshankar Says:

    [-]

    Great info..Thanks a lot!!

  8. Devendra Sharma Says:

    [-]

    Great…..We are looking forward for more QTips.

  9. Devendra Sharma Says:

    [-]

    Great…..We are looking forward for more QTips…

  10. dwfbenben Says:

    [-]

    Is it the default action, how to operate it, I can redo your action?

    thanks,
    weifeng

Leave a Reply

You must be logged in to post a comment.

This article was viewed 447 times