alright, i need to look into that. I'm pretty new to this stuff.
Lord_Drake
jimevans: Why my that be?
*might
Xat` has quit
WhereIsMySpoon
cause they'll cause a stale element exception if they change
Lord_Drake
Aaaah, I should eat something. Can't type any more.
lukeis
i wrote a crawler once doing this...
WhereIsMySpoon
i'll crawl you
Lord_Drake
oooooh, I see what you mean.
LostSoul joined the channel
WhereIsMySpoon: You promise? :P
WhereIsMySpoon
always
lukeis
persist the target location in a set :)
sets (unique) cause a list will be duplicates ;)
mydog2
WhereIsMySpoon, - in my use case. the test sites implement javascript to generate the page.... so i would expect the underlying browser engine (ff/chrome) to be pretty much the same speed now
WhereIsMySpoon
mydog2: that is not an answer anyone in the world can give generically
try again when you've solved the halting problem
GodFather has quit
steve__
i feel overwhelmed at not understanding this -.- suggestions on where to learn some more?
Lord_Drake
steve__: Here?
steve__: Really depends on what you don't understand.
ndmanvar-sl has quit
mydog2
WhereIsMySpoon, - the actual desktop "test" of ff/chrome is close enough.. in terms of testing.. so I would expect the sel/py + browser to be similar.. I've not seen anything to indicate a diff.. thought i'd ask here as well. thanks
steve__
most of it, im pretty new. I have made 3 tests for our website, but its basically just checking out cart functionality. making sure you can reach it via search and via clicking home page icons.
Lord_Drake
Is it Selenium you're having issues with, or the language?
steve__
uh probably both then. I went through a selenium course on udemy and have been trying to apply most of that to my tests
that used c#
Lord_Drake
I've never heard of udemy. Didn't know there was a course.
What are you using?
steve__
Visual Studio, c#
Lord_Drake
Are you not familiar with C#?
steve__
not particularly any language. I know some basic things, but i dont have a coding background really.
Lord_Drake
Ah, okay. Well I personally adore C#, but most of the examples you'll find for Selenium are in Java. They're reasonably simliar, but will require some tweaking to make them work.
Try checking out CodeCademy, that can help you get familiar with the basics of a bunch of languages. After that just see about setting up a series of simple tests to get familiar with it. Once you're comfy then you can go for bigger game.
Unless you're an idiot like me and you let your boss tell you what language you're going to work in. Pick one that you're comfortable using.
cristi has quit
steve__
I was doing stuff with ruby and really liked it, but the udemy course was going through with visual studio and c# so I just followed along
ndmanvar-sl joined the channel
lukeis
pick the language the app is written in too :) the developers of the app should also be updating/writing selenium tests
steve__
hahaha.. this is an ooooold company.
Lord_Drake
lukeis: PFFFFFFFTTTT, you're so funny. *rflmao*
lukeis
change your company or change your company :)
Lord_Drake
Do you know how long it took to get them to actually test their changes at all before commiting them? XD
lukeis
facebook / google / salesforce (which i am) engineers all have to write tests
steve__
basically got hired on to do data entry, and told them I could help with automation testing (they all clicked by hand before)
lindsey-sl joined the channel
Lord_Drake
steve__: My QA group basically just clicks. I'm also the only one really working on automation. Couple of the others have been using something called TestComplete, but that's kinda weird.
steve__
we're going to be redoing the site in Polymer. It was originally created in ColdFusion.
DrPeeper joined the channel
DrPeeper
is it possibly to multi-browser selenium with python to speed up tests?
e.g. have 10 or 20 running simultaneously
Lord_Drake
Possible? I'm pretty sure you can. I'm not sure if it's a good idea.
nofacade joined the channel
smccarthy-sl1 joined the channel
DrPeeper
yeah
Dritz
Lord_Drake: oh, we've got TestComplete in here. Basically a cheaper, less polished, roughly as unstable version of HP UFT.
Lord_Drake
Dritz: Never used HP UFT.
DrPeeper
i should have worded it better
Dritz
but that said it supports our legacy product and HP doesn't
bret-sl has quit
XgizmoX has quit
ndmanvar-sl has quit
ndmanvar-sl1 joined the channel
bret-sl1 joined the channel
Lord_Drake: consider yourself fortunate :V
Lord_Drake
Same, the product they use it on was written in flash. So Selenium isn't an option.
Yeah I looked at TestComplete and said 'nope'.
smccarthy-sl has quit
Dritz
I actually like TC more than UFT, from an interface perspective, but it has some major issues in its integration plugins
mydog2
DrPeeper, -- running multiple/simultaneous instances of browser/webdriver witin py...
doable...
you need to capacity plan for the resources..
Dritz
maybe git is okay, but the TFS stuff put unnecessary information into the mappings and screwed things up constantly; it was like they expected only one person to ever work on the tests, and put system-specific info in
mydog2
depends on the cpu/ram
DrPeeper
24 cores and 128GB ram should be sufficient
Lord_Drake
Dritz: Now that's just stupid.
mydog2
DrPeeper, - year..
DrPeeper
was hoping to find an example of how it could be done.. aside from running screen and ./test.py 20 times
Dritz
and the HP Quality Center integration was... so, so bad. Literally exported as a zip file that was stored in QC, with a script that extracted and attempted to execute them, and expected all of your tests and object repositories and *everything* to be in one giant project, which it supported poorly.
I ended up writing our own QC harness so we didn't have to use theirs.
mydog2
i've tested simple instances of running multiple "copies" of webdriver/ff and had 2-3/core running.. on a 1G test
Dritz
QC being HP's application lifecycle management thing that tracks test coverage and status
Lord_Drake
Dritz: That sounds... messy.
mydog2
others have reported the 2/3 instance/core ratio as well...
DrPeeper
i suppose I could just write a one-liner bash to encapsulate and drop them in the bg
e.g. for blah ; do ./test.py & ; done
or in this case
mydog2
in my case.. i simply wanted to fire up the test url.. with no real testing on the returned source
timnab-sl joined the channel
WhereIsMySpoon
DrPeeper: you use grid and have a test runner spin up multiple tests in different threads for you
ndmanvar-sl1 has quit
DrPeeper
that sounds magic
WhereIsMySpoon
nawh
lindsey-sl has quit
DrPeeper
oh, selenium grid! never heard of it.. look promising
thans
stryx` joined the channel
dmcnulla-sl joined the channel
Lord_Drake
I'm not sure if I should feel pity, or disgust for the IeWebdriver....
lucast
DrPeeper what test framework do you use?
barancev
anybody can use the brand new html runner? I can't run anything with it (on windows) :(
timnab-sl has quit
ndmanvar-sl joined the channel
marekj-sl joined the channel
wow! a commit by dawagner!
titusfortner-sl has quit
dmcnulla-sl has quit
smccarthy-sl1 has quit
bjaberle-sl joined the channel
kristianmeier-sl joined the channel
NOTICE: SeleniumHQ/selenium#1173 (master - 3b7ba0e : Daniel Wagner-Hall): The build was broken.