Automated web based GUI testing tool [closed] - python

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
Hi all i want to web based GUI Testing tool. I found dogtail is written using python. but i didnot get any good tutorial and examples to move further. Please Guide me weather dogtail is perfect or something better than this in python is there?. and if please share doc and example.
My requirement:
A DVR continuous showing live video on tile(4 x 4 ), GUI is web based(mozilla) . i Should be able to swap video and check log and have to compare actual result and present.

Selenium is designed exactly for this, it allows you to control the browser in Python, and check if things are as expected (e.g check if a specific element exists, submit a form etc)
There's some more examples in the documentation
Project Sikuli is a similar tool, but is more general than just web-browsers

Selenium provides a python interface rather than just record your mouse movements, see http://selenium-python.readthedocs.org/en/latest/api.html
If you need to check your video frames your can record them locally and OCR the frames looking for some expected text or timecode.

For Simple form based UI Testing. I have created a framework using python/selenium/phantomjs although it can do complex stuff too. I am yet to document it. (If you don't need to run firefox you don't need to install phantomjs)
https://github.com/manav148/PyUIT

Related

Best way to build a desktop app while keeping my python [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 1 year ago.
This post was edited and submitted for review 1 year ago and failed to reopen the post:
Original close reason(s) were not resolved
Improve this question
So, I've built this program using python what is currently running in the terminal.
My goal is to eventually design the application in a modern way like (discord, slack, or any other 2021 downloaded desktop-app),but I'm not really sure what to use.
The thing is, I know React/Electron would be the best way to build/design a desktop application like discord, teams etc. However, I'm looking to keep my python as some sort of backend, while using lets say Electron as front
How can I keep my python functions, while designing a modern GUI/front end?
Thanks for advice
wiki.python.org has GuiProgamming entry, where GUI frameworks for python are enumerated. You need to select framework which does support platform you are targeting. If you are interested in fine control of look I would suggest Kivy cross-platform framework.
You could use the Tkinter python module although it is not to much like react.

Best IDE for fast prototyping with OpenCV [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I want to ask about the best IDE to prototype programs by using OpenCV library.
I’ve been programming with Halcon for 3 years and I would like to learn how to program with OpenCV too. I was thinking about reproducing some old programs that I have created with Halcon, but instead using OpenCV. The problem is that maybe I’m not using the correct IDE (I’m programming with Python using Spyder) or maybe programming with OpenCV is slower than I have expected (I don't discard the possibility that I don’t know the appropriate way to prototype properly by using these tools).
I already know I come from an expensive program that allows me to work with many comforts, but I miss having a window where I can display dynamically the results of the operations than I’m applying. Also, draw some ROIs quickly. Anyways, do you think I’m using the right tools? Do you know some tutorials from which I can learn how to prototype quickly using that IDE?
Thank you in advance!
My suggestion for OpenCV prototyping in a GUI is a program called GRIP (Graphically Represented Image Pipeline). You can download it from GitHub.
It supports many inputs: single image, multiple images, webcam, and even HTTP cameras. You get all the key OpenCV commands, along with some custom ones developed by WPI.
You develop your image processing flow as a pipeline, with filtering blocks such as desaturate, find contours, etc. in which you string the output from one block to the input of another (or multiple). You can then export the pipeline to Python, Java, or C++ (exported as a usable class with a key process function). If you want to see an example, feel free to check out this previous post I wrote!

Is there a Google Image Search API? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I'm searching for an API or a program (preferably Python and open-source) which lets me download the first n pictures of a Google Image Search for let's say bicycles. It would also be helpful if it could download the first n .pdf files from a normal search. Since not all pictures and .pdf files are found on Google and since there are many other search engines, a program which could also scrape results from Yahoo or Bing would be very convenient. Are there any such programs or is there an API from Google which lets me do more than 100 searches a day?
edit: People passing by may want to look at my attempt of programming such a scraper here
According to this post, all Google Search APIs have been deprecated.
However, GoogleScraper, an open-source library can help you achieve what you intend achieving.
If want to go barebones, and implement this yourself, BeautifulSoup is a very nice library to work with.

Looking for example or documentation for wikidump python lib [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I stumbled upon the wikidump python library, which I think suits me just fine.
I could get by by looking at the source code, but I'm new at python and I don't want to write BS code as the project I need it for is kind of important to me.
I got the 'wiki-SPECIFICDATE-pages-articles.xml.bz2' file and I would need to use that as my source for single article fetching. Can anyone give me some pointers as to properly achieve this or, even better, point at some documentation? I couldn't find any!
(p.s. if you got any better and properly doc'd lib, please tell me)
Not sure if I understand the question, but if you have the Wikipedia dump and you need to parse the wikicode, I would suggest mwparserfromhell lib.
Another powerful framework is Pywikibot, that is the historic framework for bot users on Wikipedia (thus, it has many scripts dedicated to writing pages, instead of reading and parsing articles). It has a lot of documentation (though, sometimes obsolete) and it uses MediaWiki API.
You can use them both, of course: PWB for fetching articles and mwparserfromhell for parsing.

any Python tools for reading Scantron-style data [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I am interested in doing some snail mail based surveys but I am looking for quick ways to digitize the surveys they send back.
So if I had a question and 5 boxes beneath it where you would indicate your opinion by checking the appropriate box, does anything exist where I could scan it and run it through a piece of software that spit out the responses.
Edit clarification:
I am inquiring about what I need to do after the paper has been digitized. I want to write some code that looks at an image file and recognizes which box has been marked in and outputs a representation of the respondents answers.
I would be looking at a page scanned from a desktop scanner or something similar.
From what i see you don't really need ICR (intelligent character recognition, used for handwritten and handprinted texts), but what you need is OMR - optical mark recognition (capturing human-marked data from document forms such as surveys and tests).
The bad news is you would hardly find an opensource library for python. But there's a solution - you can use a cloud SDK, it's a website that let you upload an image and send you back an OCR'ed data. Try www.ocrsdk.com, it is a cloud based OCR SDK recently launched by ABBYY. It's now in closed beta so it's completely free to use.
It has both ICR and OMR api methods and a set of python code samples.
I don't really see what this has to do with python, unless of course you've already digitized the results and are now looking to tally up the results. It sounds like you still need to scan the results in and as far as I know, python doesn't have any direct capabilities of doing something like that. You're going to have to get your hands on a scanner first, and only then can you use python to read through the data.
The SDAPS project (repo) might be worth a look. It may not handle arbitrary scanned images, as it seems to expect an ODT or LaTeX document at the beginning of the process.
Overview
SDAPS is an open source (GPLv3, LPPL) optical mark recognition (OMR) program. It is
written in python and has an integrated workflow with both LibreOffice and LaTeX to
create questionnaires.
Workflow
With SDAPS you create the questionnaire using either LibreOffice or LaTeX. After this
some processing is done to collect the information about the survey (questions, and
answers) and a printable PDF is created. The filled out questionnaires only need to be
scanned in (example). SDAPS will do the optical mark recognition and can create a PDF
report (example) or export the data. Optionally it is possible to manually correct the
results using a graphical user interface.

Categories