TestProject Forum
Powered by leading experts in the test automation community

Test application on iPhone by sending instructions from Windows based automation process

I am new to automation and need serious help. I need to know what items and processes I need to download (in its order) and install them (step by step) on my laptop to perform automation, testing on an Apple iPhone, by sending instruction from a script (in Python/Eclipse or similar). I will appreciate if you will send me the itemized listing, procedures, videos, etc. for getting this started and working. Thank you.

Best Regards,
Wamiq Sattar

Hi Wamiq,

Nice to meet you and welcome to TestProject :slightly_smiling_face:

As for the things you need to download and install, the only thing you need is the TestProject agent. You need to download the version that suits your operating system.
Once you downloaded and installed the agent, you need to register it. It’s a simple process that will take you few seconds. After that, you are ready to go! Go ahead and create your first test.

To test iOS applications, you need to configure the iOS settings in TestProject. Here’s a step-by-step tutorial for that: https://blog.testproject.io/2019/01/29/setup-ios-test-automation-windows-without-mac/

For writing automation scripts, you need to use the TestProject SDK. We currently support Java and C#. Here’s the documentation for the SDK: https://docs.testproject.io/testproject-sdk/overview

We have a free online course on YouTube that might help you getting started: https://www.youtube.com/playlist?list=PL5qXkPB0T6Vc7WbvN3MuVsaV9dCDizx38

Feel free to post your questions here :wink:

Kind regards,
Amit

Hi Amit,

A small issue with the connectivity after installation is complete, when I try to registerthe product. The process timed out stating:

This site can’t be reached

app.testproject.io took too long to respond.

I tried with the Wi-Fi connected and also through the LAN line. Any advise? Thanks.

Regards,

Hi Amit,

I tried several times to register and received the following failure response. Please advice. Thanks.

Hi Wamiq,

Please make sure that your agent is running. Also, are you using proxy or VPN?

Hi Amit,

Thanks. I forgot to run the agent, while I tried to register from home Wi-Fi. While I tried from work, it was asking for Proxy. I will need to seek IT dept. help with the proxy issue. BTW, what time zone are you in? I am at San Diego, Ca. Thanks.

Hi Wamiq,

You can try setting the proxy by yourself before contacting your IT department. Open the Proxy Settings in your computer and add this exception: *.tpagent.io

Our time zone is GMT+3

Hi Amit,

Thank you. Now, I am waiting for an iPhone handset device from my employer. Also, what time zone/GPS you are at? Thanks.

Regards,

My time zone is GMT+3

Hi Amit,

I will have many questions along the way and I really appreciate your help. Since, I created the Test Agent “WS_TP1”, logged out of the laptop. Now, I logged back into the laptop from my work environment and started the TestProject Agent process. I logged into
TestProject site (with my used id and password) and am seeing that the “WS_TP!” is in the “Disconnected” state. So, going forward, do I need to create a new Test Agent (for each project) or can I re-connect the existing Test Agent, for the respective project?

Also, GMT + 3 means Bahrain or nearby. Which specific country are you located. The reason for asking is so that I can send requests and get instant (or so) response, instead of waiting for 3 hours (as the message I receive last night). I would like to make
sure that I try to ping you when you are available. Thanks.

Regards,

Hi @wamiq_sattar

The agent can only be installed on a single machine. If you use two different computers, then install an agent on each one of them. You can of course use the agent on any test or project you want.

You can always post your messages here and we will answer to you as soon as possible.

Kind regards,
Amit

Hi Amit,

While I wait and wait for my iPhone (10 or 11) to be allocated, purchased, shipped, and finally delivered to me, can you please tell me if there are examples on TestProject for simple test scripts, that I can copy into my TestProject and execute, to get some
exposure? Also, what language and engine is used (Eclipse, Appium, Selenium, etc.). My end goal will be to use TestProject and write scripts to execute on a connected iPhone (example: open up calculator on iPhone) and eventually create APK to upload on the
iPhone and execute independently. I will get the Apple Developer
Program Team ID from Apple, which I will, as soon as I get my iPhone 10 device. FYI, I have registered “WS-Prespecta1” as the TestProject agent on my work laptop. Thank
you.

Hi @wamiq_sattar,

You can find examples and tutorials in the following links:

  1. Getting Started with TestProject with 5-mins videos: https://www.youtube.com/playlist?list=PL5qXkPB0T6VeyY1nGBf7hU8G2Zx3LrDwg

  2. Online TestProject course: https://www.youtube.com/playlist?list=PL6tu16kXT9PrUJ842VaGcSNqIN7THFUlN

  3. TestProject YouTube: https://www.youtube.com/channel/UCEAPPxNvHT74Xj6Ixt28mNw

  4. TestProject blog: https://blog.testproject.io/category/testproject/

As for your other question, you can write coded tests using our Java or C# SDK. You can of course use any IDE (Eclipse, IntelliJ, etc.)

You can also upload your APK/IPA and test it with TestProject.

Kind regards,
Amit

Hi Amit,

I am moving slowly! I created a sample test to invoke YouTube, search a song and play it. Next, I tried to go back to the search box, while the first group/song is playing, and look for a different group/song. I have not been successful in getting to the next
stage. I tried recording and seem to work to certain point, because probably I am doing something wrong! I am trying to look for the REPORT on recording/execution and am not getting the report for step by step execution. Do I need to set some value somewhere
to have the reporting of execution is recorded? Please advise. Thanks.

Hi Amit,

Okay, I am able to see the report, from the drop down menu. Thanks.

Hi @wamiq_sattar,

I’m glad that you started to explore TestProject and that you found the report.

Let me know if you will need my help.
Amit