Find below the solution to get text from any element from Flex window:
Suppose you have an element to get text from. First find it’s parent element and locate your targeted element by any element property (id, class, location ).
e.g.
var confirmationText = FlexCanvas("Home Page")->new Locator({id:"messages"})=>text;
to check value returned:
trace(confirmationText)
Cheers!
No comments:
Post a Comment