TransWikia.com
  1. All Categories
  2. Software Quality Assurance & Testing

Software Quality Assurance & Testing : Recent Questions and Answers (Page 7)

Find answers to your questions about Software Quality Assurance & Testing or help others by answering their Software Quality Assurance & Testing questions.

Variable in Xpath is not working

#driver.find_element_by_xpath('//div[@id="groups"]/div/div/div/div/div[2]/div[1]/div/div/button').click()i = 5gPath1 = str("'//div[@id="groups"]/div/div/div/div/div[2]/div[")gPath2 = str(i)gPath3 = str("]/div/div/button'")gPath = gPath1 + gPath2 + gPath3driver.find_element_by_xpath(gPath).click()I'm getting InvalidSelectorException error while using variable, but when i use the commented line it...

Asked on 10/25/2021 by user46038

1 answer

Selenium Dataprovider returns a NegativeArrayException when called from different class

I have an excel which contains multiple worksheets in it. Each worksheet contains multiple columns. I have a class like this. public class dptwo extends dpone {@Test(dataProviderClass = testdp.class,...

Asked on 10/25/2021 by user12730187

1 answer

Unable to get the correct value from the table using css selector in selenium

I am trying to get the value displayed against the Total using the below code:driver.get("https://www.cricbuzz.com/live-cricket-scorecard/20137/sl-vs-eng-4th-odi-england-tour-of-sri-lanka-2018");String textextras = driver.findElement(By.cssSelector("div[class='cb-col cb-col-100 cb-ltst-wgt-hdr']")).findElement(By.cssSelector("div:nth-last-child(3) div:nth-child(2)")).getText();System.out.println(textextras);String textsum = driver.findElement(By.cssSelector("div[class='cb-col cb-col-100 cb-ltst-wgt-hdr']")).findElement(By.cssSelector("div:nth-last-child(2) div:nth-child(2)")).getText();System.out.println(textsum);Output:19 Batsman R...

Asked on 02/27/2021

2 answer

Selenium throws MoveTargetOutOfBoundsException while using negative value in the moveByOffset method of Actions class

I am trying to scroll inside an element using the moveByOffset method of Actions class: HTML code:<html><head><meta charset="utf-8"> <style>#container{ width: 100px; ...

Asked on 02/19/2021 by Sandesh Sawant

1 answer

Error in Launching 2 chrome browsers using MultiThreading and perform same functionality simultaneouly

I am trying to launch two chrome browsers Simultaneously using Selenium ad cucumber, and perform same operations using multiThreading, but on one browser, operations get complete, whereas on another browser,...

Asked on 02/16/2021 by Apeksha Agarwal

1 answer

Running Selenium not under a Testing Framework

I've been using Selenium for a while but with a slightly different scope (actually constraints). Instead of running a test for a particular site, I'm interested for instance in filling...

Asked on 02/12/2021 by Sebastian Inones

1 answer

Is there a way to read data from excel and set global variable in SOAP UI and send those global variable in request payload?

Is there a way to read data from excel set global variable in SOAP UI and send those global variable in request payload and how to call multiple rest services?...

Asked on 02/09/2021 by Ankita

1 answer

How to configure Phpunit.xml to use multiple browsers in Phpunit test with selenium webdriver

I'm working on automation test for a big project and I'm using **Phpunit** for functional test and as a server **selenium webdriver**.I want to execute many tests using **different...

Asked on 02/09/2021 by Baini.Marouane

0 answer

How to set app path for android using Appium on a mac

I wish to know how to set the app path for an android app on my mac. For iOS you can download the app and then in the desired capabilities...

Asked on 02/03/2021 by user1523236

5 answer

Selenium - Unable to select the dropdown value inside shadow element

I am trying to select the drop-down value inside my shadow element using the below code, I went to the last point but the selection has not happened. I want...

Asked on 01/27/2021 by Sinu Reddy

0 answer

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP