<div dir="auto">I tried  QTest::mouseMove() & QPoint() method but the cursor moves out of the okular instead of the sidebar. Does part.m_sidebar is the right candidate for selecting the sidebar?</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 2 Jul 2019, 4:30 am Albert Astals Cid, <<a href="mailto:aacid@kde.org" target="_blank" rel="noreferrer">aacid@kde.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">El dimarts, 2 de juliol de 2019, a les 0:52:42 CEST, Mayank Choudhary va escriure:<br>
> Hello,<br>
> <br>
> I'm writing an autotest in parttest.cpp where initially when the part is<br>
> opened, the sidebar is collapsed. Now I need to click on thumbnails item<br>
> (say) in order to open it. How can I?<br>
<br>
What would the user do? Click on it, right? So the test should ideally do the same by using QTest::mouseClick<br>
<br>
Cheers,<br>
  Albert<br>
<br>
<br>
</blockquote></div>