Selenium is a tools suite to automate web browsers, and web application testing
4
votes
0answers
29 views
Retrieving value from HTML table
Currently all this does is retrieve data from specific columns, the final result will be that I will check the data to make sure that it passes the test cases, but I want to look at this foreach right ...
2
votes
0answers
36 views
Selenium WebDriver test for Slack
I submitted this script as part of a interview process. It was rejected and no reasons were given. I'm wondering what parts of my script were unacceptable. The script works, and satisfies the question,...
9
votes
3answers
203 views
Scraping the date of most recent post from various social media services
Task
I have a large spreadsheet where each line should include:
The URL of a social media account
A field indicating whether the account is "active"
A name and UID number for each account
I have ...
0
votes
0answers
33 views
custom login method using JavaScript and Protractor
I have written login method in JavaScript using protractor. When Login method is called, this methods waits for element (txtLogin) to be present in DOM. Once it finds the element, credentials are ...
1
vote
0answers
69 views
Select fields from a form by ID or Xpath and fill its value
I'm writing a program/tests in C# using Selenium and Chrome web driver. Everything works well, however I would like to simplify the code and make it object-oriented. I thought about extracting some ...
3
votes
1answer
66 views
Using Page Object Model in Selenium tests
I am very new to Selenium, and for my current project, I had the task of creating the automated test scripts for our website. I am the only one on my team who had any experience with Selenium, but not ...
0
votes
0answers
23 views
Implement PageObjects using TestNg in selenium
I am trying to implement page objects with Page factory using TestNg and selenium. Please advice improvements in it.
Classes:
...
1
vote
1answer
52 views
ImprSimple chat bot written in python
I'd like to know if I can improve the performance of my recent bot, and maybe some design patterns too.
So far, it's warning a user if it's using some bad words (which are parsed from ...
4
votes
1answer
158 views
Selecting filter checkboxes using Selenium
I am using Selenium Webdriver via Java. My method clicks on a filter check box (eg. make, model, etc.), that is passed in, from a modal.
When running my method in my test class, via ChromeDriver, it ...
2
votes
1answer
51 views
Comparing web search results and storing the results in Excel
I'm writing Selenium code in Java. And below is one of the methods.
...
5
votes
2answers
308 views
Checking if text is NOT displayed
I'm currently writing unit tests in Selenium (C#). I need to do two things in this particular test:
Check if 2 errors (with html container) are displayed and check if another (given) error is not ...
7
votes
2answers
120 views
Get Wikimedia attributions for images
We are using images from Wikimedia commons for some of Cardshifter's game artwork. I selected some art for each card to make a .jpg file to use in the game clients, ...
3
votes
1answer
79 views
Bot that selects web reviews based on spreadsheet entries
In my program, I prompt the user to enter a range of cities (in a spreadsheet), and then a range of review scores, and then make some decisions based on what the user has entered. Since the handling ...
3
votes
0answers
134 views
GUI for Selenium web testing
I am wanting to build web-based testing tools for test website environments utilizing the Selenium Web Driver. I am building a GUI which will contain the following: Drop-down for selecting the website,...
5
votes
2answers
1k views
Selenium Framework using a lot of statics
I am writing a Selenium framework that should be really easy for a tester with relatively little Java knowledge to use and write tests for. In order to keep the framework as user friendly as possible, ...
7
votes
1answer
734 views
Scraping scores from flashscore.com
I built a bot with Python to scrap scores on flashscore.com but the data scrap from the site loads into its listbox very slowly. I am curious about the speed of selenium so I made a button that prints ...
4
votes
1answer
297 views
Copy table using Selenium and Python
I have some Python code that copies a table from a website using Selenium,to create a csv, but as I haven't used Selenium much, I have that irksome feeling in the back of my mind that there must be a ...
4
votes
1answer
1k views
Ruby selenium script waiting for an element to disappear
I'm a Java developer, I'm new to Ruby and I'm worried that I'm forcing or not-so-well using the goodness of the Ruby syntax.
What do you think about the Exception catching and how to print it in ...
1
vote
1answer
1k views
Trying to catch and throw exceptions if error message window is found
I'm writing a test to validate that while clicking through a series of menu items, an error message pops up, and if it does, then I should throw an exception.
Now I wonder: Is it appropriate to use ...
4
votes
2answers
359 views
Improving performance in a Webdriver method
I'm testing an application which is not exactly an e-commerce application but which behaves enough like one that you can think of it as an e-commerce application for the purposes of understanding this ...
4
votes
4answers
1k views
Using if else statements correctly
I have the following code, but I'm looking for a way to make the code read easier.
...
3
votes
1answer
195 views
Selenium Java: errorRecovery
I have the following code to select an image using Selenium, only now I have added an errorRecovery. Is there is a better way to right the code in the ...
2
votes
2answers
1k views
List of search results using Selenium
I have written the following code for looping through WebElements in Selenium.
Can someone please provide me with feedback on how to improve my code?
...