Questions tagged [browser-automation]

Questions regarding automation of web applications for testing purposes according to specific of used web browser.

Filter by
Sorted by
Tagged with
2
votes
3answers
120 views

Stop social media connection request in selenium

I'm currently working on a website which takes 2-3 MINS to complete the page load. Even after all the elements are visible,still browser keeps loading. I have figured it out that happens because the ...
1
vote
0answers
384 views

Unable to locate the elements of SmartGWT application using Selenium in IE browser

I'm testing a GWT + SMARTGWT application and I'm trying to locate the elements of this web application using Selenium Webdriver. The method which I have used to locate the elements is by the relative ...
1
vote
3answers
860 views

Advantages and disadvantages of non-Selenium web automation tools

Currently at my company we are using webdriverio + selenium for e2e automated testing. In the past months we have experienced a lot of trouble making our tests work correctly, and most of the cases ...
1
vote
0answers
353 views

How to handle browser language notification in android using appium?

I was trying to automate a website which is in german. But when I run the test on android device using chrome browser, language translator notification appears. Can anyone let me know how to handle ...
1
vote
2answers
538 views

Is there any open source tool to automate oracle POS Xstore Application?

I am looking for a tool to automate Oracle XStore Application, Suitable tool to automate Oracle Xstore POS system. Application: oracle Xstore OS: windows
-2
votes
1answer
982 views

Advantages and disadvantages of learning Python Vs learnng Javascript?

I work on automation scripts written in selenium using Java at my current job. I want to expand my skills and learn a scripting language to help with more advanced UI automation. After research I ...
1
vote
1answer
300 views

Does SauceLabs or Browserstack support testing chinese browsers? If not what tool should I go for?

Testing an application, for both desktop and mobile, aiming the Chinese market. I need to conduct cross-browser testing on some of the most popular chinese browsers like QQ , 360, UC, Baidu browsers ...
0
votes
1answer
1k views

Getting NullPointerException when tried to test two different pages

I am new to automation testing and I have been stuck on testing two different pages (HomePage and AboutPage) BasePage.java public class BasePage { protected WebDriver driver; public BasePage(...
1
vote
0answers
245 views

How can I handle google popup and toast messages at the same time using Selenium? [closed]

On my website when I log in, toaster messages will appear on the screen and at the same time a Google popup is generated. How can I solve this problem? After logging in I'm trying to click on my ...
3
votes
2answers
4k views

Cannot get attribute value when using xpath

I met a problem when I try to get an attribute of one tag. Here is the html code: <rect x="66.5" y="43.5" width="26" height="13" fill="#86E067" stroke="#ffffff" stroke-width="1" class="...
3
votes
1answer
185 views

In what circumstances we should use selenium?

I am new to selenium and I am using selenium to do the testing but I am confused right now. For example, the website I am working on contains lots of data, however all of them are from database. ...
2
votes
1answer
6k views

Selenium element properties: Selected vs Enabled vs Displayed

I recently tried to locate an element. I was unable to identify an xpath and after putting a list in a loop. I noticed that for some elements isDisplayed() returned false, but isEnabled() true. How ...
0
votes
1answer
2k views

Exception: waiting for alert to be present

I need to open a site that contain authentication alert. To handle that alert I tried following code but no success: try { WebDriverWait wait = new WebDriverWait(driver, 100); wait.until(...
0
votes
1answer
433 views

Can a Selenium IDE test continue when an assertElementPresent fails? [closed]

I'm just a little stuck with the Syntax and how I put up to stepsgroup adds && assertElementPresent css=span:contains('shares') How can I edit the script to do this? &...
0
votes
1answer
502 views

How to use --force-dev-mode-highlighting

I have to run an extension but a warning "Disable Developer Mode" always block the test case to complete. I know a command line switch that will disable this warning --force-dev-mode-highlighting but ...
7
votes
4answers
2k views

Selenium alternatives [closed]

I found lots of information about this topic, however, it wasn't really up to date. I'm interested if there is a better alternative to Selenium WebDriver for a Web Application/Windows/Chrome/Mostly ...
1
vote
1answer
2k views

Selenium Chrome basic authentication secure method

I'm still new to automation and what i want to know if this method is secure in bypassing basic authentication, considering we are using https. By browsing i couldn't find any better practices of this ...
2
votes
2answers
40 views

Can I merge test expectation with test data together?

I am coding a test automation framework which uses data-driven approach. The whole project is to test an online shopping web page. An Excel sheet was created to contain all test data as following: ...
4
votes
1answer
443 views

Watir can't locate an element with xpath [closed]

I got this html (It's simplified to see the deep) <html> <frameset> <frame> #document <html> <body> ...
2
votes
2answers
61 views

Work requires answering dozens of drop down questions that are almost always the same. It is written in Java, can I automate answering them? [closed]

My google skills have added little to my knowledge of this subject. I apologize for not having a better background in this topic, however if I continue to answer these redundant questions I may break,...
3
votes
6answers
58k views

How to switch from one tab to another tab in chrome

Please help how to switch from one tab to another tab in chrome and to change focus on child tab.
4
votes
2answers
13k views

How to verify if a web page has been properly loaded or not?

I want to verify if a web page has been loaded properly. My approach is: Verify the URL is shown as expected. Verify the element at the top left most corner has been shown. Verify the element at the ...
0
votes
2answers
9k views

Test zoom levels of page on browsers

To zoom in webpage on browser I searched solution and used two ways but on both I am receiving an error can someone please help me identify where is the mistake or whats wrong with the code. Browser I ...
2
votes
2answers
464 views

Entire desktop screenshot on Chrome and Firefox

I searched alot on forums to find command for capturing everything displayed on the desktop (not just the browser window), but found that this is a bug or limitation. The questions I found were of 2 ...
1
vote
3answers
677 views

Properties File in Selenium

I am still unclear why you need Properties file in Selenium. It seems to me that everything stored there can be more effectively store either in Excel or with @DataProvider and @Parameters annotations,...
0
votes
2answers
387 views

How do you enter data from a jhtml Area element using selenium?

Now in the application that i have to automate, there's a jhtml Area element. This is a sample jhtml area: http://pietschsoft.com/demo/jhtmlarea/. So the jhtml area has two elements for the text you ...
1
vote
1answer
472 views

Coded UI selecting a Check box inner

This is my code I need to select the checkbox but couldn't select the checkbox. <label class=""> <span class="label-input"> <div class="icheckbox" style="position: relative;"...
4
votes
4answers
41k views

Handling hidden elements in Selenium

I have just encountered a question about handling hidden elements in Selenium. I don't understand how they should be handled. I'm also confused about why hidden elements would be used. How do I ...
1
vote
1answer
138 views

Frames in Selenium

I have never had to test an application that had frames. When does it make sense to divide a window into frames? How do I refer to (target) objects within a frame?
1
vote
1answer
492 views

How can I fill out web page timesheets using selenium?

I have to fill out my timesheet data every friday in timesheets. I've heard that selenium can be used to automate such manual tasks. I don't have a programming background - how would I use selenium ...
8
votes
7answers
2k views

Should I offer my client free code maintenance? [closed]

I am working for a small testing consultation firm. We are trying to compete against other testing consultation companies. Soon, I will finish my deployment at a client site; the nature of my work ...
2
votes
1answer
469 views

Where can I find good resources for learning Robotic Process Automation (RPA)? [closed]

I'm looking for tutorials for learning RPA. I did a lot of google search but couldn't find anything thats useful. Please suggest me some useful tutorials or certifications from where I can learn RPA.
2
votes
1answer
2k views

RobotFramework and Blazemeter

Has anyone used RobotFramework to write automated browser tests and then used Blazemeters chrome plugin to record those tests and utilize Blazemeters performance test tools? Is this even possible?
4
votes
2answers
14k views

how do perform menu list selection in web application using selenium?

I am trying to select/navigate to a menu item in the provided URL. I tried Actions but It was not working. https://enterprise-demo.orangehrmlive.com/auth/login uid/pwd : admin/admin I wanted to ...
2
votes
1answer
1k views

Firing event on new tab of browser in LeanFt using C#

In my application flow, a new tab is opened in Google Chrome after clicking a button, I want to fire more click events and test the application in this new tab but the click events are not getting ...
2
votes
3answers
16k views

How to open new tab in browser in selenium 3.0?

I have tried multiple actions but it is not working. It always close the first tab and then it open link in the same page. // Driver is launched package WebBrowserCommands; import org.openqa....
8
votes
2answers
866 views

Canonical way for multi-session browser testing in Protractor

The Question: What is the canonical way to write multi browser window tests in Protractor - the tests that involve multiple sessions fired up interacting with one another? The Story: The main ...
2
votes
5answers
660 views

Is there any automated cross-browser screenshot capturing tool

I'm looking for an automated screenshot tool which can take screenshot of multiple pages where we can define the url, viewport size and it will navigate to those pages, capture screenshot of the ...
4
votes
1answer
2k views

Do I need to run selenium server when using chromedriver?

I'm new to Selenium and Nightwatch and installed selenium-webdriver first, then chromedriver and finally I installed Nightwatch (because the syntax looks nice to me). Now when I want to run a single ...
2
votes
2answers
1k views

Upgrade from Selenium 2.53 to 3.0.0

Is there an accepted upgrade path from Selenium WebDriver 2.53 to 3.0.0? I'm using the Ruby gem if curious.
0
votes
1answer
99 views

How to generate screenshot from the browser and compare it with pdf

Currently we manually compare (test) the PDF layout with the website on the browser. However, I'm looking for a tool which could automate the testing process. I've looked into a Visual regression ...
1
vote
1answer
1k views

Automate embed youtube video in webpage using selenium webdriver [closed]

I have a web page under Test, where youtube video is embed in iframe of page. How can I automate the youtube embed video in Iframe by Selenium webdriver(java)? I have switched to iframe.Later how can ...
2
votes
4answers
4k views

Selenium — How to deal with 2 submit buttons and click on one of them?

The key HTML is: <div class="col col3 actionCol"> <button type="submit" class="booking fRight">Book</button> </div> but we also have other forms on the same page, e.g. for ...
1
vote
4answers
2k views

Selenium test if an arrow to go through the pages is still clickable

Excuse me if this question was asked already, I could not find it. I have a web page that has a table that uses a pager, and that have different filters to filter the columns. The table contains 50 ...
1
vote
2answers
146 views

How can we avoid duplicates now that we stub out the database?

We have a great unit test suite in that it is very fast (many tests per second, not many seconds per test!). We also have automated UI (browser, selenium based) tests. However this now seems to have ...
0
votes
0answers
24 views

Mac + system path : How can we overcome/centralize local system path while working in team?

We are team for 4 members. We are able to execute all automation script on our own machine/computer. When we commit on repository we purposefully do not commit our local path and if anyone commit by ...
1
vote
3answers
432 views

can we do a play and pause kind of thing in web automation with or without selenium? [closed]

What if I need to pause the automation script and play it dynamically. just like a music player.
1
vote
3answers
701 views

How we can enter data into multiple fields at the same time to make automation faster?

With selenium we enter one field at a time, right now I am working on a project where there are 1000+ fields, actually it takes huge amount of time. Is there any possible way in selenium to make ...
1
vote
1answer
4k views

How to resolve Could not start a new session? UnreachableBrowserException

I am trying to launch mobile browser and getting: org.openqa.selenium.remote.UnreachableBrowserException Could not start a new session. Possible causes are invalid address of the remote server ...
0
votes
2answers
68 views

What exception I will get If I use UnSelectall() on Normal Select element? [closed]

In Selenium I am using UnSelectAll() on a normal select/Input element( Not multi select). What exception I can expect?