All Questions
158
questions
-1
votes
1
answer
60
views
Pytest ignoring certain parameters with multiple parametrize
Im wondering if there's any way of skipping parameter pairs in the example below:
@pytest.mark.parametrize("foo", [1, 2, 3])
@pytest.mark.parametrize("bar", [4, 5, 6])
When ran ...
0
votes
0
answers
212
views
Activate a Chrome Extension with a "Browser Action" in Selenium with python
For test purposes I need to use a Chrome extension inside my Selenium tests.
In the picture you just see the extensions button (the puzzle piece) and under that (clicking) there is the extension I ...
2
votes
1
answer
334
views
Using pytest.mark.usefixtures with parametrisation
Lets say I have two tests that basically do the same thing, however, I'd like to use a fixture for one of them.
I was thinking that this should work, but it doesn't
@fixture
bar_fixture():
...
0
votes
0
answers
29
views
How is the number of spawned users calculated when using the fixed_count attribute
I have locust file with following users:
class UserA(HttpUser):
weight = 115
@task
def ping(self):
...
@task
def view_items(self):
...
class UserB(HttpUser):
...
0
votes
0
answers
221
views
Unit testing private methods
Several questions, such as Should I test private methods or only public ones? seem to encourage testing private methods through the public interfaces because:
You test the private methods, by writing ...
1
vote
1
answer
80
views
Pyautogui can not interate with "User-Consent" dialog
i encountered a Windows automation problem.
Background: I need to automated the vPro remote desktop E2E flow,the target PC will pops up a "User-Consent" dialog to choose if connect. I try to ...
0
votes
2
answers
307
views
Trying to test using Python Selenium - Error seen in the console
I'm beginner, so I don't understand the reason this type of errors:
Traceback (most recent call last):
File "C:\Users\kerem\PycharmProjects\pythonProject\main.py", line 5, in <module>...
0
votes
1
answer
65
views
How to count the JSON object's keys as they are not the same
I want to get the length of my JSON objects' key values (if we think of it as a dictionary) and count it. I have a Word doc and I apply a text parse operation on this doc and get a JSON object. This ...
1
vote
0
answers
30
views
Python Selenium: How to dismiss a pop-up ad? [duplicate]
I am trying to automate a bunch of testcases that test all the input errors of a website and every test case works individually but when I run all testcases then I met with pop-ads every time and I ...
-2
votes
1
answer
65
views
Can't target the username and confirm pass (python selenium automation testing)
link : https://opensource-demo.orangehrmlive.com/web/index.php/pim/addEmployee
I am working with Python selenium automation testing. here I am facing an issue. Can't target the username and confirm ...
0
votes
1
answer
23
views
How can I find the mismatch between two similar PROD vs SIT datasets on a summary level and dive deeper into the row for inconsistencies? Alteryx?
I would like to automate this processes for multiple datasets. I am not sure if there exists a tool like Alteryx or any software where I can do the following.
Compare 2 similar datasets on a block ...
1
vote
0
answers
106
views
CWE based Test Suite for Python
Is there a widely known test suite with testcases based on CWEs like the Juliet Test Suite for C/C++ from NIST for Python? I was not able to find a ready to use solution, only plugins like unittest ...
0
votes
1
answer
442
views
Selenium with Python - html report is not showing any logs in any of my tests
I´m new to Stackoverflow, automated testing and programming in general so please be patient with this junior.
I have been able to automate 359 tests for my company and all 359 pass correctly. I was ...
0
votes
1
answer
226
views
RobotFramework combine test template with variables and other keywords
I want to use test [Template] as part of a testcase.
Below Testcase i want to use "Set Variable" and "Get Current Date", but robot doesn't recognize the keywords.
I don't want the ...
0
votes
0
answers
77
views
Selenium - Python: Everything works well with GUI but fails when run in headless mode
I´m new to stackoverflow and i´ve just been into software testing and this whole world for about a year but I am currently developing myself as a QA in a startup and i´ve been automating my test plan ...