Monday, April 27, 2020

TestProject.io : ios iphone app testing in Windows 10 operating system

testproject.io

https://www.youtube.com/watch?v=MsgX5oNAh7k&list=PLhW3qG5bs-L_QuqpGY-B-1ifP1j4ve3fx

https://www.youtube.com/watch?v=Jz60Tmwm30g

Test Project is an one stop automation testing tool to support platforms such as


  • Windows
  • Macos
  • Linux
  • iOS
  • Android
  • Web-services


Supported Agents :
  Windows
   Mac
  Linux

Mobile Automation testing for Android

New Test --> Mobile Tests
  Agents --> View Device [ Mobile should be connected via USB to the Agent]


Test Project --> Local Agent --> Devices

New Test --> Mobile Test

Select Android or iOS

 all the registered application is listed.

Add a new application -->From Device

Native--> Shows all applications installed in the i-phone.
Upload apk: Drag and drop

Add Manually: Package : com.google.youtube
                          Activity:  ...............................

Record   Shift+Shift

Actions:
Validations:
Attributes

Save and Exit.

Jobs can be created later execution.


Hybrid application:

Test project officially does not support hybrid application.
Upload apk: andorid-debug.apk
Record

Installation and configuration ot test project test agent .

Download testprojectAgent_x64
install .exe
start agent t--> finish

c:\program files \testproject agent --> all folders we can see here.

Now registration of new agent into

Mange agents
 register agent
 Agent_Win10Name
     Register

Add Job-->  Web -->  agent selection -->  all browsers installed in agent.


Top 5 features
SDK: we can write code, currently support Java & C#. we can control the physical devices from the testproject.io

8. Mobile Automation testing for iOS application.

Architecture

[TestProject]--Https JSON object-->[Test Project Agent] ------TCP/IP JSON Object -->[Customized web Driver agent]

[TestProject] - running in cloud.
[Test Project Agent] -Local Machine
[Customized web Driver agent] - iPAD

configuration Pre-requisete:
Activate apple developer account.
1) this will give you to get your device certificate and provisioning profile.
2) you can get the CSR file from Test Project portal and generate the file to get device certificate provisioning profile


iOS: Apple team id [ Developer Id]

1) CSR : Certificate signing request
2) Device certificate
3) Provisioning Profile

Agent: Download and agent MAC and install. Register the agent.

Record and playback IOS with physical device.

Newtest -->  Mobile Test --. TestNameXYZ

 ios-->  Add a new application --> Connected Device --> Select Device for testing.

Fromm Device: Gaspy (open this app, New Zealand petrol bunk)

Running iOS mobile app in windows 10.

Agent should be started, connect physical i-phone device. Record and playback.


Create test package

Page Object Model(Java) --> Test the coded test in local machine -->  Package the test .JAR and upload in Test Package--> Consume the test package in any respective recorded tests.

Test package --> Upload test package

Using Intellij IDE

  New-Project ---> Java
       Create a  .jar Maven file
            and upload .jar file. 

Red highlight are same file.

















No comments:

Post a Comment

JMeter Simple Controller

  Simple Controller is just a  container  for user request.