FilteredTreeItemLocator exact matching using slash

WindowTester allows you to easily create and run unit tests for every GUI they build. It can also be used to generate system level tests.

Moderators: gnebling, Eric Clayberg, Dan Rubel, keertip, Phil Quitslund

FilteredTreeItemLocator exact matching using slash

Postby or.z » Tue Aug 10, 2010 4:54 am

Hi,

i'm trying to locate a filterdtreeitem by giving the exact lable to the FilteredTreeItemLocator.
when i'm sending a lable which really contains slash ('/') it doesnt find the item.

i guess it thinks that the slash designates a new level in the tree...
but as far as i know the FilteredTreeItemLocator uses also exact matching when searching for FilteredTreeItem.
am i right?

thanks
or.z
 
Posts: 1
Joined: Tue Aug 10, 2010 4:30 am

Re: FilteredTreeItemLocator exact matching using slash

Postby keertip » Tue Sep 07, 2010 12:37 pm

Are you using "\\/" to indicate that is part of the TreItem text, as in
Code: Select all
ui.click( new FilteredTreeItemLocator("this is \\/part of the text"));
keertip
Moderator
 
Posts: 221
Joined: Thu Mar 15, 2007 10:26 am


Return to Window Tester

Who is online

Users browsing this forum: No registered users and 1 guest

cron