I’m beginning to use the swtbot to test my reccent eclipse rcp projekt. A specific editor is opened multiple times in my application and want to count how often the editor is opened.
How can i do that using swtbot?
Thanks! 🙂
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
From the example of this book on SWTBot (p 34), it should be
But that is for all the opened editors, so you may need to filter that list (based on the title of the editor for instance) to compute the right number of instances.