Reset Database To Known State Between FlexUnit4 Integration Tests?
Oct 24, 2010
I have a Flex web app that communicates with a Java back-end via BlazeDS. The Flex client is composed of a flex-client module, which holds the views and presentation models and a separate flex-service module which holds the models (value objects) and service objects.
I am in the process of writing asynchronous integration tests for the flex-service module's RemoteObjects using FlexUnit4. In some of the tests, I modify the test data and query it back to see if everything works (a technique shown here: [url]...
How do I go about resetting the database to a known state before each FlexUnit4 test method (or test method chain)? In my Java server integration tests, I did this via a combination of DBUnit and Spring Test's transactions -- which rollback after each test method. But these Flexunit integration span multiple requests and thus multiple transactions.
View 3 Replies
Similar Posts:
Jun 28, 2010
I want to write integration tests for a Flex application using pureMVC architecture.The back-end is sqlite.
View 1 Replies
Mar 12, 2011
I am setting up a FlexBuilder build under Hudson/Jenkins on a Linux system. I want to execute our unit tests, but do it without using the standard GUI-based test runner.
View 1 Replies
Mar 15, 2007
Is it possible to pull questions from a data file into flash without having to create new frames for every question. This would be a multiple choice test. We currently hand type the questions into multiple frames and grade at the end.
View 1 Replies
Sep 10, 2008
I added a child (addChild(myCllip) ) and then i change properties of other movieClips inside it then i remove it.
My problem is that when i addChild it again i remains the same when i removed it.
Its there a way to reset the to the original state of the movieClip when i addit again?
View 5 Replies
Jun 5, 2006
I know how to pass vars from php to flash and from flash to a "new" php page but here is my question.
I have a php page (page1.php) with some HTML and a php variable called $number. page1.php also has an embedded test.swf movie. While working with the test.swf movie, I want to send data back to the $number var on the page1.php without reloading the page1.php because then it would reload the test.swf movie.
I have been able to use javascript to change background colors on page1.php from within the test.swf movie but cannot figure out how to set a php variable from within the test.swf movie.
View 2 Replies
Jul 14, 2006
Im new to data input using flash,how to connect to a mysql database.
View 5 Replies
Sep 7, 2007
I'm wondering if the following can be done with Flash -
- can a swf contain it's own database that the user can add, delete, read?
- while the view is online, entering and interacting with the data- is it being sent back and forth to the server?
- can this database be protected with some sort of encryption that is only unlocked by the user's code?
- and so that if the user emailed the swf or the db file from within the swf, only a person with the key could access the data?
View 3 Replies
Nov 21, 2007
I need to create a database using Flash which gets the data such as "name , last name..." from the user and stores it in a database.
View 1 Replies
Jan 11, 2008
I am running CS3. I want to access and update a MS SQL database through ASP but I could not find data components to download for CS3. I found Phil Heinz's tutorial[URL] but it is for MX Pro 2004. Should I be using Flex to do this or will the Flash 8 data components work on CS3?
View 2 Replies
May 15, 2007
I would like to build a dynamic webdatabase.(One form that updates text and bit-maps.)I must use Microsoft ACCESS or mySQL.Is it possible and is there any video tutorials out there?I heard a lot of "tissling and tassling" that flash is not
well suited to work with databases.
View 1 Replies
May 18, 2007
I am creating e-learning material that will be accessedonline by students. Is there anyway that Flash can write to adatabase to tell us how long the student was logged in for and how
long there were on a page?
View 1 Replies
Apr 13, 2007
where you can load an image from a SQL database ? I would like to show this image in Flash, but i don't know how to load in from a SQL database using ASP.
View 2 Replies
Mar 16, 2007
I have made a .swf file that scrolls boxes- these boxes willin the end contain products contained in a ASP database. Here isthe problem, I don't know how to get the Flash movie I have made toSince I don't know flash that well, I have made transparentbuttons to go over the scrolling boxes to open a URL with theaction scripting -----on (release) {getURL("http://www.myurl"); } This works finebut I would like the content in the scrolling boxes to changedepending upon items in an ASP database. In the database, there isan area to specify "featured" items, which are dynamically put onthe site in specified areas where tags(anchors) for the "featured"items are placed. What I think I should do is code the tag(anchor) for the"featured" item into my flash movie but I don't know how to dothis.
View 1 Replies
Mar 13, 2007
I am trying to create a 'Password' database with flash to push both to and from an external database, the only problem is that I do not want to have to run IIS or Apache or any other web server. Is there any way to read a non localhost/web based type database within flash? If so can someone point me to a tutorial or
at least in the right direction?
View 2 Replies
May 11, 2006
Is it possible for flash to accept value from a database?There is a database storing values "postions" and "descriptions" (there are 2 coloumns named so to store the values).In flash I want to accept the values entered in these 2 coloumns. How to go about it? If I create 2 dynamic text boxes with variable names "p" and "d" respectively and an "accept" button on the scene, what script should I add to the button so that these text boxes accept the values?
so my 2 queries are:
1) how do I send the value from the database to flash?
2) how do I accept the same in flash?
View 2 Replies
Dec 23, 2008
im trying to figure out if there is a way to use flash as a front end for a database. i need flash to be able to search the database for part numbers and match the part number with an excel file and be able to open the excel file from flash.
View 3 Replies
May 9, 2008
Is there a tutorial somewhere that tells/shows how to display an image from a db. I have my image paths in a mysql db and I am using php to display my other text fields. I just haven't been able to get my images to show. Below is the code that I am using so far. Here is my actual goal, I am trying to have a flash document the has a list in the datagrid that is connected to a mysql db. I have successfully done this. When a user clicks on a product in the datagrid it populates the details below the grid and I have done so successfully. What I now need is to show a picture of the product in the details section. I would also like to see how to show different images for different vendors, each vendor has its own image size, so if I put just one image placeholder then some of the images will be scewed. I need something that shows image in placeholder 1 if company=1, show image in placeholder 2 if company=2, etc.
View 1 Replies
Jan 22, 2008
[Code]...
It will not load the image from the database using ASP. I set Images as a variable from ASP. It was displaying "images/img1.jpg" instead of image visually.
View 1 Replies
Jun 8, 2011
I'm working on Flash project for which I have to conenct to Oracle database, retrieve data and display it.Is it possible to connect to Oracle database from Flash?
View 2 Replies
Dec 3, 2004
integrate flash forms with any database,without using ASP or any other scary programming.All I want is to insert & retrieve data from a database directly from my flash movie.
View 5 Replies
Apr 22, 2008
1. I wish to build a questionnaire with 14 questions where the user can answer Yes or No each question.
2. Then I would like to save these answers in a mySQL
[Code]...
View 1 Replies
Apr 13, 2007
how to store the data in to a database using flash form(actually i created the frontend ie all input text feelds, but iam unable to save the data into the same system. i dont need to send the data through the net to any server or idont need to email it.
View 4 Replies
Jun 7, 2011
SharedObject not support for iPhone? iphone support any database for iphone application ?
View 6 Replies
Mar 12, 2007
I have a standalone flash app that needs to get user inputand send it to a remote server / database. When I use the methodbelow, a browser window opens which I don't want to happen - I wantthe data to be sent but not display the page.
my_lv.fname = fname;
my_lv.lname = lname;
my_lv.emailaddr = emailaddr;
[code].....
View 1 Replies
Sep 16, 2008
I have a project that sends queries to a database and receives XML formatted data:
Markets_xml = new XML();
Markets_xml.onLoad = readMarketsXML;
Markets_xml.load("
http://208.62.199.74/ws_ckp_data/Service.asmx/GetMarkets?MarketName=Al l&MarketTypes=Industrial");
Markets_xml.ignoreWhite = true;
This works fine when I test the movie from Flash (on my local machine) and if I type the query string directly into my browser, I get the correctly formatted information. The problem arises when I post the swf to my server and test. From my server, I get nothing The swf files and the data are on different servers. Is this the problem? What is a good quick solution.
View 1 Replies
Apr 22, 2011
I want to create a slideshow banner that will showcase our products. The slideshow will contain the image of the product, the name, the price, the item code and the link when someone clicks on it. Each week we update the best sellers and it can be from 5 to 15 different products. Similar to what we have now in our website www.deiequipment.com which now is static, we want to animate it and rotate the products like a slideshow.The problem we are encountering is that we have to manually update the slideshow content.
We would like to know if there is a way through scripting or catalyst to connect to a database and simply update all these fields automatically. So for example if the database has 5 items, automatically will pre-fill each field listed above and the slideshow will have 5 products.
If we update the database now with 10 products, to update automatically. That way we can create 1 slide show, the time it takes to rotate to the next product, and add simple button controls to the slide show for next and back that will simply go through the loaded items.I tried to do a research on how to do it online but some takes me to scripting, others to catalyst dabases, but none are specific to what I need.As a note, the image will just be an image holder that will be updated with the image field in the database that points to the URL location of the image.
View 10 Replies
Feb 16, 2009
Can anyone help me with getting a message that is said in flash (like a game) go to a mysql database?
View 2 Replies
Nov 10, 2010
This tutorial will guide you through the steps of sending information into a Microsoft Access Database using a Flash form and ASP as a server side script.[URL]..but when i upload files and open site and click "submit" show me this error:
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Microsoft Access Driver] Operation must use an updateable query.
/processForm.asp, line 15
View 3 Replies
Jun 23, 2010
I"m a bit confused because FlexUnith 4's behavior. When I use fail() in try-catch body fail method is just ignored.
[Code]....
I suppose this one should fail as there is no way around it, but it succeeds and turns green. Whatam I doing wrong? When i put fail() before try-catch block it fails as it is suposed to. BTW using Flash builder 4.
View 1 Replies