Skip to main content

All 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 ...
eilchner's user avatar
  • 121
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 ...
madx's user avatar
  • 7,049
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(): ...
richve's user avatar
  • 31
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): ...
yalef's user avatar
  • 95
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 ...
Duarte Arribas's user avatar
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 ...
GaviZ's user avatar
  • 11
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>...
Denis Malanichev's user avatar
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 ...
oznurc's user avatar
  • 23
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 ...
JahKeem's user avatar
  • 11
-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 ...
Md. Jahangir Alam's user avatar
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 ...
sais's user avatar
  • 21
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 ...
huondui's user avatar
  • 433
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 ...
Martin M's user avatar
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 ...
daica's user avatar
  • 1
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 ...
Martin M's user avatar

15 30 50 per page
1
2 3 4 5
11