TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Frustration project: Automate data entry into PeopleSoft with Selenium

96 pointsby tbenskyalmost 5 years ago

14 comments

hugsalmost 5 years ago
#FunFact: I started the Selenium project. My first job out of college was at PeopleSoft. I left PeopleSoft and went &quot;in-house&quot; as the PeopleSoft admin at ThoughtWorks. A few years later, Selenium came out as a side-project for another internal system we needed. <i>But</i> when we were rolling out Selenium and dreaming up &quot;world domination plans&quot;, one of my mine was to get a copy of Selenium to ship with every copy of PeopleSoft (supplanting the free copy of SQA Robot that PeopleSoft shipped by default). Anyway, I never really pursued that particular &quot;plan&quot;, but here we are.
评论 #23609859 未加载
评论 #23609902 未加载
评论 #23609873 未加载
评论 #23616006 未加载
cranekamalmost 5 years ago
Another +1 for Selenium. I used it to bag tickets for a show I wanted to see. The seller’s site was terrible and apparently had no protection against ticket spinners so all 5,000 tickets sold out in minutes. Fortunately their resale site also had no protection at all so it was easy to write something to reload the page often and put tickets into my shopping cart as soon as they became available. When that happened it notified me and handed back control for me to enter the credit card details (I was too lazy to automate it all). I’m not proud of this brute force approach but if the reseller’s site wasn’t so awful to start with it wouldn’t be necessary.
unreal6almost 5 years ago
&quot;Peoplesoft is a curse on humanity&quot;<p>I would love to know the story of how this wretched piece of software seems to have embedded itself into nearly every college and university in the United States.
评论 #23611233 未加载
评论 #23610603 未加载
评论 #23611856 未加载
评论 #23610238 未加载
dfeealmost 5 years ago
There is an entire class of business problems that can be solved using Selenium.<p>I don’t love that raw http connections are the universal API, but at least it’s a tool in our belts when these companies provide lackluster or zero proper interfaces.
评论 #23612323 未加载
beatthatflightalmost 5 years ago
Love it. I&#x27;ve built a flight search tool in selenium too, and for isolating deals. (I&#x27;ve also used selenium for testing). The biggest problem is the speed and the unexpected (the spinner you experienced, intermittent page load times, asynchronous requests or when elements are stale as a result). But it is possible to do it.<p>Next you can thread the sucker, so you could have 2-4 PS windows open and enter at a faster speed ;)
评论 #23609946 未加载
jimmyswimmyalmost 5 years ago
I use selenium similarly to drive a similarly awful interface known as costpoint. I would DEARLY love to know how to use the browser developer tools to figure out what is actually happening under the hood of websites without having to read every single Javascript module. The network tab shows you what is sent and received but it&#x27;s not easy to figure out how those messages are created and parsed. It would be nice to learn how to debug and step through some of that.<p>If I could learn the underlying api, I could write a tool that would never change. The ui changes much more frequently than the interface between client and server code. Besides, it would be much faster this way.
评论 #23609290 未加载
评论 #23609441 未加载
julianeonalmost 5 years ago
I&#x27;m always interested in clever use cases for Selenium.<p>It seems like &quot;automating boring stuff using Selenium&quot; should be a bigger category than it is - and use cases that can do it profitably are always fascinating.
评论 #23609243 未加载
评论 #23612016 未加载
评论 #23610413 未加载
评论 #23614979 未加载
edoceoalmost 5 years ago
Webdriver is for more than just testing! Very cool demonstration.<p>My biggest headache was in getting the right selectors for the various form fields - some services have shifting IDs and classes (ugh xpath)
评论 #23610988 未加载
devitalmost 5 years ago
IMHO it&#x27;s usually better to write a WebExtension instead of using Selenium, since you have more control over the browser, can intercept and modify network requests, can access the DOM from JavaScript while being protected from the page altering the environment, and can ship the code as a browser add-on, while still being able to communicate with native apps.<p>Only downside is that you can&#x27;t drive old IE and mobile browsers except for Firefox for Android.
kfkalmost 5 years ago
Any tools to do this with native applications too not just browsers? We have been flooded by this RPA companies the past 2 years and I&#x27;d love a way to do this with Python. It is actually a potentially very profitable market since the impact of automation is very visible (people see cursors do stuff for them...).
stm17almost 5 years ago
I would love to hear any more you have to say about the genetic algorithms you use to help with scheduling.
评论 #23609851 未加载
oandreialmost 5 years ago
Selenium leaves trace in HTTP requests, so its use is quite detectable. The authors of PeopleSoft can include Selenium detection in their products, disallowing your automation scripts. Why not use GreaseMonkey instead?
评论 #23610211 未加载
trhwayalmost 5 years ago
add AI on top of that which learns what&#x2F;where&#x2F;how to enter (or at least suggests) and you get the modern office automation wave.
lifeisstillgoodalmost 5 years ago
Ha! I see your crappy UI in PeopleSoft, with hard to automate edge cases, and I raise you multiple SharePoint instances!<p>Ante up at your peril in this game :&#x2F;)
评论 #23609375 未加载