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
0
votes
2answers
3k views

Not able to access iframe with random dynamic ids using Selenium webdriver.io

I am automating the payment page which is having the option to select payment method. On selection of credit card payment option, one iframe is generated from the third party and loaded with dynamic ...
-1
votes
4answers
3k views

Selenium, unable to locate xpath or form name [closed]

I'm trying to locate a form, but the application doesn't have form names. I tried: driver.findElement(By.xpath("html/body/div/div/main/div/div[2]/div/form")); driver.FindElement(By.XPath("//input[...
1
vote
1answer
3k views

How to get List of similar elements using javascriptexecutor using selenium webdriver

I want to get list of similar element into arraylist using javascriptexecutor. However able to store only single element using javascriptexecutor. Here is my code: JavascriptExecutor js = (...
3
votes
1answer
930 views

How to locate an element in Ranorex when its attribute is not recognised?

I have been working a test automation project using Ranorex; an element was automatically identified with one of its attribute but it does not work. From its HTML code, this element can be uniquely ...
2
votes
2answers
18k views

Finding the Parent of an Element, then Clicking a Button Child of that Parent in C#/Selenium

I am quite stuck while testing a web application. I am trying to check to ensure a class exists - in this case the class of "originalProductPrice" - out of a group of identical looking li items. Only ...
0
votes
1answer
495 views

switching windows in Selenium

I am having problem understanding the syntax of how to switch between windows. The standard syntax is: Set <String> stringHandles = driver.getWindowHandles(); for (String handle:stringHandles) {...
5
votes
1answer
225 views

Canonical way to define page objects/locators in big enterprise level automation projects?

Background: As automation testers in selenium world, we have to work on multiple languages/frameworks(wrappers over selenium) in different projects however there is an one thing which remains common ...
3
votes
1answer
1k views

Chrome 62: sendkeys seems to be causing chrome://settings/help to open

An automated Selenium-webdriver / node.js test that I have used daily for years (with regular modifications) seems to be acting up in Chrome 62 on the Mac (Version 62.0.3202.62 (Official Build) (64-...
2
votes
3answers
282 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 ...
2
votes
0answers
531 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 ...
2
votes
3answers
1k 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
374 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 ...
2
votes
2answers
749 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
1k 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
452 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
2k 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
460 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
6k 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
197 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
9k 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
3k 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
984 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
846 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
41 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
546 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
63 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
89k 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.
5
votes
2answers
17k 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
12k 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
497 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
899 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
777 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
497 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;"...
5
votes
5answers
74k 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
151 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
812 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
494 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
3k 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?
5
votes
2answers
21k 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
20k 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
1k 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 ...
4
votes
6answers
752 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
4k 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
130 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 ...
2
votes
4answers
6k 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 2 3
4
5
8