The question is as simple as that. In Cypress, how can I access a new window that opens up when running the test.  Steps to recreate :        Run the test. After some action, new window pops up (the url is dynamic in nature).   Fill in the fields in...
Context: I have an element with innerText in Page1 and another element with innerText on Page 2. And I need to compare these two values in Page 3. So I need to find a way to save these values in a variable globally so that they can be used later.  Th...
I'm trying to auto-click a button to initiate a function when the html page loads. I've tried document.getElementById('watchButton').click and it doesn't seem to work, the button is not clicked. Any suggestions?   <div class=&#...
I am working with nightwatch.js and i am quite new into this automation testing, i want to set the value into the style property of an element by nightwatch.js, so i am asking, is it possible ? if it is possible then how can we implement it.  I can a...
I have built various Test Automation frameworks using the Page Object Pattern with Java (https://code.google.com/p/selenium/wiki/PageObjects).  Two of the big benefits I have found are:  1) You can see what methods are available when you have an inst...
I have a single endpoint in the application. We hit the same api for each request with different action in the params.  URL:  /application/api   Sample Request Payload 1:  {   "action": "CARD_TRANSACTION_HISTORY",   "data": {...
I am wondering if selenium can do below? I want to automate only certain parts of the automation flow:   Load a web page (built with angular), submit the form with some predefined inputs   On the next page, automatically fill in some data like earlie...
I am in a situation where I need to use for loop and If else block in cypress  Scenario: Once I login to an application, I need to read an element's text which is rounded in the below screenshot.   This element will appear within 20-90 seconds af...
I am using WebDriverIO to try to access (ie. getText, getAttribute, click, etc) an element after creating a list of elements. I am easily able to implement this element if I am using the browser.element() method, but the moment I use browser.elements...
I'm making a small test framework that uses the JavaScript module pattern for UI Automation testing on iOS. However, I seem to be getting odd results based on #import and extending modules.  I have the base test module called Tester-Module.js:  (...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.