Re: [selenium-users] iPhone doesn't connect to Selenium grid. Any tips for debugging?

110 views
Skip to first unread message

Luke Inman-Semerau

unread,
Sep 17, 2012, 11:52:26 AM9/17/12
to seleniu...@googlegroups.com
Hi Scot,

I'm not sure what's going on in your situation exactly... but the grid connect portion is working on the latest code (see attached screenshot for my simple config, connecting to a grid hub running locally) There shouldn't be a problem connecting to a remote grid as long as it is on the same network. Also if you're adjusting the settings of the app make sure you fully quit the app and restart it for it to connect to the grid.

Another option is you can use something like this https://github.com/davehunt/flynnid  to externally hook up your grid to your iOS driver. But I would figure out why it isn't working for you as there may be a firewall issue of some kind or something else going on...

-Luke

On Fri, Sep 14, 2012 at 2:58 PM, Scot Kronenfeld <sco...@gmail.com> wrote:
I just started in on Selenium and I've managed to get my Mac and a Windows VM talking to a selenium grid and run some basic tests.  Everything works fine...next up, mobile devices.

I installed the iWebDriver on my iPhone emulator.  I can connect to it directly on the port it is running on, so I know it is working.  However I can't get it to register itself with my running grid. 

I put in the IP and port into the iWebDriver Settings area for my grid.  I turned my grid on in debug mode, but it doesn't appear to be receiving any connections at all.  I've tried restarting the emulator, playing around with the settings (specifying a URL vs. IP for the host, etc) but no luck so far.

Any tips on debugging this?  I'm new to iPhone development as well so I don't even know where to look for logs.  Nothing interesting is appearing in my xcode log window.

I see that other people are getting their iPhones in the grids successfully so I assume I'm doing something boneheaded.

Thanks,
scot

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To post to this group, send email to seleniu...@googlegroups.com.
To unsubscribe from this group, send email to selenium-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/selenium-users/-/bBC9pHFACpIJ.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

iOS Simulator Screen shot Sep 17, 2012 8.48.15 AM.png

bis

unread,
Sep 17, 2012, 1:03:34 PM9/17/12
to seleniu...@googlegroups.com, seleniu...@googlegroups.com
I just set this up and it worked fine 

Sent from my iPhone
<iOS Simulator Screen shot Sep 17, 2012 8.48.15 AM.png>
Reply all
Reply to author
Forward
0 new messages