dacat / sfapi

Automatically exported from code.google.com/p/sfapi
0 stars 0 forks source link

The sfapi-0.2.6.swc from the maven repository doesn't work #32

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
There seems to be a difference between the SWC from the maven repository and 
the 'normal' one on the download page (file size is different).

The mvn version gives the following exception in my selenium tests:

com.thoughtworks.selenium.SeleniumException: ERROR: Threw an exception: Result 
of expression 'Selenium.prototype.doFlexSetFlexObjID' [undefined] is not a 
function.
    at com.thoughtworks.selenium.HttpCommandProcessor.throwAssertionFailureExceptionOrError(HttpCommandProcessor.java:97)
    at com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.java:91)
    at com.thoughtworks.selenium.HttpCommandProcessor.getString(HttpCommandProcessor.java:262)
    at com.thoughtworks.selenium.DefaultSelenium.getEval(DefaultSelenium.java:443)

Original issue reported on code.google.com by christia...@gmail.com on 15 Jun 2010 at 12:36

GoogleCodeExporter commented 9 years ago
Never mind, this seems to be caused by safari 5.
But there is a problem however: the mvn version doesn't show any tooltips 
(component id's)

Original comment by christia...@gmail.com on 15 Jun 2010 at 1:02

GoogleCodeExporter commented 9 years ago
I see very similar behavior with Firefox 3.6.3 and sfapi-0.2.6. If I call 
flashApp.PercentLoaded() I get the percentage loaded as expected. If I use the 
flashApp.call I get an error. This is new behavior. 

String alertPresent = flashApp.call("getFlexAlertPresent", "", "");

com.thoughtworks.selenium.SeleniumException: ERROR: Threw an exception: 
this.browserbot.findElement("sierra").getFlexAlertPresent is not a function
at 
com.thoughtworks.selenium.HttpCommandProcessor.throwAssertionFailureExceptionOrE
rror(HttpCommandProcessor.java:97)
at 
com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.ja
va:91)
at 
com.thoughtworks.selenium.HttpCommandProcessor.getString(HttpCommandProcessor.ja
va:262)
at com.thoughtworks.selenium.DefaultSelenium.getEval(DefaultSelenium.java:443)
at com.thoughtworks.selenium.FlashSelenium.call(FlashSelenium.java:57)
at myCode.validateTab(selFlexTwo.java:2275)

Original comment by logan.hawkes@gmail.com on 16 Jun 2010 at 11:33