tag:blogger.com,1999:blog-5236867476487043111.post8268137651028115633..comments2024-03-11T07:55:47.104-04:00Comments on Corey Goldberg: Python - Getting Started With Selenium WebDriver on Ubuntu/DebianCorey Goldberghttp://www.blogger.com/profile/06219872951977664560noreply@blogger.comBlogger10125tag:blogger.com,1999:blog-5236867476487043111.post-27134200366545443252017-07-15T22:19:11.518-04:002017-07-15T22:19:11.518-04:00Your Selenium Python blogs are immensely helpful. ...Your Selenium Python blogs are immensely helpful. Thank you so much.Anonymoushttps://www.blogger.com/profile/13840982495804779189noreply@blogger.comtag:blogger.com,1999:blog-5236867476487043111.post-3175912163701121002013-01-17T14:18:20.335-05:002013-01-17T14:18:20.335-05:00@Farz,
there are some forks around of webdriver th...@Farz,<br />there are some forks around of webdriver that work with python 3, but it's not officially supported yet. hopefully soon.Corey Goldberghttps://www.blogger.com/profile/06219872951977664560noreply@blogger.comtag:blogger.com,1999:blog-5236867476487043111.post-3972232266361582582013-01-17T14:11:56.672-05:002013-01-17T14:11:56.672-05:00Hi Corey,
Can I use Python 3.0 with Selenium Web...Hi Corey, <br /><br />Can I use Python 3.0 with Selenium Webdriver ?<br /><br />FarzAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-5236867476487043111.post-76184061270049436242012-10-17T03:45:47.006-04:002012-10-17T03:45:47.006-04:00Corey, thanks for your inputs in sqaforums, mentio...Corey, thanks for your inputs in sqaforums, mentioned those below (step 1, 2, 3, 4)<br /><br />1) install Python<br />- go to http://python.org/download/<br />- download the latest MSI installer for Python 2.7 (32-bit)<br />- run the installer<br /><br />2) set your PATH<br />- go to your system's environment variables, and<br />add 'C:\Python27' to your PATH (this will enable<br />you to invoke 'python.exe' from any command line)<br /><br />3) install setuptools for Python<br />- go to http://pypi.python.org/pypi/setuptools<br />- download the latest setuptools exe file for Python<br />2.7 on Windows (currently: setuptools-0.6c11.win32-py2.7.exe)<br />- run the installer<br /><br />4) easy_install selenium bindings<br />- open a command prompt (cmd.exe)<br />- 'cd c:\Python27\Scripts'<br />- 'easy_install selenium'<br />- this should download and install the latest version of selenium bindings from PyPI<br /><br />5) Installed eclipse classic, integrated PyDev to Eclipse (Help->Install New softwares).<br /><br />6) Within Eclipse: Window->Preferences->Interpreter-Python -> added python.exe path (adds python and selenium libraries)Vineethnoreply@blogger.comtag:blogger.com,1999:blog-5236867476487043111.post-15831980309702224452012-10-16T07:01:21.796-04:002012-10-16T07:01:21.796-04:00New to software testing
OS: Windows XP
1. Install...New to software testing<br />OS: Windows XP<br /><br />1. Installed Python 2.7<br />2. Installed Eclipse Classic SDK<br />3. Added PyDev to Eclipse<br />4. Python interpretter path was set in Eclipse<br /><br />At this stage, I could run any python programs in this IDE<br /><br />5. Ran Selenium IDE firefox plugin and recorded a simple test case. Exported as Webdriver-Python script<br /><br />Trouble starts here.<br /><br />How do I manage to run the py script in Eclipse, What all things I need to setup for that?, No idea how to bring up selenium python bindings to Eclipse.<br /><br />Appreciate inputs..<br />Vineethnoreply@blogger.comtag:blogger.com,1999:blog-5236867476487043111.post-38074790191267662892012-07-04T06:41:09.151-04:002012-07-04T06:41:09.151-04:00I guess for Python v2.6 users, assertIn also won&#...I guess for Python v2.6 users, assertIn also won't work..<br />This should work<br />self.assertTrue('Ubuntu', self.browser.title)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5236867476487043111.post-18871421516335585232012-02-25T22:30:29.761-05:002012-02-25T22:30:29.761-05:00Corey,
this is ref to the above message. i uninst...Corey,<br /><br />this is ref to the above message. i uninstalled and reinstalled everything in order. selenium webdriver started working fine. thanks for the info.<br /><br />AariffAariffhttps://www.blogger.com/profile/09131943539780700862noreply@blogger.comtag:blogger.com,1999:blog-5236867476487043111.post-53612582262516637812012-02-24T19:14:28.974-05:002012-02-24T19:14:28.974-05:00Corey,
i followed your post in stack overflow for...Corey,<br /><br />i followed your post in stack overflow for the installation of selenium 2 with python. I did downloaded selenium web driver bindings, then i did PIP install selenium and then i downaloaded the .jar file and ran as said in the documentation ( though u mentioned it is not required for webdriver but the selenium and google site suggest that (http://selenium.googlecode.com/svn/trunk/docs/api/py/index.html)). i have a sample program downloaded from ur site but still i am getting "import error: cannot import name webdriver"Aariffhttps://www.blogger.com/profile/09131943539780700862noreply@blogger.comtag:blogger.com,1999:blog-5236867476487043111.post-56381630641645946132011-07-11T15:45:19.799-04:002011-07-11T15:45:19.799-04:00Michael,
ah, the .main() verbosity parameter was a...Michael,<br />ah, the .main() verbosity parameter was added to unittest in Python 2.7 (which I am using on Ubuntu 11.04).<br /><br />you can just remove that parameter and it should run under 2.6 (with less verbose output).<br /><br />sorry for confusing you :)<br /><br />the docs for unittest in 2.6 show how to load and run test cases and enable verbosity if you want more detail:<br /><br />http://docs.python.org/release/2.6/library/unittest.html<br /><br />-CoreyCorey Goldberghttps://www.blogger.com/profile/06219872951977664560noreply@blogger.comtag:blogger.com,1999:blog-5236867476487043111.post-72761233043953893262011-07-11T14:27:02.249-04:002011-07-11T14:27:02.249-04:00Newer to unit testing, and quickly an avid reader ...Newer to unit testing, and quickly an avid reader of your blog.<br /><br />Ran into an error with Python 2.6.6 on Ubuntu Maverick:<br /><br />__init__() got an unexpected keyword argument 'verbosity'<br /><br />MichaelMichael D. Healyhttp://michaeldhealy.com/noreply@blogger.com