According to Swiss tax law, you are not required to pay taxes on capital gains as a private investor. This means, you do not have to pay taxes if your shares increase in value, even if you decide to sell them. Income tax will be charged on dividend payouts which usually make up a small percentage (around 1%) of your return on investment.
As an example, with a 10'000CHF investment, you can expect around 100CHF dividend payout on which income tax will be charged. The income tax rate depends on your tax progression and where you live in Switzerland.