Page Object is a design pattern used when creating browser automation.

learn more… | top users | synonyms

-1
votes
2answers
111 views

How should look test in webdriver with different Test scenario

I have to test demo.opencart.com. Here is my scenario: Test scenario: 1 Open browser and go to Democart 2 Change currency to GBP (top left dropdown) 3 Search for “iPod” using text search 4 Add ...
1
vote
1answer
48 views

Java + Selenium + log4j: How to write generic function for Logging in pagefactory? Possible?

I have written selenium framework using page object design pattern. To make it better I am also using PageFactory. Example: BasePage.java @FindBy(xpath= FinalLocators.userName) WebElement uname; @...
1
vote
1answer
266 views

WebDriver - Using loadablecomponent design for URLs with query parameters

For example if the url is - http://blah.com?origin=home&id=54&level=2. This could be a dynamically generated link on a webpage with 'id' and 'level' values from the DB. Now if i want to use ...
0
votes
1answer
89 views

AjaxElementLocatorFactory = Implicit or Explicit

I'm looking for solution in page factory to wait. I don't want to use something like Implicit wait, but something like Explicit. I read about AjaxElementLocatorFactory, but I'm not sure that it ...
-1
votes
1answer
68 views

How to organize code in automation framework?

I am trying to figure out most readable way to organize my code (with POM) So far I have split out the following: Pages (methods for the specific pages) 'GoTo' pages (I don't need it but ...
1
vote
0answers
338 views

Page Object Design: Is there a Javascript equivalent to Ruby gem “site_prism”

I'd like to know if there is a framework in Javascript (NodeJS) for Protractor which supports a clean way to define the Page Object Elements on a Page Object as site_prism does. I've already checked ...
0
votes
0answers
19 views

Need more information about micclass

I did not really understand why we are using micclass again in descriptive. I was trying to identify a object in my project. I could not make it until i use micclass eg: Browser("name:=localhost")....
0
votes
0answers
78 views

Can we use Data Driven approach with Page Object model using Page Factory, any example or link will help

Can we use Data Driven approach with Page Object model using Page Factory, any example or link will help. I am trying to implement POM with PageFactory but at the same time I want to make it data ...
0
votes
0answers
89 views

Things to consider when starting project with Cucumber and Page Object Pattern?

I'm trying to build a new framework based on Cucumber and Page Object Pattern. Could you please advice me what approach to take based on your experience before doing automation project like: What's ...