| 
| Not able to right click the project tree view on hte left pane in eclipse 3.3.2 [message #328677] | Mon, 02 June 2008 01:24 |  | 
| Eclipse User  |  |  |  |  | Originally posted by: shantanu_chitale.persistent.co.in 
 For automation testing I am using rational robot 7.0.1. I have following
 code to identify the tree object at runtime
 
 For i = 1 to 10
 Window SetContext, GStrEclipseMainWindowCaption, ""
 Result = SQAFindObject("Type=TreeView;ObjectIndex=" & i)
 If Result = 0 Then
 vRet = ""
 Window SetContext, GStrEclipseMainWindowCaption, ""
 intResult = SQAGetProperty("Type=TreeView;ObjectIndex=" & i,
 "Visible", vRet)
 If vRet = -1 Then
 Call SQAGetProperty("Type=TreeView;ObjectIndex=" & i,
 "hWnd", vValue)
 vValue = GStrTreeViewId & vValue & ";\;ItemText="
 GetTreeViewObject = vValue
 Exit For
 End If
 End If
 Next
 
 From the above code I'm able to get the tree view handle at runtime and
 can right click the project in tree view.
 
 This particular code works for eclipse 3.3.0 but does not work on 3.3.2.
 Can anyone help me out in this. Also what is the difference between
 eclipse 3.3.0 and 3.3.2.
 |  |  |  | 
Powered by 
FUDForum. Page generated in 0.03166 seconds