MuraliKola / robotframework-seleniumlibrary

Automatically exported from code.google.com/p/robotframework-seleniumlibrary
Apache License 2.0
1 stars 0 forks source link

I directly compile the Flex source file in Demo package to LoginApp.swf, and replace the original LoginApp.swf, but execute automatic test fail #177

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
1.I directly compile the Flex source file in Demo package without any 
modification to LoginApp.swf,;
2.replace the original LoginApp.swf,and execute rundemo.py;
3.but execute command "Select Flex Application loginApp" fail.

error:
11:18:14.830 INFO - Command request: isElementPresent[loginApp, ] on session 
f9d589dbbc8c497e961efe2fad767546
11:18:14.845 INFO - Got result: OK,true on session 
f9d589dbbc8c497e961efe2fad767546
11:18:14.845 INFO - Command request: waitForFlexReady[loginApp, 5.0] on session 
f9d589dbbc8c497e961efe2fad767546
11:18:19.861 INFO - Got result: Timed out after 5000.0ms on session 
f9d589dbbc8c497e961efe2fad767546

Original issue reported on code.google.com by genglz1...@163.com on 22 Feb 2011 at 4:06

GoogleCodeExporter commented 8 years ago
I use Flex builder 4 to compile.When i am debugging,Flex builder reports error:
SecurityError: Error #2142: 安全沙箱冲突:本地 SWF 文件不能使用 
LoaderContext.securityDomain 
属性。file:///D:/MyEclipse%208.x/Workspaces/Lego-UI-Tag/src/org/apache/struts
2/static/flex/LoginApp.swf 正在尝试加载 
file:///D:/MyEclipse%208.x/Workspaces/Lego-UI-Tag/src/org/apache/struts2/static/
flex/FlexPilot.swf。

Original comment by genglz1...@163.com on 22 Feb 2011 at 4:10

GoogleCodeExporter commented 8 years ago
1) Are you able to run tests successfully with the original swf?

2) Did you have FPBootstrap package in source path when you compiled the 
source? See FlexTesting wiki page for more information about compile and 
execution time dependencies.

Original comment by pekka.klarck on 22 Feb 2011 at 4:24

GoogleCodeExporter commented 8 years ago
1)It can run successful with the original swf;
2)I have added the FPBootstrap package into the source path.I have reference 
FlexTesting wiki page, but still not successful。Coulld you please provide 
detailed compiling steps.

Original comment by genglz1...@163.com on 23 Feb 2011 at 2:12

GoogleCodeExporter commented 8 years ago
The demo is compiled with Flex sdk 3, and uses FlexPilot compiled with Flex sdk 
3. If you compile with Flex 4, you need to replace the FlexPilot.swf used in 
the demo (located in demoapp/flex) with a version compiled with Flex 4 
(https://github.com/downloads/mde/flex-pilot/FlexPilot-4-stable.swf). That 
should do the trick.

Original comment by janne.t....@gmail.com on 23 Feb 2011 at 7:21

GoogleCodeExporter commented 8 years ago
Closin due to lack of information.

Original comment by pekka.klarck on 27 Apr 2011 at 11:30