File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Ant, Maven and Other Build Tools and the fly likes PageFactory limitation in my method in webdriver ? what is the workaround? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "PageFactory limitation in my method in webdriver ? what is the workaround?" Watch "PageFactory limitation in my method in webdriver ? what is the workaround?" New topic
Author

PageFactory limitation in my method in webdriver ? what is the workaround?

linda russel
Ranch Hand

Joined: Jan 05, 2012
Posts: 86















This is my call in the main method



what is the workaround for this?


there can be only one return type in PageFactory
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5846
    
    7

I'm sorry, but I don't understand what you are asking. A little bit of explanation on what you are attempting to do, and why it is not working, would help.

(At this point I am guessing you want to know how to return two values from a method call, but such a question has nothing to do with Build Tools, so that can't be what you are asking. Or is it?)


JBoss In Action
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: PageFactory limitation in my method in webdriver ? what is the workaround?