xamarin - Calabash Error - superclass mismatch for class AuthenticationPage -



xamarin - Calabash Error - superclass mismatch for class AuthenticationPage -

i new ruby/calabash , managed set dedicated calabash automation framework ios page object model pattern , running successfully.

i want extend same framework android too. created dedicated folder ios , android within features folder , thought of having respective page objects within folder.

but when ran calabash-android, calabash finds similar page class exists in ios folder , started throwing error message. want follow same naming convention ios , android pages without having name-clash. possible?

superclass mismatch class authenticationpage (typeerror) /users/macuser/documents/automation/features/ios/pages/authentication_page. rb:5:in `<top (required)>' /library/ruby/gems/2.0.0/gems/cucumber-1.3.18/lib/cucumber/rb_support/rb_language.rb:95:in `load' /library/ruby/gems/2.0.0/gems/cucumber-1.3.18/lib/cucumber/rb_support/rb_language.rb:95:in `load_code_file' /library/ruby/gems/2.0.0/gems/cucumber-1.3.18/lib/cucumber/runtime/support_code.rb:180:in `load_file' /library/ruby/gems/2.0.0/gems/cucumber-1.3.18/lib/cucumber/runtime/support_code.rb:83:in `block in load_files!' /library/ruby/gems/2.0.0/gems/cucumber-1.3.18/lib/cucumber/runtime/support_code.rb:82:in `each' /library/ruby/gems/2.0.0/gems/cucumber-1.3.18/lib/cucumber/runtime/support_code.rb:82:in `load_files!' /library/ruby/gems/2.0.0/gems/cucumber-1.3.18/lib/cucumber/runtime.rb:184:in `load_step_definitions' /library/ruby/gems/2.0.0/gems/cucumber-1.3.18/lib/cucumber/runtime.rb:42:in `run!' /library/ruby/gems/2.0.0/gems/cucumber-1.3.18/lib/cucumber/cli/main.rb:47:in `execute!' /library/ruby/gems/2.0.0/gems/cucumber-1.3.18/bin/cucumber:13:in `<top (required)>' /usr/bin/cucumber:23:in `load' /usr/bin/cucumber:23:in `<main>'

based on description of issue, not clear problem is. think help if added more details folder structures , files.

but have not mentioned profiles suspecting not using .yml file.

when execute tests should define profile running , have 1 ios , 1 android. each profile define folders include.

like this

android: platform=android reset_between_scenarios=1 -r features/support -r features/android/support -r features/android/helpers -r features/step_definitions -r features/android/pages/

and when execute tests define profile

calabash-android run path_to.apk -p android features/login.feature

if have not should @ either xamarin cross-platform tutorial or on github page same

xamarin ios-ui-automation calabash calabash-ios calabash-android

Comments

Popular posts from this blog

java - How to set log4j.defaultInitOverride property to false in jboss server 6 -

c - GStreamer 1.0 1.4.5 RTSP Example Server sends 503 Service unavailable -

Using ajax with sonata admin list view pagination -