Tagged Questions
0
votes
0answers
54 views
How to find a WebElement by another WebElement using Page Factory
Had a brief scan at the source code, not sure what's the best practice for this.
For example, say I have a page object 'DummyPage', which has two panel elements TopPanel and BottomPanel. Each of the ...
0
votes
0answers
36 views
Change the default chrome download folder webdriver C#
i want to change the default download directory of the chrome. I did go through the different argument listed in the following url
http://peter.sh/experiments/chromium-command-line-switches/
and
...
0
votes
0answers
64 views
C# Selenium Remote Webdriver (Opera) send file with filedialog in automated test
Im running Website GUI unittests using NUnit2.6.2 with VS 2010 Pro on Win7 x64, JRE7 32bit
This issue works when using Firefox, Chrome and IE, which are all suported by Selenium in C# WebDriver ...
1
vote
0answers
37 views
Getting the text after a label with Selenium WebDriver
I've found other questions that look for label text, but what I'm after is the text after a label.
So for example, I have a section of code:
<p>
<label>My awesome name:</label>
...
0
votes
1answer
50 views
C# .net Selenium, how to insert a date and time using sendKeys()
I'm doing a project where I need to grab the system date and insert it a txtbox.
I tried following but doesn't seem to work for me, I'm new to C# as well as Selenium, so I might be doing something ...
1
vote
1answer
44 views
returning a jQuery .html() as string using selenium
this is the HTML
via selenium i could simply get innerHTML but not the whole html including div "cont"
<div id="cont" class="container_CssClss">
<div class="Header_CssClss"> ...
1
vote
1answer
62 views
How to give multiple arguments to find element by css selector
Hi I'm kind of new to selenium, so please bear with me if the question is too basic.
I wanna access a date picker element and choose a specific date.
I am trying to access the span element using both ...
0
votes
0answers
31 views
driver.Url does not work for an HTTPS site in Selenium WebDriver? [duplicate]
I am trying to run my Selenium automated test scripts written in C# against a secured site (HTTPS), but the driver.Url command isn't working and is redirecting to a different page. Tried this in an ...
1
vote
1answer
49 views
How to change the visibility of the button got by Xpath in Selenium
Hello I am working in Selenium Automation testing with Nunit. I have one grid which have bulk of users and there is one remove button on each row of the grid. But that Remove button is visible only on ...
0
votes
1answer
65 views
Can we have two explicit waits in the same program
I have two explicit waits in the same program. One for WaitForElement and one WaitForPageLoad.But it doesn't seem to work. When i change one of them to implicit wait, it works fine. Otherwise the code ...
1
vote
1answer
50 views
How to click an item from a list?
Hi I need to verify if the item I'm going to click has a dollar sign and is not out of stock. So I have used this method.This works fine if the first item on the list satisfies both the condition but ...
1
vote
1answer
48 views
How to handle StaleElementReferenceException when verifying a text?
I have a set of common methods which I run for each test. Like I need to add a few items in my cart and the whole test runs for each item. But for the first item it runs fine and when the process is ...
1
vote
1answer
70 views
Selenium WebDriver Recorder for PageObject pattern
I know there are the Selenium IDE and the Selenium Builder as a Firefox plugin to record actions and export them e.g. as C#-Code.
But is there also a tool which helps you with creating Selenium (2) ...
1
vote
0answers
135 views
Selenium WebDriver C# - Unable to redirect to a secured (HTTPS) URL / driver.Url or driver.Navigate().GoToUrl does NOT work in HTTPS?
Good day! I have been using Selenium WebDriver for a few months now, and everything works awesomely fine.
However, I have been stuck with this strange problem for weeks (or maybe a month) already.
...
0
votes
1answer
60 views
Multiple browser screenshot with Selenium
I'm completely new to Selenium but I'm aware it's capable of taking browser screenshots. Though, I was wondering if it's able to take screenshots of multiple browsers, specifically chrome, firefox and ...