Recording with Eggplant? - eggplant

When a coded UI test in Eggplant fails, it gives a screenshot of exactly where the script failed at. I want more than just a screenshot, however. I want a video recording of the test running, so I can have a better idea of why the test is failing.
Is there feature in Eggplant that allows me to video record a test? Or maybe there is some way SenseTalk or an Eggplant extension that can do this for me and log it in a .wav file?

Here are a couple of ideas:
Find a screen-capture tool that you can run from a batch file, and
call that batch file in your eggPlant Functional script. (I found
several options by searching for "start screen recording from batch
file".) The SenseTalk command would look like this: Shell
"StartRecording.bat".
If you are running eggPlant Functional on Mac, you can try the
deprecated StartMovie and StopMovie commands.
Happy Scripting,
Pamela

Eggplant has built-in recording features.
You no longer need to be on a Mac to record a movie; any machine running Eggplant on any SUT can record a movie.
From the documentation:
StartMovie "/path/to/record/the/movie"
//Section of test script you want to record
StopMovie
This will save the video as an .mkv file, which can be opened in VLC Media Player, if nothing else.

Related

Modify basic files used with gwbasic

I have a batch file which launches other .bas files with the help of gwbasic.
Here is the code of the batch file:
graphics
cd basic
gwbasic menut-hp/d
cd \
Then I have the possibility by typing 1 or 2 etc + ENTER to choose which program i want to run. The programs are located in the same directory as my batch file. The programs are xxx.BAS files.
The problem is:
I have a piece of software written in GWBASIC that currently is set up to just print locally to LPT1.
When I disconnect the local printer, the software (gwbasic i guess) sends automatically the things to print to the network printer.
The result is that a lot of A4 papers come out with only a few lines written.
On the local printer, the printer only printed when i exited the batch program.
On the network printer, it's like its non stop synchronizing, and not only when i exit the batch program.
I see 2 solutions:
manage to put a tempo for the printing on the network printer (to refresh every 2 minutes for example)
or try to add a line in the .BAS files, to save the text in a .txt of .pdf file, instead of printing it.. or print it in a pdf file.
I have almost no idea how gwbasic works, even after some researches.
Moreover, i haven't managed to view (and modify) the code of the .BAS files
Sorry for my bad english,
If anyone has any idea, it would help me a lot!
Thank you very much :)
Maybe later, but I enjoy scripting with BASIC and CONSOLE APP.
I recommend you run a command BAT before you BAS code to get default printer
wmic printer get name,default | find "TRUE" > Printer.txt
With this linen you get the similar response into Printer.txt
TRUE Microsoft Print to PDF
After that, in your BAS code, read them and validate printer name or discard network printer before print.
Happy coding!

Editing MP3/Wav Files in a Flutter App (Dart)

Is it possible in a Flutter App to "concatenate" sound files without calling Swift/Java code to handle it for me? (Partially because I don't know Swift, and partially because I haven't figured out ffmpeg yet) The microphone provides either mp3 or wav files, and either works fine for me.
I'm attempting to make a Recording app that has more functionality than the ones I've previously found. Specifically, I want it to be able to pause the recording for an indefinite amount of time, and start again WITHOUT creating two files for the user to save -- it should combine them and save it later as a single file.
You can take a look about this
medcorder_audio
and for splitting
audiocutter

UIAutomation iOS(test cases in Javascript UIAutomation)

I am working on UIAutomation. My question is can we take inputs from local json file in UIAutomation Script file. Means in UIAutomation Javascript can we execute data from other files. i want to give some inputs from other files in uiautomation java script file.
It sounds like you want to have a data driven test for your UI.
Appium is an open source library that should allow you to write automated tests in whatever language you want. If you want to take input from a local file, write your test to read the inputs from that file.

How to copy audio stream using FFMpeg API ( not a command line tool )

I'm developing some Video Editing Apps on Android.
the objective of the app is "Editing Videos on Android".
and...
I'm just completed making video file using some images.
but.. I can't attach audio into the video.
my method is same as follows.
1.VideoStream, audio stream creation using AVFormatContext
2.Movie encoding in video stream was successful
3.Encode codec open in audio stream was successful
4.Set sample format to AV_SAMPLE_FMT_FLTP
5.Sample rate and channel was set same as source audio
6.Choose appropriate Decoder and read packet
7.Convert packets using swr_converter, setting same as sample format
8.Encode converted data
9.memory deallocation
10.END!
Problem is here:
Video of finally created video file was normally played. but the Audio wasn't.
It heared like weird. It have many noises and plays slowly.
I've googled with many keywords but they only say about "FFmpeg command line usage".
I wanna make with FFMpeg API. not a Command line tool.
Please help.
Your question is vague without some kind of code to go along with it, as trust me there are a lot of things that can go wrong when using ffmpeg's libraries directly (and on Windows there is no debuging). Unfortunately ffmpeg's libraries are not well documented so it is generally best to read the source code for ffmpeg in order to use its libraries. Find the equivalent command line options to perform what you want and track that through ffmpeg's source to see the library calls.

Unable to record Upload Panel using JMeter

I have an upload panel in my seam application and I want to record this using Jmeter.
But this tool does not allow to upload the file whereas manually I can do that.
So any suggestion on how to do that?
Put the file in jmeter/bin folder and it should work.
You can use firefox for recording.
Why not to search first through jmeter-tagged questions?
Asked many times before.
Look into these:
JMeter - File upload and file download scenario
Jmeter Upload Error in Recording

Resources