All Questions
Tagged with selenium-webdriver automated-tests
3,029
questions
0
votes
0
answers
22
views
How to export test result present in Visual Studio 2022 Professional? I am working on specflow and there is no nunit used
I have executed my tests and want to export result present in Test Explorer in Visual Studio 2022 Professional v17.10.4. I am working on specflow and there is no nunit used. Is there any way to export ...
0
votes
0
answers
9
views
Katalon Studio, Testcases disappear after pushing code and open other project
Recently, i made plenty changes and new testcases in my project. Then, i commited and pushed my code to my repository branch in Bitbucket. After that, i got some error like “Rejected bla bla bla”. But ...
0
votes
1
answer
36
views
Proper use of "assert True" in Selenium Python
I have written a simple automated test to test the login functionality of a Web-based application. I have a question about the if clause at the bottom and the assert True statement within it. Is it ...
0
votes
0
answers
18
views
python selenium how can I create a personal class with atributes of webdriverWait? I need POLL_FREQUENCY so my test can run smoothly in every step
I have this class:
class LoginPage(WebDriverWait,BaseWait,BaseStep):
def __init__(self, driver):
super().__init__(driver)
self.driver = driver
And I need to inject the driver with ...
0
votes
2
answers
46
views
Selector for a button with no unique ID
I was writing test selectors for selenium in python for a website like Booking.com. For one example I had to automate selecting a button from a list of buttons. The format for the button is as under:
&...
0
votes
1
answer
36
views
To find X path of the capital city of country but by using countries X path
Hi guys I want to find the X path of the capital city of the country by using the country.Help me in finding the X path. I have used independent and dependent X path but not able to find it.
Link of ...
0
votes
1
answer
47
views
Weird issues running tests parallely with Selenium, Java, TestNG
When i run my test (not parallel) everything works fine. But when i tried running same test twice there is alot of weird stuff going on. Either blank page or if one of them closes they both close and ...
0
votes
0
answers
28
views
Selenium clean POM project structure
I am doing refactoring of my old Selenium project. I am implementing POM and other best practices.
I work for insurance company and we are selling our insurance products online. Some of them have 5-6 ...
0
votes
1
answer
32
views
Is it possible to run VsTest in azure pipelines against pre-installed test project
We have an azure pipeline that deploys candidate releases to a staging server.
When the server update is complete a series of automated tests are then run, this is the current layout.
Now the ...
0
votes
1
answer
37
views
Selenium Xpath not working for automated test
I am creating a robot to autologin in a website.
So far it is working well, but I need to click in a button in the top of the screen and it is not working
The code from google inspect page is
<div ...
1
vote
1
answer
97
views
Chrome blocks file download - selenium
I've been using webdriver selenium 3.12 and chromedriver for Chrome 125.
I have put in arguments and capabilities everything that I found on internet, yet my xml file gets blocked as insecure, by ...
0
votes
0
answers
34
views
Scroll Page Up or Down using Robot Framework
Requirement: I need to select the checkbox w.r.t item name which is available in a web-table. The item name is randomly selected within a range and then the page has to scroll up or down based on the ...
1
vote
1
answer
35
views
How to find elements using text without tag
HTML
<div class="cell">
<!---->
message.
<!----></div>
Trying to write an XPath using text then click on the element.
My locator
(//td[@class="el-...
0
votes
0
answers
55
views
Could not start a new session on Jenkins server
I have an issue with creating session on server while trying to run automated tests [Java + selenium] - for Firefox and Chrome. Locally tests work fine but not on provided to me Jenkins server. ...
0
votes
1
answer
49
views
How to send pi symbol (π) using selenium on windows?
I am taking selenium web driver course on test automation university. On chapter 6, the instructor is using mac and is able to send the pi symbol using the following:
public void enterPi(){
...