google-code-export / flash-selenium

Automatically exported from code.google.com/p/flash-selenium
1 stars 2 forks source link

Cant capture the text in flexalert object. #32

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

flashApp.call("getFlexText", "automationName=index:4","text").

Getting an error element not found.Pls suggest any alternative to capture 
text in flexalert using flashselenium.

Regards,
shivaji

Original issue reported on code.google.com by shivajid...@gmail.com on 2 Dec 2009 at 7:12

GoogleCodeExporter commented 9 years ago
Hey,

Are you using Flash-Selenium or 'flex-ui-selenium"?

Original comment by sachin.s...@gmail.com on 3 Dec 2009 at 1:07

GoogleCodeExporter commented 9 years ago
FlashSelenium

Original comment by shivajid...@gmail.com on 4 Dec 2009 at 1:39

GoogleCodeExporter commented 9 years ago
I'm quite confused. Seems like you are using a combination of selenium-flex-api 
and 
flash selenium if I'm not wrong. In either case, has the flash app been 
compiled with 
the selenium-flex-api library? You could test it through firebug by issuing 
commands 
like window.document['flashid'].getFlexText('automationName=index:4', 'text') 
and see if 
you get a valid response.

Original comment by sachin.s...@gmail.com on 5 Dec 2009 at 4:23

GoogleCodeExporter commented 9 years ago
thanks for response. i will try

Original comment by shivajid...@gmail.com on 6 Dec 2009 at 3:22

GoogleCodeExporter commented 9 years ago

Original comment by sachin.s...@gmail.com on 9 Dec 2009 at 12:49