vector.com|Contact
Search tips

apple banana
Find rows that contain at least one of the two words.

+apple +juice
Find rows that contain both words.

+apple macintosh
Find rows that contain the word 'apple', but rank rows higher if they also contain 'macintosh'.

+apple -macintosh
Find rows that contain the word 'apple' but not 'macintosh'.

+apple ~macintosh
Find rows that contain the word 'apple', but if the row also contains the word 'macintosh', rate it lower than if row does not. This is "softer" than a search for '+apple -macintosh', for which the presence of 'macintosh' causes the row not to be returned at all.

+apple +(>turnover >strudel)
Find rows that contain the words 'apple' and 'turnover', or 'apple' and 'strudel' (in any order), but rank 'apple turnover' higher than 'apple strudel'.

apple*
Find rows that contain words such as 'apple', 'apples', 'applesauce', or 'applet'.

"some words"
Find rows that contain the exact phrase 'some words' (for example, rows that contain 'some words of wisdom' but not "some noise words").

By continuing to use this site you agree to the use of cookies. For more information and to find out how to change this click here. Accept Cookies
Please enable cookies in your browser for this website.
Search:
Advanced search

Copy Paste Parameter Tree

Last updated: 2019-10-30
Question:
In the Parameter Tree, is there a way to copy and paste data from one parameter to another?
Answer:

Yes, a versatile copy and paste feature is implemented. You can copy values you have entered in a single parameter or a more complex one, such as an array of structures (records), and paste the values to any parameter that is the right type to receive the data. Colored highlighting guides you in finding parameters of the right data type to accept the pasted values.

The following example uses the C Tutorial environment from Example Environments.

  • Assume you have an environment open and a test case open in the Test Case Editor. You have entered expected data for Order[0]. Rather than entering data by hand for each of the other elements in the array, you want to use copy and paste.


     
  • Right-Click the parameter whose data you want to copy, and choose Copy. The data entered into the Input and Expected Values columns is held in VectorCAST's "clipboard."


     
  • The parameter copied from is highlighted in green.


     
  • Any parameter that is the right data type to receive the paste is highlighted in blue. To paste, right-click on a blue parameter and choose Paste.


     
  • Besides copying both Input and Expected values of a parameter, you can copy just the Input value(s) or just the Expected value(s).


     
  • Regardless of whether you copied Inputs or Expecteds, you can paste to either column, as long as the parameter is the right type to receive the paste. Just right-click specifically where you want to paste, and choose Paste.

 
Article Options
2019-10-30
Views: 7