Version 2 of Selenium Browser Automation Framework
0
votes
1answer
17 views
GivenStories is not working in JBehave
I need to include some preconditions in my Main story. I have used the Givenstories: in my Main story to achieve it. But i has no effect. My main story start running with out calling the precondition ...
0
votes
2answers
38 views
What is the Page object pattern in webdriver?
What is page object pattern in selenium webdriver?
What is the use of it and how we can use this in web driver?
Example will be appreciated
0
votes
1answer
27 views
How can i load a story file from a different folder in JBehave
I need to have my mystory.story file and MyStory.java in different folders. Below is my configuration,
@Override
public Configuration configuration() {
return new ...
0
votes
0answers
14 views
How to set $lastBrowserParams value
I would like to keep a Browser strategy between the testcases. More specific I need to keep cookie values, so instead of cleaning up FireFox profile when new testcase starts, I need to start new ...
0
votes
2answers
38 views
Selenium findElement in the another findElement
For example, I have an element1 which I can find after I find element2, like this:
driver.findElement(By.xpath("//xpath2")).findElement(By.xpath("//xpath1")).click();
I want to use PageObjectModel ...
3
votes
1answer
27 views
Property storage name warning
After executing multiple data from excel sheet it display warning message
Warning: Property storage name for 5 is empty - setting to Root Entry.
Can some one please explain why this warning comes.
1
vote
1answer
40 views
Automate captcha using webdriver?
How to automate captcha using WebDriver?
Is there any alternate method to automate Captcha using Webdriver?
0
votes
3answers
56 views
Selenium Webdriver - Issue with clicking an element inside a table
I have a page that contains a table with multiple rows/columns. In one of the column, I have a link that says 'OK'. I need to click on that link.
Here is my code but it works very inconsistently. ...
0
votes
1answer
40 views
Unable tp Switch the context for the third child iframe in the window
My window has three iframes, I am able to switch to, the first two frames in the hierarchy and perform the actions, but unable to switch the context to the third frame.
I am able to switch to ...
0
votes
0answers
24 views
X11: Start desktop manager inside daemon
What I'm trying to do:
Make screenshots of desktop and running program (Firefox Webdriver with Selenium, if it's important) in daemon (celeryd) in auto mode.
And I need desktop manager to be running, ...
0
votes
0answers
45 views
How to get the text having without any Element using Selenium Web driver
I was having a hard time using Selenium web driver to find the text for the below scenario.
<td valign="top">
<br/>
<span class="deviceLabel">Server</span>
<br/>
...
0
votes
2answers
67 views
How to get the value from <input> tag using java in Selenium web driver when the Value attribute is generated dynamically
The HTML I am trying to operate on:
<select id="GlobalDateTimeDropDown" class="combo"
onchange="CalculateGlobalDateTime('Time',this.value)" name="GlobalDateTimeDropDown">
<option ...
0
votes
0answers
32 views
Selenium testing with DoubleClick AD on page
I am currently writing a selenium test case for a page which has doubleClick ad integrated in header and footer.
Selenium works perfectly fine until it comes to test this page, and test breaks with ...
1
vote
1answer
51 views
retrieve dynamic frame names w/ Selenium WebDriver and Python?
I need to run thousands of searches on a certain database and I'm using Python and Selenium WebDriver to automate it. The thing is, the frame that contains the search results has a name that is ...
0
votes
0answers
30 views
checking for element present or not using Selenium WebDriver page factory?
Checking for elements with findElements using normal WebDriver method is easy like:
boolean exists = driver.findElements( By.id("...") ).size() != 0
Elements initialized by Page Factory are like:
...