#selenium

/

      • Hello123321 joined the channel
      • Hello123321
        2,0yoo
      • 2,0zxczcczc
      • testingbot joined the channel
      • testingbot has quit
      • tacs has quit
      • lukeis has quit
      • liuedx
        anyone has experience using selenium with Bamboo?
      • rezrov
        @liuedx yes, some
      • tony3 has quit
      • liuedx
        I am totally new to bamboo, I want to integrate my test case from scratch
      • @Hello123321, do you have any resource for me to walk thru?
      • rezrov
        We have our tests stored in stash/git
      • jimevans
        liuedx: it's generally considered bad form to call out individually to every new person entering the channel.
      • and before you ask, no, i don't know anything about bamboo.
      • rezrov
        With bamboo we can check them out and execute the tests much like you would on the command line
      • Hello123321
        2,0no mannnn, sorry, i'm pretty new to this, there are professionals over here :)
      • Cromzinc joined the channel
      • Cromzinc
        ayye
      • liuedx
        noboy see my questions
      • rezrov
        Of course your bamboo agent needs the prerequisite stuff installed, jdk/jre, etc.
      • Cromzinc
        I came asking for some help about my dragAndDrop not working consistently...
      • Hello123321
        2,0they see, they just idle
      • rezrov
        There's nothing unique about running selenium from bamboo, run it just like you would any other command-line job
      • Hello123321
        2,0it takes time
      • liuedx
        ok
      • Cromzinc
        but figured out how come,it was the the release happening to soon for some reason. So when I put a wait in between the clickAndHold/moveByOffset and the release...
      • it worked perfectly everytime.
      • that the*
      • Hello123321
        2,0i wonder, who is the competitor of selenium? how come there is only one thing...
      • 2,0just think what if i wouldn't have selenium
      • 2,0:-|
      • jimevans
        there are lots of competitors.
      • testingbot joined the channel
      • testingbot has quit
      • Hello123321
        2,0who for example?
      • 2,0maybe the web browser obejct in .net?
      • 2,0i mean something that do perfect browsing, like regular one
      • jimevans
        quicktest professional, silktest, telerik teststudio, just to name a few.
      • of course, those are all proprietary software, and not free...
      • Hello123321
        2,0haaa nice . i didn't know
      • 2,0i will check them
      • dude-x
        Hello123321 if there was something perfect, word would get around and people will sing its praises
      • Hello123321
        2,0hehe, i bet you saved this answer ha? :)
      • jimevans
        however, one thing selenium webdriver has going for it is that it is undergoing the process of becoming a w3c standard.
      • Hello123321
        2,0only god is perfect...you're right
      • 2,0yes, i see many QA people use it as standard
      • jimevans
        as such, the automation techniques to drive a particular browser are often baked directly into the browser.
      • Hello123321
        2,0if you have time...explain this to me:
      • jimevans
        no, i don't mean a "standard" as in, "everyone uses it," i mean "standard" as in, "it's described by a specification produced by a consortium of web technology entities, much in the way html, or css, or javascript is a 'standard'"
      • Hello123321
        2,0i want to send the program to someone
      • 2,0i'm using LiClipse (a python IDE version of eclipse)
      • 2,0now
      • Guest35028 has quit
      • 2,0what i need to do, what he should have? i did so many firefox webbrowser driver and chrome webbrowser driver installs , that i don't remember what the target computer should have
      • 2,0he need to install something of selenium? or only the py's exe
      • lukeis joined the channel
      • 2,0(i mean a python compiled exe of the code)
      • dimacus has quit
      • jimevans
        Hello123321: i'm not a python expert. most of my experience with python is with the code being distributed directly, not with a compiled executable (which isn't a stock feature of python, right? you need extra tooling for that, don't you?)
      • Hello123321
        2,0stock feature = regular option?(you mean)
      • 2,0yes, i have to use external compiler
      • jimevans
        yes, as in, i install python from python.org
      • right, you need an extra compiler to make an executable.
      • Hello123321
        2,0but that's not the exact question
      • 2,0lets say, which language you use?
      • jimevans
        so i don't know what the executable contains...
      • Hello123321
        2,0yes, but it also had the selenium driver
      • 2,0lets say i want to send him the java project, he will have to install the selenium driver, no?
      • jimevans
        but if it were, say java, or .NET, i'd need to compile the source of my app into a binary (for .NET, that's a .exe; for java, a .jar), and i'd have to distribute that, along with the selenium library, yes.
      • in the case of chrome, i'd need to have the user get the chromedriver executable.
      • (a separate executable from the binary i created)
      • Hello123321
        2,0yess that what i mean
      • 2,0it really a mass...
      • 2,0that's why i tried to use "junit" in the first place
      • 2,0but it is not the same :|
      • jimevans
        in the compiled python executable case, it depends on whether the external compiler also includes the source code dependencies in its produced executable (the selenium python library, and any dependencies selenium has like the http library and so on).
      • i'd assume that the python compiler should be smart enough to do that, but again, i'm not a python expert.
      • so i really have no idea.
      • but in any case, you'd still need to distribute the chromedriver executable (from http://chromedriver.storage.googleapis.com/inde...)
      • for firefox, you shouldn't need anything external right now, but soon you'll need an executable for that too.
      • for IE, you'd need to distribute IEDriverServer.exe.
      • Hello123321
        2,0btw, i tried to use java's "WebClient" with firefox driver
      • jimevans
        those external executables are required no matter what language your app would be written in.
      • Hello123321
        2,0and also with chrome
      • 2,0that's a nightmare
      • 2,0:|
      • 2,0and in the end, i couldn't do it
      • 2,0i don't know if i did something wrong
      • 2,0but from what i have seen on the net, many problem with that
      • 2,0they tell you, "noooo , this version of firefox don't work with this version of webclient, there is a bug in that version, take the version before"
      • jimevans
        i don't have any idea how one would use WebClient with webdriver.
      • Hello123321
        2,0it's seem to be not stable
      • 2,0maybe i'm wrong
      • 2,0i will just look at the code
      • 2,0but i hate it lol
      • 2,0nvm
      • 2,0the code is so mess, i don't want to look at it, lol
      • 2,0i'm on the python and selenium and this is it...
      • 2,0you were right, the webdriver was with the selenium
      • 2,0the code is so mess, i tried the tow options in the same code
      • 2,0//ChromeOptions options = new ChromeOptions();
      • 2,0//options.setBinary("C:\proprojects1\ChromeDriv\chromedriver.exe");
      • 2,0WebDriver driver = new HtmlUnitDriver();
      • 2,0:\
      • cravecode has quit
      • 2,0someone should do meme:
      • 2,0in JAVA:" write 5 thousand lines to declare browser!!!" in PYTHON:"nooooooooo nooooooooooo , don't tell me what the type of the variable, tell me tl;dr version of what you want"
      • trumpnet joined the channel
      • rplevka_ has quit
      • 2,0yo trump
      • 2,0trump take over usa...
      • trumpnet
        make it great again
      • Hello123321
        2,0lol yes
      • renlo has quit
      • 2,0even i know the slogan
      • liuedx
        good or bad?
      • Hello123321
        2,0i don't know, it's not my president
      • liuedx
        a lot of stuff he said making sense but a lot not making sense
      • dude-x
        why not just reject him outright for pandering to racists?
      • Hello123321
        2,0yes, but he says it in agressive way
      • jimevans
        dude-x: or being spectacularly unprepared for any sort of position in government?
      • Hello123321
        2,0i don't understand
      • lukeis
        imagine a world with strong borders… no one can enter / leave any country… all must stay put ;)
      • dude-x
        jimevans i suppose that's fair
      • trumpnet
        this is the first time one of my random un's caused a rucus XD
      • lukeis
        this is a rucus? :)
      • trumpnet
        well, off topic :P
      • Shailesh_ has quit
      • renlo joined the channel
      • Hello123321
        2,0what's wronge with strong borders
      • 2,0it's not like everyone open their borders
      • 2,0it's fiction
      • lukeis is a weird liberal who would like open borders
      • 2,0where there is open borders? (EU!=open borders)
      • lukeis
        didn't say there were any
      • Hello123321
        2,0haaaaaaaa...........
      • 2,0you mean in theory
      • liuedx
        lol
      • Hello123321
        2,0so yes, i like that too...
      • 2,0and also unicorns :)
      • dude-x
        there's no wall between US and Canada
      • liuedx
        having trouble to write a tabledata to excel
      • Hello123321
        2,0but only the pink type
      • liuedx
        any idea?
      • Hello123321
        2,0dude-x that's nice, but we said "borders" we want also the way to mexico
      • liuedx
        all houses should not have wall too
      • Hello123321
        2,0open borders , at the liberal way, should be also to the weak people, not only the nice neighbor
      • 2,0lollll no wall...nice
      • dude-x
        liuedx that's different. a house is about protection from the elements;