gajendravaradhan / sikuli-api

Automatically exported from code.google.com/p/sikuli-api
0 stars 0 forks source link

Add Page Object support #5

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. @FindBy

What is the expected output? What do you see instead?
Can define page objects using annotation.

What version of the product are you using? On what operating system?
First

Please provide any additional information below.
Enhancement

Original issue reported on code.google.com by butada...@gmail.com on 11 Nov 2012 at 7:32

GoogleCodeExporter commented 8 years ago
Added @FindByImage annotation to support annotation-based page objects

Example: 
https://bitbucket.org/doubleshow/sikuli-webdriver/src/f1347bf4c16049bcfd54650e76
367a157fda0fb3/src/main/java/org/sikuli/webdriver/examples/PageObjectsExample.ja
va

Please give it a try and provide feedback.

Original comment by doubles...@gmail.com on 13 Nov 2012 at 5:56

GoogleCodeExporter commented 8 years ago
Thank you!

Didn't had the time to look into it but will definitely look into it
tomorrow. :D

BTW, I looked into doing the same for ChromeDriver and it seems that the
only thing it needs is to set the property for *webdriver*.*chrome*.*driver
*and it works. :D

Original comment by butada...@gmail.com on 14 Nov 2012 at 6:21