Contributions
Re: Right Click on RCP List View
ebarberaThanks for the response! The page talks about the ClickItem function, which is working perfectly fine for me. My concern is w.r.t ClickItemR and ClickR functions which simulate right-click. I understand it's difficult to suggest anything without actually being able to reproduce the problem. Will it help if I create a sample application and provide reproducable steps?930Views0likes1CommentRe: Right Click on RCP List View
For anyone who is struggling with the same problem, I wrote a python script (which is just a workaround and not the desired way of opening the context menu on lists) which seems to be working for me. def open_context_menu(): arr = Sys.Process("<ProcessName>").FindAllChildren("WndClass", "SysListView32", 50) if len(arr) > 0: for i in range (0, len(arr)): if True == arr[i].Focused: arr[i].ClickR() Log.Message("Context Menu Opened Successfully!") break else: Log.Error("No List Objects were found.") ebarberaI would still like to hear from you if there is any better approach for this issue.986Views0likes5CommentsRe: Right Click on RCP List View
ebarberaThank You for the quick response and apologies for not providing complete details. Below is the error that I am getting "Popup menu was not found for the "Aliases.DataExplorer.Shell2.Composite2.Composite.Composite.Composite.CTabFolder.ContributedPartRenderer_1.CTabFolder.StatisticsComposite.ListView" object. 0:50:36 Normal 11.22" The Popup menu was not found because ClickItemR was not successful. I also tried using the ClickR function and provided proper x, y coordinates. Here too the app is inconsistent. It sometimes opens the context menu and sometimes doesnt. I added a delay of 2000 ms in between each step. No luck The version of TestComplete I am using: 14.93.312.7 (running on 64 bit)1KViews0likes8CommentsRight Click on RCP List View
Hello All, We have a desktop application built on top of RCP which uses SWT to draw its UI elements. We have noticed that the ClickItemR function of TestComplete which simulates a right-click does not work properly on the SWT Table UI element. It's inconsistent, it works sometimes and fails most of the time. If there is any suggestion on how to properly simulate a right-click functionality on SWT Table element.1.2KViews0likes10Comments