Ask a Question

iOS testing - Testing on safari

SOLVED
kmathur
Occasional Contributor

iOS testing - Testing on safari

Hi 

 

We have a mobile browser experiences of our website and I need to test that on safari on iPhone. When i connect my iPhone and click on Show mobile screen, it says "Device is not running an application that was prepared for testcomoplete". My question 

1. Do we need to prepare safari too, to test via testcomplete

2. If yes, are the steps same as for any other app 

3. If not is there a documentation i can use

 

Details 

TestComplete : 12.5

iPhone : 6s

iOS : 11

4 REPLIES 4
cunderw
Community Hero

You can't test against safari directly as you can't instrument that app, it's part of the OS provided by Apple.

 

So you really have two options:

 

https://support.smartbear.com/testcomplete/docs/app-testing/web/mobile/real-devices.html

 

Or 

 

https://support.smartbear.com/testcomplete/docs/app-testing/web/mobile/emulator/index.html

 

Both should be fine from an automation standpoint, as you're testing how the page render against a specific rendering engine and responsive size point, not the browsers itself. 


Thanks,
Carson

Click the Accept as Solution button if my answer has helped
kmathur
Occasional Contributor

Hi 

 

The first solution works perfectly. There is just one more question. If i change the iOS device from say 6s to 8, do i have to updated the testing app again?

I would just try it and see if it works.  If not, then try updating again.  If that doesn't work, let us know.


Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
kmathur
Occasional Contributor

Hi 

 

I tired and updating phone is really simple. Here are the steps

1. Connect the new phone 

2. Open Testcomplete project and goto Testedapps

3. Right click on the Smartbear browser for iOS app and hit Run selected. This will install SmartBearBrowser on the phone.

4. Goto your phone Settings > General > Device management.

5. Click on the Smartbear certificate and click trust

You are good to go.

cancel
Showing results for 
Search instead for 
Did you mean: