Saturday 17 April 2021

How to Capture and Record an iPhone or iPad Screen Video?

How to Capture and Record an iPhone or iPad Screen Video?

Since 2012, things have changed quite a lot when it comes to recording your iPhone or iPad screens.


The most known option at the time to record a video of what was on your iOS device’s screen was to use the simulator on your Mac. Because video is being used more and more to present an app (whether it’s for an App Preview, a promo video or a video ad), Apple an other companies have made it much simpler for us.
Let’s take a look at your options.

QuickTime Player


This option was introduced with iOS 8 and OS X Yosemite, and is what we recommend to record iPhone screen or iPad screen. All your need is:
  • An iOS device running iOS 8 or later
  • A Mac running OS X Yosemite or later
  • Lightning cable (the cable that comes with iOS devices)
No need for jailbreak, a third party app or additional hardware.
Here are the steps to do it:
  1. Connect your iPhone or iPad to your Mac via the lightning cable
  2. Open QuickTime player
  3. Click File then select ‘New Movie Recording’

  4. A recording window will appear (with you in it, most likely). Click the little arrow of the drop down menu in front of the record button, then select your iPhone or iPad


  5. Select the Mic of your iPhone if you want to record music/sound effects

  6. Click the Record button. Now perform the tasks on your iOS device that you want to record
  7. Once done tap the stop button and save the video.
Quick tip: by hitting Cmd + T you’ll be able to directly trim your video before saving it, so you only keep the relevant part of the recording.

ScreenFlow

ScreenFlow provides a similar way to record your iOS devices, like QuickTime does. The bonus is that you can also edit the video within ScreenFlow, instead of having to open another program, like iMovie.
Sometimes, ScreenFlow is also better at capturing video, where QuickTime can be choppy. Since QuickTime is free, you should try that first.
But if that doesn’t work to well, then give ScreenFlow a try.
To get started, simply plug in your iOS device to your Mac with a Lighting cable and open ScreenFlow. It will automatically detect your device and give you the option to record that screen.


Make sure that the Record Screen from box is checked and the right device is selected. If you want to record the audio too, check the Record Audio from box and make sure that the right device is selected.
Then hit the record button and start doing your app demo. Once you are done recording, ScreenFlow will open the editing screen.
Easy right?

Elgato

Before Apple made it simple to record your iOS device with the QuickTime player, at Apptamin we used one of the Elgato game capture devices which was mostly known to gamers.
Here was the full setup:
  • iOS device
  • iPhone to HDMI adapter.
  • HDMI cable
  • Elgato game capture device.
Check out the video below for more information.
[youtube]http://www.youtube.com/watch?v=YlpzbdR0eJw[/youtube]

Reflector

We also used the Reflector app at the very beginning, and still use it for specific videos when shooting live.
Reflector 2 currently costs $14.99 and let’s you mirror what’s happening on your iOS or Android device screen on the computer, using AirPlay mirroring or Google Cast . There are Mac and Windows versions.
What’s great about Reflector is that it does not require any cable: just your iPhone (or iPad) and a computer.


Reflector can record your iPhone screen at up to 60fps, lets you include device frames when recording and record multiple devices at the same time. However, it is not possible to record with a resolution as high as you can do with QuickTime player (1080 x 1920 with an iPhone 6 Plus for example).

Apowersoft iPhone/iPad Recorder

Another option to record iPhone and iPad screen is by using Apowersoft iPhone/iPad Recorder. It features iOS screen mirroring, recording and screenshot taking. Without jailbreaking your devices, you can easily do this trick by utilizing Apple’s AirPlay function.


Simply set your iDevice and computer (Windows or Mac) under the same network, then you can successfully connect and mirror iOS screen. This application supports recording screen with audio from your phone system, microphone, both or none. You can select the desirable audio input for capturing as you wish.

Record Directly From Your iPhone or iPad

If you jailbreak your iPhone or your iPad, you’ll be able to record your screen without any cable or computer by using the Display Recorder app ($4.99) on Cydia. Even if your device runs iOS 9 (I’m assuming they’ll keep updating the app).
Several options allow you to define the video/audio format (cannot record system audio), the framerate (on a scale, you can’t actually choose which framerate you’re using) , whether to show “taps” (a circle that highlights where the taps are done) or if the phone is used in portrait or landscape mode.
Here is more information.
On older versions of iOS it seems that this could be done with the Shou app as well.

Conclusion

So that’s how it’s done. Choose the method that works best for you and fits your budget.
Stay Tuned for such more tutorials @https://vikasgarg-selenium.blogspot.com/

Wednesday 6 February 2019

Read Excel Input Files In yours selenium projects using a new way, FILLO API.

FILLO API: FILLO SELENIUM:

Fillo is an Excel API for Java and you can query xls & xlsx files. It supports DDL , DML AND DCL commands over SQL.


==============================================================


1.FILLO SELECT

SELECT SQL:
===========

Syntax:
SELECT column1, column2, columnN FROM table_name;



USING SELECT:
=============
public class Filo_Select {
public static void main(String[] args) throws InterruptedException {

 Fillo fillo=new Fillo();
 Connection connection=fillo.getConnection("C:\\VikasTest\\TestingExcel.xlsx");
 String strQuery="Select * from Sheet1 where name='Vikas'";
 Recordset recordset=connection.executeQuery(strQuery);

  while(recordset.next()){
  System.out.println(recordset.getField("Details"));
 }

  recordset.close();
 connection.close();
}

}

2.FILLO UPDATE:
================

Fillo is an Excel API for Java and you can query xls & xlsx files

It supports DDL,DML AND DCL COMMANDS


public class Filo_Update
{
public static void main(String[] args) throws InterruptedException
{

 Fillo fillo=new Fillo();
 Connection connection=fillo.getConnection("C:\\VikasTest\\TestingExcel.xlsx");
 String strQuery="Update Sheet1 Set Course='selenium' where name='Vikas'";

 connection.executeUpdate(strQuery);

 connection.close();
}
}


3.INSERT FILLO:
=================

INSERT IN SQL:
=============
SYNTAX:
========
INSERT INTO TABLE_NAME (column1, column2, column3,...columnN)]
VALUES (value1, value2, value3,...valueN);

Here, column1, column2,...columnN are the names of the columns in the table into which you want to insert data.


//EXAMPLE INSERT COMMAND

public class Filo_Update
{
public static void main(String[] args) throws InterruptedException
{

 Fillo fillo=new Fillo();
 Connection connection=fillo.getConnection("C:\\VIKAS\\TestingExcel.xlsx");
 String strQuery="INSERT INTO Sheet1(Name,Course) VALUES('VIKAS','SELENIUM WITH JAVA')";

 connection.executeUpdate(strQuery);

 connection.close();
}
}


4.FILLO::MULTIPLE WHERE CONDITION IN FILLO:
===============================================
FILLO::MULTIPLE WHERE CONDITION IN FILLO:
========================================
Syntax:
=====
Recordset recordset=connection.executeQuery("Select * from Sheet1 where column1=value1 and column2=value2 and column3=value3 and column4=value4");


//Example

public class Filo_Update
{
public static void main(String[] args) throws InterruptedException
{

 Fillo fillo=new Fillo();
 Connection connection=fillo.getConnection("C:\\Vikas\\TestingExcel.xlsx");
 String strQuery="INSERT INTO Sheet1(Name,Course) VALUES('Vikas','SELENIUM WITH JAVA')";

 //with multiple where conditions
 Recordset recordset=connection.executeQuery("Select * from Sheet1 where column1=value1 and column2=value2 and column3=value3");

 Recordset recordset=connection.executeQuery("Select * from Sheet1 where Name=Vikas and Course=SELENIUM WITH JAVA and ID=3");

 connection.close();


5.FILLO:WHERE METHOD:
======================
FILLO:WHERE METHOD:
=====================

Syntax:
======
Recordset recordset=connection.executeQuery("Select * from Sheet1").where("COLUMN=VALUE").where("COLUMN=VALUE'");


//Example on where method in fillo

public class Filo_Where
{
public static void main(String[] args) throws InterruptedException
{



 Fillo fillo=new Fillo();
 Connection connection=fillo.getConnection("C:\\VikasTest\\TestingExcel.xlsx");


 //with  where method
 Recordset recordset=connection.executeQuery("Select * from Sheet1").where("Name=Ramesh").where("Course='Selenium'");

 connection.close();
}
}




6.FILLO Set table starting row and column:
==========================

Syntax:
========

//Table start row
System.setProperty("ROW", "rownumber");

////Table start column
System.setProperty("COLUMN", "columnnumber");


//Example on Set table starting row and column

public class StTableDemo {
 public static void main(String[] args) throws InterruptedException {

  // Now set table start row and column

  // Table start row
  System.setProperty("ROW", "1");

  // Table start column
  System.setProperty("COLUMN", "4");

  Fillo fillo = new Fillo();
  Connection connection = fillo.getConnection("C:\\VikasTest\\TestingExcel.xlsx");

  // with where method
  Recordset recordset = connection.executeQuery("Select * from Sheet1")
    .where("Name=Vikas").where("Course='Selenium'");

  connection.close();

 }
}