All Questions
17 questions
-1
votes
1
answer
172
views
Getting error as geckodriver.exe executable needs to be in PATH when running robot framework
Getting error as geckodriver.exe executable needs to be in PATH when running test runner file in robot framework
I have downloaded and added geckodriver path in executable path and system variable. ...
-2
votes
1
answer
83
views
How to erase text from .txt in python or AHK?
I've a .txt file with 790 lines. In those lines theres information that I want to keep and information that I want to get rid off. Follow a example of what it looks like.
InfoThatIWant:InfoThatIWant -...
1
vote
0
answers
214
views
Any way a Python program can interact with a particular tab from user browser using Selenium? NOT CHROMEDRIVER BUT ACTUAL CHROME BROWSER
Ok so, imagine that I'm a Windows user who currently has open his chrome browser with the following tabs sorted as shown:
Facebook
Stackoverflow
Google
I'm interested in using a Python program that ...
-1
votes
1
answer
333
views
Unable to get instance of seleniumLibrary in robotframework
I am using robot framework with python. I am trying to get seleniumLibrary instance in python file using following code
from robot.libraries.BuiltIn import BuiltIn
class PythonDemo(object):
def ...
1
vote
1
answer
304
views
Run the selenium python script parallelly on chrome and msedge browsers
driver = webdriver.Chrome("C:\\seldriver\\chromedriver.exe")
driver = webdriver.Chrome("C:\\edgedriver\\msedgedriver.exe")
driver.get("https://www.google.com/")
I want ...
0
votes
0
answers
242
views
Can I search log.html file for specific keywords using Robot Framework test case?
I have python code in which I use print statements to print "PASS: " and "FAIL: " pattern depending on certain conditions inside the python code. When I run my test case using ...
0
votes
1
answer
126
views
is there a better way to read sub process results ? wihtout storing in log file and reading it again
I have this method where I automate xss attack using XSSsrtike tool (https://github.com/s0md3v/XSStrike/wiki/Usage), is there a better way to validate tool results? currently, I'm doing it based on ...
1
vote
1
answer
37
views
Edit and run a sequence of scripts in a less-manual way [Python]
I am trying to find a way to edit and run a sequence of python scripts in a less manual way.
For context, I am running a series of simulations, which consist in running three codes in order 10 times, ...
0
votes
0
answers
624
views
Unable to connect to MongoDB in robotframework
I have installed the libraries
robotframework-MongoDBLibrary >=0.3.4
pymongo >=3.10.1
bson >=0.5.9
And the robot script is
*** Variables ***
${MDBHost} localhost
${MDBPort} ${...
0
votes
1
answer
171
views
PyTest throws [WinError 87] parameter not found
I am currently working on test automation using Python. I was trying to use Allure which, first, requires Pytest. After installing these two module, I proceeded to call:
pytest --alluredir $...
0
votes
1
answer
25
views
Command line prints should be saved in .txt file every 10min with multiple trail's
Import os
Import time
While True:
Os.system("speed test.exe")
Time.sleep(1000)
3
votes
1
answer
4k
views
Use common Suite setup and Suite teardown for several test suites in a nested folder structure robot framewrok
I'm new to Robot framework and trying to better understand the concepts and usage in Suite Setup and Suite Teardown when the test's folder structure is not "flat". After a long search on the web, the ...
0
votes
0
answers
296
views
Setting up an automated pdf comparison on a server
Documentation is generated for every new build. I want to automate the process of comparing the new pdf with the old one and outputting the differences onto a text or image file. I also have the ...
2
votes
1
answer
1k
views
How to solve ElementNotInteractableException in Selenium Python
I am using Firefox geckodriver.
I want to load a page and click on "I want it too button"
which has id="J_cutBtn"
but I get error that
Element <div id="J_cutBtn" class="cut-btn"> is not ...
2
votes
1
answer
1k
views
Selenium code not executing after driver.get
I am trying to automate a website.I used driver,get() to access the page and did a couple of actions.Next I had to navigate to a certain page in that website and used driver.get() to access this. On ...