You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a Framework Set up with Silk Mobile but we want to migrate the entire set up to Appium.I am stuck with the PageFactory set up for Android and iOS as it is not at possible to reuse the same Pagefactory with Appium. Need yours quick help and suggestions on this.
@niranjanparija Please provide more details. I can't figure out what happens.
Please attach to this ticket samples of your client code (with comments if it is possible), server output, error stacktraces. It will be great if you create gists and put links here.
I just updated the code snippets which I want to run by referring the PageObjects and PageElements mentioned earlier with Appium.Please check this once if at all it can help you to understand the issue. https://gist.github.com/niranjanparija/3b706105004065236878
Activity
TikhomirovSergey commentedon Dec 1, 2015
@niranjanparija Please provide more details. I can't figure out what happens.
Please attach to this ticket samples of your client code (with comments if it is possible), server output, error stacktraces. It will be great if you create gists and put links here.
https://help.github.com/articles/creating-gists/
TikhomirovSergey commentedon Dec 1, 2015
Also please provide info about your client and server versions
niranjanparija commentedon Dec 1, 2015
Please find the URL for the gists:
https://gist.github.com/niranjanparija/2a8fe8b78960015d1bcf
and suggest
TikhomirovSergey commentedon Dec 1, 2015
@niranjanparija
These samples don't show how do you use Selenium PageFactory class. Do you use it at all?
Oficial document with description
API
API full package
Appium common description
Appium samples
A new feature that is coming out
Appium java_client is integrated with Selenium PageFactory via AppiumFieldDecorator
niranjanparija commentedon Dec 1, 2015
I just updated the code snippets which I want to run by referring the PageObjects and PageElements mentioned earlier with Appium.Please check this once if at all it can help you to understand the issue.
https://gist.github.com/niranjanparija/3b706105004065236878
TikhomirovSergey commentedon Dec 1, 2015
I think that it is totally not connected with Appium or Selenium Webdriver.
Here is the exception text:
https://gist.github.com/niranjanparija/3b706105004065236878#file-gistfile1-txt-L113
It means that Reflection API can't find the convinient constructor. Available constructors:
https://gist.github.com/niranjanparija/3b706105004065236878#file-issue-with-pagefactory-set-up-in-appium-277-L343
https://gist.github.com/niranjanparija/3b706105004065236878#file-issue-with-pagefactory-set-up-in-appium-277-L363
I'm really not sure that it works. AndroidDriver and IOSDriver fetch implementations of org.selenium.WebElement.
TikhomirovSergey commentedon Dec 4, 2015
@niranjanparija Please reopen this issue/open a new one if you'll find some details which directly connected to Appium.