Forward slash in locator

40 views
Skip to first unread message

rm.tr...@gmail.com

unread,
Jan 25, 2013, 12:19:40 PM1/25/13
to flex-...@googlegroups.com
Hi,

I have 2 elements in my flex application I'm trying to interact with using flex pilot. The 1st has an automationName of 'Test.PD81', the 2nd has an automationName of 'Test.PD8/1'.

From the firefox console, if I run:
document.getElementById('main').fp_click({automationName:'Test.PD81'})
That is successful.

But if I run:
document.getElementById('main').fp_click({automationName:'Test.PD8/1'})
It cannot find the element.

I'm assuming this is down to the forward slash. Is there a way round this?

Cheers, Rich
Reply all
Reply to author
Forward
0 new messages