Skip to main content



      Home
Home » Eclipse Projects » RCP Testing Tool » How to get items from table whem item names changes in each execution
How to get items from table whem item names changes in each execution [message #1695294] Wed, 13 May 2015 07:40 Go to next message
Eclipse UserFriend
Hi

We are testing Eclipse app which incorporates History view (just like in Eclipse where under Team - Local History user gets list of file-states and can browse differences).

Problem is that each row is named by file change event time thus each item name is unique and will change in next test run.

How to get a double click on n-item from such table? I know that I need to get item list and invoke action on n-th but I have difficulty how to write this in ECL.

Here is a sample output recording:

get-view "Project Explorer" | get-tree | select "Project/TestFile.txt" | get-menu "Team/Show Local History"
| click
get-view History | get-tree | select "5\\/13\\/15, 1:38 PM" | double-click
Re: How to get items from table whem item names changes in each execution [message #1695417 is a reply to message #1695294] Thu, 14 May 2015 08:15 Go to previous message
Eclipse UserFriend
Replay for future me:

get-view History | get-tree | select [get-item ".*" -index 0] | double-click
get-view History | get-tree | select [get-item ".*" -index 1] | double-click
get-view History | get-tree | select [get-item ".*" -index 2] | double-click
Previous Topic:Throwing an exception?
Next Topic:Clear Woskspace in Workspace Context does not clear it in Resource Navigator
Goto Forum:
  


Current Time: Fri Jun 20 07:45:30 EDT 2025

Powered by FUDForum. Page generated in 0.10058 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top