Tag: Microsofts
Python programming: Microsoft’s new tool makes app testing easier for developers
Playwright for Python automates end-to-end testing for web apps and works in any browser.

Writing end-to-end tests in Python just got easier.
Getty Images/iStockphoto
Microsoft has announced Playwright for Python, an API that enables developers to write end-to-end tests for web applications in the
Python programming language.
Playwright for Python is designed to speed up the process of testing new web applications by automating the process from start to finish. Built on the
GitHub platform,
the Playwright API allows developers to run tests on all modern web browsers, including the new Microsoft Edge browser, Chrome, Mozilla Firefox and Safari.
Must-read developer content
Microsoft released Playwright for Java earlier this year. It, along with Python and JavaScript, make up the top three
most popular programming languages
in the world.
SEE: Linux commands for user management (TechRepublic Premium)
According to the company, the Playwright API delivers automation that is faster and more reliable than existing testing tools, allowing developers to launch new, feature-rich web apps at greater speed.
“Automated end-to-end tests have become more important than ever before,” the company said in a blog post.
“Teams are shipping faster and building apps that run on a growing set of devices. This increase in velocity and web targets puts immense pressure on the testing process, and automation is critical.
While automated testing systems already exist, these can be laborious and unreliable. At the same time, automated testing can be interrupted by time-out events, leading to failures.
SEE: Top 5 programming languages for systems admins to learn (free PDF) (TechRepublic)
To counter this problem, Playwright automatically waits for the user interface (UI) to be ready, which ensures tests are more reliable to execute and easier to author. The API uses an event-driven architecture that can listen to browser events such as DOM changes, network
Crooks Net $15 Million Via Microsoft’s Cloud

An Israeli cybersecurity company says it’s informed the FBI of a massive fraud carried out using … [+] Microsoft Office 365 emails. (Photo by Chip Somodevilla/Getty Images)
Between April and September, hackers made as much as $15 million by impersonating senior executives at as many as 150 companies using what appear to be legitimate Microsoft Office 365 email addresses in a bid to make their attacks more successful. The FBI, the Secret Service and Microsoft have all been informed, according to Mitiga, an Israeli cybersecurity startup that claims to have uncovered the attacks.
It’s a classic but hugely successful case of what’s known as business email compromise (BEC) fraud where crooks impersonate company partners and convince them to send money to their bank accounts. For instance, the hacker will set up email server domains so they could be mistaken for a real business, such as forb3s.com rather than forbes.com. Mitiga said that in one case it investigated, a hacker had learned of a target’s wire transfer by somehow gaining access to an employee’s Office 365 email account. Then, just as the money was about to be sent by the unnamed victim organization, the fraudster impersonated the recipient and sent new wire instructions so they received the money rather than the legitimate seller. The latter never received the money they were due.
After looking into that attack, Mitiga discovered a significant number of other, possibly-linked BEC frauds that may’ve been perpetrated by the same group. They used 15 different Office 365 accounts to register 150 additional domains, all of them registered on Wild West Domains and designed to imitate other legitimate businesses, Mitiga said.
“We believe that the threat actor chose to use Office 365 in order to improve the likelihood of a successful attack, thanks to the credibility