Foreword, when writing a test case recently, the drop-down option of the execution result used to be in the format set by the template, you can just pull it down, but once you fill in the content, you can’t copy the format through the drop-down, (the drop-down copy will put The content is copied over, only the format is not enough) So I decided to be self-sufficient;
Tools used: wps
1. The drop-down options for setting the execution record are:
Example: Execution record has
1.Pass in green font
2.Fail in red font
3.No Run in pink font
4.N/A pending in black
2. Start setting drop-down options
2.1 Steps: Select the input record box - data label - drop-down list - add drop-down option data - OK
2.2 Check the effect of the settings!
Here we can already see our drop-down effect and optional items, but it is not enough, I need different options to be displayed in different colors, so continue to the next step
3. Set the different options of the drop-down options to correspond to different colors
target requirements
1.Pass pass green font
2.Fail fail red font
3.No Run not run pink font
4.N/A hang black
3.1 Implementation steps: select the drop-down input box - start - conditional style - highlight cell formatting rules - equal to
3.2 Implementation Step 2: Set different colors for different drop-down content
3.3 The rest is to repeat the steps from 3.1 to 3.2 above, so I won’t introduce it in detail here; finally check the effect