Ruby :: Selenium IDE And Telling It To Record Actions?

May 10, 2010

I am trying to make a little application to allow to record actions within a Flash and Silverlight application. In such manner that you can compile your interactive application in test-mode and then be able to click on elements which then passed the action to Selenium IDE which then adds this command to the testcase.I am curious if this even possible and how I can achieve this in Firefox?

View 1 Replies


Similar Posts:


Ruby On Rails :: Test An Uploadify File Upload With Selenium?

Sep 13, 2011

Is there any way to usefully test an Uploadify file upload with Selenium? I'm using Capybara with Rails, but really, any solution with Selenium would be a starting place. I'm worried I may have to disable Uploadify for Selenium testing.

View 2 Replies

Flash :: Selenium (or Other Record / Playback Tool For Authoring Tests)?

Nov 1, 2010

is there something like Selenium for Flash? Or any other record/playback tool for authoring tests for Flash?

View 3 Replies

ActionScript 3.0 :: Object Created In A Frame's Actions Telling Parent Frame To Delete It?

Jan 21, 2009

I've got an object (an instantiation of my own class that extends Sprite) being created in the actions for a frame, like this:

Code:
import Scripts.CFoobar;
var foobar:CFoobar = new CFoobar();

[code]........

View 2 Replies

Ruby On Rails :: Flex - Ruby On Rails Routing Error

Feb 11, 2010

I was developing the Application in Flex and ruby on rails.

It is working fine some times. but some times i am getting routing error.

Error: "No route matches "/index.html" with {:method=>:get}"

Here index.html is my login page

View 1 Replies

Flash Automation Using Selenium

Sep 7, 2010

I m struggling a lot to automate flash using selenium.Can any one please give me a sample flash application code (methods) and the selenium code to automate the same.

View 3 Replies

C# :: Intercepting A Javascript Function Call With Selenium?

Oct 14, 2010

I have a test where I have to check that when a particular item is selected on a web page, the item is loaded into a flash object on the same page. This being done via Javascript. I have to check whether the parameters being passed to flash by Javascript are correct(i.e. the right item is being passed to flash). The only way I can imagine as of now is to intercept these javascript functions and somehow read their parameters.

View 1 Replies

Flash :: Selenium Calling The Wrong Methods?

Dec 13, 2010

Seems like sometimes when Selenium should call a certain method, it instead calls another, as pointed out by the following log

[Code]...

I've tried both Selenium server 1.0.3 and the 2.0 alpha 7 versions, they both display this behaviour. FlashSelenium is involved so I'm not sure where along the way lies the bug. Furthermore it's hard to reproduce as it doesn't happen only for some methods, and doesn't always happen.

I've tried searching for issues similar to these but couldn't find any remotely similar... Anyone experienced the same behavior? And if so, is there a fix for it? Edit: I doubt FlashSelenium is at fault for this, as the log tells that the command arrives correctly at the server... But I can't seem to be able to follow the path of execution from the moment the Selenium server gets the command and passes over to the browser, to the moment where it gets the response.

View 1 Replies

Delete Flash Cookies In A Selenium Script?

Jun 17, 2011

I'm running a selenium script that tests an authenticated application.

The application uses a flash cookie to know if a user is authenticated to the site. Mid-script I need to delete the flash cookie.

I've tried to script the flash player settings page [URL] with no luck.

We use PHPUnit/Selenium if that helps.

View 1 Replies

Taking Screenshot Of Flash Object Using Selenium With Webdriver

Oct 4, 2011

When I take a screenshot using Selenium Firefox Webdriver (yes, Firefox has flash plugin) it doesn't show the flash object. It shows merely a white box instead. Is there something I must do / install?

I'm using this code:

from selenium import webdriver

def webshot(url, filename):
browser = webdriver.Firefox()
browser.get(url)
browser.save_screenshot(filename)
browser.quit()

View 2 Replies

Flex :: Compare QTP / RIATest / Selenium For Application Automation Testing

Dec 4, 2009

which tool should i use QTP, RIATest , Selenium for Flex Application Functional Automation Testing. please help me compare them with different advantages and disadvantages.

View 6 Replies

Media Server :: Can't Continue To Record Stream With Record Mode "append"

Apr 11, 2012

I develop failover fms application with server-side action script. But i have a problem that FMS can't continue to record stream with record mode "append".
 
Environment: FMS 4.5.1 r484 on CentOS 5.5/6.0
 
Goals:

I have 2 same data streams in failover application and republish primary to livepkgr application.

I have to store of last 10 hours intact recorded video (DVR).
 
Failover app logic:

1. I create NetConnection and NetStream to livepackager;

2. When primary stream is connected it attach the primary stream to livePackager NetStream

3. If primary stream is disconnected it reattach the backup stream to livePackager NetStream
 
Problem: I have testing environment. It stop primary stream every 5 min, and started primary stream 5 min after stopping.
 
It work's, fine, but after a few hours testing LIVEPACKAGER falls. It can't record a stream, NetStream.Record.Start -> NetStream.Record.NoAccess -> NetStream.Record.Stop
 
Search a solution: I try to relaunch recording process and have no success. try to shutdown/start livepackager, it's same, try to restart server, same no success.
 
I cant stream.clear() or record with mode "record" cause it clears my dvr cache, I cant clean stream directory in livepackager application.

[Code]....

View 5 Replies

ActionScript 3.0 :: Timeline Actions Ovverriding Actions In New Frame?

Jun 19, 2011

I have a series of frames one the timeline. Each frame has a graphic and a mouse click leads to the next frame. Think Myst.

[Code]...

When the middle frame is returned to, clicks no longer change anything. I believe that the actions of the 'left' frame are replacing the one's in the middle frame so then it is told to gotoAndStop to itself.

I'd like to know if that is indeed what is happening and how I can make it stop.

View 1 Replies

ActionScript 1/2 :: Put Another Set Of Actions In Frame 2 Of The Actions Layer?

Sep 29, 2010

1. Can i put another set of actions in frame 2 of the actions layer?i tested but it doesn't seem to work..it has 836 rows of code and it's getting annoying when tryin to search for a function..
 
2. I am not that familiar with classes, i usually put all the code into movieclips or in actions layer.. i am not sure if i can call a function from a actionscript class..
 
3.I am curios if there is any way i could specify an alternative for the if statement like in this pseudocode:
 
if ( apple is not clean BUT is tasty)
{
eat(apple)
}

View 5 Replies

Php :: Flash - Telling Apart F4V From MP4 Files?

Dec 29, 2011

Both F4V and MP4 files have "video/mp4" as their MIME type. However, I'm working on a Wordpress blog where I want uploaded F4V files to be shown using a Flash video Player, and MP4 files using the HTML5 [video] tag. Obviously, I can't tell them apart using their MIME type. Is there any other way I could do it, aside of the file extension?

View 1 Replies

ActionScript 3.0 :: Telling If A User Is Online Or Not?

Feb 20, 2009

In a game, how would I go about keeping records if a user is online or offline? I know when they logged in it could set something in the database that would indicate that they are online, however how would I know when they logout in any other method than pressing the "logout" button? Say if they just closed their browser..

View 2 Replies

ActionScript 3.0 :: Telling If An User Is Online?

Feb 21, 2009

tell if a user is online, once they log in I set something in the database that say's they're online, when they log out change that. And set something up so they will d/c after 5-10 minutes of inactivity in case they log off any other way besides hitting "log out" However, I'm not exactly sure how I would do this, because the only way that I can think of wouldn't work, because say if they just closed their browser, then it would stop running my application, and thus stop running my check to check for inactivity..

how I can make sure if a user is already logged in accurately?

View 2 Replies

ActionScript 2.0 :: [F5] Telling A Movie To Wait

Nov 6, 2003

Is there a way to tell a movie clip to way a number of frames from a specific action being executed (say a button being pushed) before it starts playing?

View 2 Replies

ActionScript 3.0 :: Telling When Alpha Tween Has Finished?

Mar 29, 2009

I have got a button that is disabled and an alpha Tween that last for 300 frames, how do I enable the button when the Tween has finished?

View 4 Replies

ActionScript 2.0 :: Telling Dynamic Text To Update?

Nov 3, 2009

From my main timeline actions, how can I tell a dynamic text box inside a movieclip to update? I have a movie clip with the dynamic text box called catalog. The instance name for the text box is catalogtext. On the main time line, I am using a loop to repeatedly attach the catalog movie clip. I want the dynamic text to show the value of i, and each time the movie clip is reproduced, increase by 1 each time.

Here is my current attempt:

for (i=1; i<=9; i++) {
container.attachMovie("catalog","catalog"+i+"_mc", i+200);
mycatalog_mc = container["catalog"+i+"_mc"];

[code]....

Everything works fine, but the text box won't show the value of i. I must not be calling it correctly?

View 2 Replies

ActionScript 3.0 :: Loaded Swf Telling Parent Swf To Unload Itself?

Sep 23, 2010

I have a shell swf that is loading a swf. How do you have the loaded swf tell the parent loader to unload itself after the loaded swf finishes playing?

View 3 Replies

ActionScript 2.0 :: Telling Parent Movie From Loaded Swf

Jul 7, 2004

I have a parent movie that loads a swf(events.swf) file into a movie clip with an instance name of container. (container.loadMovie("events.swf");) It loads fine and seems to work great.

events.swf has a movie clip inside of it called design_mc that contains the content. In that movie clip I have a button that needs to target the parent movie and tell it to gotoAndPlay("eventsout"); which is on the _root of the parent movie. However, anything I try will not target the parent movie. I've tried _parent, _parent._parent, _root, and even assigning the parent movie this._lockroot = true; . Nothing seems to target the parent movie.

View 4 Replies

ActionScript 2.0 :: Telling Loaded Movie To Play();

Feb 28, 2007

I have a main movie(main.swf). I've loaded a movie into it(loaded.swf). I need the loaded movie to finish playing once a button is clicked in the main.swf. So basically i need something like

when a button in the main.swf is pressed, finish playing "loaded.swf"

View 6 Replies

ActionScript 2.0 :: Telling A Null Value In The _droptarget Property?

May 23, 2002

Is there a way of telling a null value in the _droptarget property?

Basically I've got 9 draggable objects, and what I want them to do is if there is no _droptarget when you release the drag, flick back to it's riginal position.

View 2 Replies

IDE :: Telling MovieClip How Many Pixels To Move In X Direction

Apr 29, 2009

I'm moving a movie clip using actionscript (as2) instead of a motion tween (because I want to save file size) and I have this code on the first frame of the main timeline ("stone" is the movieclip instance name) and it tells the movie clip how many pixels to move in the x direction:
Code:
xTargetstone = 600;

I have this code on the movie clip itself ("stone" is the mc instance name) to handle the actual moving of the movie clip:
Code:
onClipEvent (enterFrame) {
xstone = getProperty(_root.stone, _x);
movestone = _root.xTargetstone - xstone;
setProperty(_root.stone, _x, xstone + (movestone/5));
}

The movement works fine, but the issue is that it starts out fast and then slows down over time (even though that amount of time is small). The result is that the movie clip seems to wiggle and vibrate before it stops. Is there a way for me to change the code so that it doesn't wiggle and vibrate? perhaps something with the math I'm just not totally understanding? I would like a nice consistent motion from start to finish, while being able to set the time it takes to move etc.

View 4 Replies

ActionScript 2.0 :: Telling What Percentage Of MovieClip Covered?

Feb 16, 2004

I am making a game and need to know how much a particular mc is covered by other mc's placed randomly on the screen. Is there a way to tell how much is left seen of the mc as it's slowly being covered by other mc's?

View 3 Replies

ActionScript 2.0 :: Telling Parent Movie From Loaded Swf?

Jul 7, 2004

I have a parent movie that loads a swf(events.swf) file into a movie clip with an instance name of container.

(container.loadMovie("events.swf");) It loads fine and seems to work great.events.swf has a movie clip inside of it called design_mc that contains the content. In that movie clip I have a button that needs to target the parent movie and tell it to gotoAndPlay("eventsout"); which is on the _root of the parent movie. However, anything I try will not target the parent movie. I've tried _parent, _parent._parent, _root, and even assigning the parent movie this._lockroot = true; . Nothing seems to target the parent movie.

View 4 Replies

Telling A Movie To Goto A Random Frame Label?

Feb 12, 2002

anyway to write a piece of code telling a movie to goto a random frame label?

View 4 Replies

ActionScript 3.0 :: Telling Compiler To Reference MovieClip From String

May 3, 2010

I'm trying to keep my code succinct by naming my section labels the same as the buttons that navigate to them. I've also put the contents of each page in a movie clip of the same name with suffix _mc. The following code successfully traces the name of the movie clip, but how do I tell the compiler that I want to reference the movie clip whose name is held in the string, rather than the string itself.

function clickSection(evtObj:MouseEvent):void {
currentContent = currentLabel + "_mc";
trace(currentContent);
currentContent.alpha = 0;
gotoAndStop(evtObj.target.name);
mainNav_mc.gotoAndStop(evtObj.target.name);

View 3 Replies

Flex :: Spark VideoDisplay - Telling Whether The Video Is Currently Playing?

Jan 26, 2011

I'm writing a Flex video player with a "slow advance" button, and my first approach is to simply toggle between play() and pause() on a timer. I'd like to say something like

if (video.isPlaying) {
video.pause();
} else {
video.play();
}

But I can't find anything like an 'isPlaying' property.

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved