Puts only the parts in the runtime that you actually use
simonstewart
Exactly
And we're pretty good with not putting crap into selenium
jsdorlus joined the channel
tomer-sl
I was surprised that hello world in go is 2mb
Anyway I’ll talk to you if I reach an impass
I’ll try ripping htmlutils out
simonstewart
OK. Here to help
tomer-sl
We need to have a chat about link locators
Anil joined the channel
Selenium-Github
[13selenium] 15AutomatedTester 04force-pushed 06urllib3 from 14f88494f to 1449a58eb: 02https://git.io/fSoAW
13selenium/06urllib3 14da3b0c5 15AutomatedTester: Add urllib3 dependency to install and test systems
13selenium/06urllib3 1449a58eb 15AutomatedTester: Swap out httplib for urllib3
tomer-sl
I don’t have a 1-to-1 conversion
Because it’s more like linkGlob than linkText
Makes it hard to move to webdriver spec
GodFather joined the channel
Anil
One scenario like when entering text in the drodown text box , it displays / populates the values which matches the entered text
corevo_ has quit
clicking on this highlighted value should be done
simonstewart
tomer-sl: I'm not sure I follow
hazmeister-sl has quit
Anil
ask simonstewart>
let me explain clearly
there is one drop down box
in which we need to enter text
jimevans joined the channel
the resultant values will be displayed based on text entered
we need to select the matched value from drop down
that value will be displayed on dropdown box as selected value
simonstewart
Anil: I'm kind busy with the IDE discussion, shepherding the release, and working on Grid. Probably best to just address the channel
Anil
i am able to automate this through selenium , until the value highlighting
simonstewart
They're watching. If someone can help, they will
krishnan-maha-sl has quit
Anil
Sure simon
thanks
simonstewart
Thank you
Anil has quit
tourdedave
simonstewart: did you see my PMs? I feel like I have some odd connectivity issues going on.
GodFather has quit
simonstewart
No PMs on IRC
tourdedave
womp womp
I'll post here then
re: my point about the IDE...
You're right about not running the tests in the IDE. A mis-wording on my part. We don't intend to have people run the tests *in* the IDE (other than playback for one-offs, etc.)
awkwords joined the channel
But if the goal is just to export to code for running the tests in parallel, hooking them up to CI, etc., then there's no real need with the command line runner that we've built
But if the goal of exporting to code is different than that (e.g., on-ramp to more robust bits of Selenium or porting IDE tests into an existing Selenium framework) then that makes sense. Just wanted to share my thoughts re: the runner and the benefit it offers in comparison to code export
simonstewart
That's not the reason for exporting the code
The second reason is it: to help act as an on-ramp
Not everyone using IDE intends to continue using it
There's absolutely no way I'd use IDE on a normal project when everything else is written in IntelliJ
tourdedave
So it needs to be more like a Pixar movie. Something for everyone, aye?
Of course not. But why would you use the IDE then?
simonstewart
To quickly bootstrap a series of tests
To file bugs against the existing site
Because I'm not familiar with the webdriver apis, and want to see what people recommend
joshin4colour-sl joined the channel
Because I started with IDE but now want to use a real programming language
joshin4colour-sl
one idea for the Selenium IDE: this of the target user as someone who *isn't* writing a whole browser testing framework
perhaps it's a "manual tester" who needs a quick but repeatable script to live for a short-ish period of time
or someone who wants to try out browser automation as a proof of concept
simonstewart
Right, and IDE is great there. No need to export tests
tourdedave
Yeah, that's more what I'm speaking to. The class of user who won't ever export to code. Trying to offer an option for them that's better than "export to code if you want something better"
joshin4colour-sl
(food for though, I'll step back now :) )
diemol has quit
simonstewart
There's no reason IDE can't be great
joshin4colour-sl
^
tourdedave
Right, we just want to make sure we enable both kinds of user
simonstewart
I think it was tourdedave who outlined the idea of a spectrum of capability. Or titus
tourdedave
Thanks for explaining your "why" simonstewart, it's helpful
Might have been titus
luke-sl joined the channel
luke-sl
simonstewart. Point 4 was me when I joined the current company I work at.
simonstewart
"never code" <------> "codes a little" <------> "proficient developer" <------> "writes damn frameworks" <-----> "will never write a framework again"
luke-sl
`Because I started with IDE but now want to use a real programming language` Actually I was `I started with IDE, and now I want to learn more, what do I do next` - And someone told me. Learn Webdriver and a language.
simonstewart
IDE supports "never code" to "proficient developer"
luke-sl
When I left using IDE I was still at the level of "codes a little"
simonstewart
WebDriver supports "codes a little" to "will never write frameworks again"
Right
So people have made an investment in selenium via IDE
luke-sl
as in IDE you can use jQuery and some JS commands (Or I learnt to)
yeh, now I'm ironically the maintainer of a framework :)
simonstewart
And we'd like them to preserve that investment --- and build upon it --- as they move to webdriver
When I started I had some experience, and it did things similar to Excel (Sorry if bad example)
barancev|2 joined the channel
so the way I used macros, was I tested the macro on something rudimentary - Search button e.t.c.
then I copied that code, and edited it 100 times for all the buttons on my site.
However .... The devs used it a diff way. They used the IDE plugin to quickly fill in a form on the "User details page" (We sold holidays) So that allowed them to fill in circa 30 fields in around 1 seconds.
simonstewart
tourdedave: to me?
tourdedave
simonstewart: Yah
luke-sl: interesting
simonstewart
Something that's easy to use
It doesn't need to be Turing complete by a long shot
barancev has quit
tomer-sl
Sorry for my sudden disappear I'm commuting without network
tourdedave
tomer-sl: no worries
simonstewart
Ideally, I'd be able to do a little abstraction to avoid repetition
tomer-sl
Anyway get back to me later on linkText
simonstewart
tomer-sl: np
tomer-sl: what do you need for "linkText"
I didn't understand what you were driving at before
GodFather joined the channel
tourdedave: after that, I'd be happy
tomer-sl
link in the old IDE is fuzzy.*linkText.*
Rather than an exact match like linkText
tourdedave
simonstewart: Cool, thanks for that
simonstewart
Oh. We have "partial link text" for the imprecise match
tourdedave
Stepping away for a bit.
tomer-sl
They can glob
simonstewart
tourdedave: dunno if that makes sense
tourdedave: toodles!
tomer-sl
Better than partial
simonstewart
Ahhh...
tomer-sl
You can say link=aaaa*
Bam
simonstewart
Well, I guess you'd end up iterating over links, calling "bot.dom.getVisibleText" on each, and using JS's own regex to match against the text
tomer-sl
Asking about future conversion to webdriver
Export
I have document.evaluate I can fly
jimevans
document.evaluate doesn't work for all implementations (looking at IE here)
:)
tomer-sl
IDE won't be deployed on IE
simonstewart
tomer-sl: just add a warning that exported regexs will be handled by each language's own regex parser