Open santhanakrishnan opened 11 years ago
This means that the Igor library is not linked into your application. If the Igor library is linked into your application, it automatically registers with Frank.
In a terminal, cd into your application bundle (MyApp.app) and type this command, giving it the name of the executable file inside your application bundle:
strings <MyApp> | grep Igor
This should result in a few lines like this:
initWithIgor:
IgorParserException
Igor 0.5.0 registered with Frank as selector engine named 'igor'
DEIgor
DEIgorParserException
DEIgorSelfRegisteringSelectorEngine
@"DEIgor"
Hi Dhemery,
I ran the below code private static final IosViewIdentifier createAccount = igor("UITextFieldLabel[accessibilityLabel=='Email Address']"); @Test public void testA() { Thread.sleep(10000); IosView button = application().view(createAccount); button.sendMessage("touch"); }
and facing the error
Operation failed Target : igor UITextFieldLabel[accessibilityLabel=='Email Address'] Operation : touch [] Reason : invalid selector Details : engine named 'igor' hasn't been registered with the SelectorEngineRegistry18:36:53.859 INFO - Stop Simulator --> killall [iPhone Simulator]
Please ping point where I went wrong.