This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
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


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: 5836
    
    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
 
GeeCON Prague 2014
 
subject: PageFactory limitation in my method in webdriver ? what is the workaround?