投稿時間:2022-04-19 17:38:17 RSSフィード2022-04-19 17:00 分まとめ(40件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
ROBOT ロボスタ 新しい家族に出会えるロボットショップ「Robot Planetポップアップ・ストア」有楽町マルイにオープン https://robotstart.info/2022/04/19/robot-planet-yurakucho-store.html 2022-04-19 07:25:46
IT ITmedia 総合記事一覧 [ITmedia PC USER] ロジクール、手首の負担を軽減できる縦型ワイヤレスマウス「LIFT M800」 https://www.itmedia.co.jp/pcuser/articles/2204/19/news145.html itmediapcuser 2022-04-19 16:01:00
IT 情報システムリーダーのためのIT情報専門サイト IT Leaders 日本TCS、S/4HANA移行支援ツール「TCS ConvertCore」、移行で影響を受ける機能を評価 | IT Leaders https://it.impress.co.jp/articles/-/23047 日本TCS、SHANA移行支援ツール「TCSConvertCore」、移行で影響を受ける機能を評価ITLeaders日本タタ・コンサルタンシー・サービシズ日本TCSは年月日、SAPSHANA移行支援ツール「TCSConvertCore」を提供開始した。 2022-04-19 16:33:00
python Pythonタグが付けられた新着投稿 - Qiita discordでmake it a quoteをしたい https://qiita.com/YutoYuto990/items/062730e20a2f204e5829 discord 2022-04-19 16:12:45
python Pythonタグが付けられた新着投稿 - Qiita EnvaderでPythonの環境構築を学んだのでmacOSで実践してみる(第3回) https://qiita.com/a-min3150/items/6d1c9b7b3b4cd5039f39 envader 2022-04-19 16:10:55
js JavaScriptタグが付けられた新着投稿 - Qiita プログラミングノート(TypeScript② クラス・インターフェース) https://qiita.com/tetsuya_tech/items/b739a380af384d525e0c typescript 2022-04-19 16:28:00
Linux Ubuntuタグが付けられた新着投稿 - Qiita HerokuのPGBackupでバックアップとリストアを行う https://qiita.com/pyon_kiti_jp/items/df0b7f0a016cbc3c540e HerokuのPGBackupでバックアップとリストアを行う環境Ubuntu参考PGBackupの公式サイトはじめにHerokuでPGbackupsを使って、PostgreSQLのデータのバックアップリストアを行うには、通りのやり方があります。 2022-04-19 16:31:13
海外TECH Ars Technica Logitech’s Lift is a vertical mouse that’s easier to grasp https://arstechnica.com/?p=1847943 extra 2022-04-19 07:01:26
海外TECH DEV Community Anyone been into SAMP server scripting ? https://dev.to/pulimoodan/anyone-been-into-samp-server-scripting--376o Anyone been into SAMP server scripting 2022-04-19 07:25:06
海外TECH DEV Community test https://dev.to/edwardyao/test-4g5m Detail Nothing 2022-04-19 07:19:18
海外TECH DEV Community Botanical Farms CBD Gummies (U.S Updated 2022) Reviews - An Instant Relief Formula For Pain? https://dev.to/botanicalcbdget/botanical-farms-cbd-gummies-us-updated-2022-reviews-an-instant-relief-formula-for-pain-118d Botanical Farms CBD Gummies U S Updated Reviews An Instant Relief Formula For Pain Botanical Farms CBD Gummies I have a couple of Botanical Farms CBD Gummies that are a bunch of fun I gather there will be a big bill to pay for this factor That is how to keep their break in decent condition It has a lot of potential That s a delicious alternative to my antecedent you may have to take under advisement It s how to manage your Botanical Farms CBD Gummies from home That is mind blowing Every day before I start work I do these things with using that ⮞⮞Direct Link To The Official Website ⮜⮜ 2022-04-19 07:18:59
海外TECH DEV Community Custom Select Input with search option in HTML, CSS, and Javascript https://dev.to/incoderweb/custom-select-input-with-search-option-in-html-css-and-javascript-3phj Custom Select Input with search option in HTML CSS and JavascriptHello friends today in this blog we will learn how to create a custom select input with a search option in HTML CSS and Javascript In our previous blog we saw how to create a responsive image lightbox design using HTML CSS and Vanilla Javascript Now it s time to create a custom select input with a search option If you are interested then you can check my other javascript projects after reading this blog My javascript blogs The custom select menu is a dropdown menu that allows users to select or choose a particular option that is predefined In this menu there is a select input with a search box as you can see in the image above You may like these Responsive Animated Card DesignRandom Password GeneratorResponsive Sidebar Menu DesignAnalog Clock DesingOn this select menu there are many countries as an option and users can select any country at a time There is a search input also that is used to search anything quickly from the options If you want to check the demo then you can check the source code and demo as well Visit here to check demo HTML Code lt Created By InCoder gt lt DOCTYPE html gt lt html lang en gt lt head gt lt meta charset UTF gt lt meta http equiv X UA Compatible content IE edge gt lt meta name viewport content width device width initial scale gt lt title gt Custom Select Input InCoder lt title gt lt link rel stylesheet href main css gt lt link rel stylesheet href gt lt head gt lt body gt lt div class customInputContainer gt lt div class customInput gt lt div class selectedData gt Custom Input lt div gt lt i class fa solid fa angle right gt lt i gt lt div gt lt div class options gt lt div class searchInput gt lt i class fa solid fa magnifying glass gt lt i gt lt input type text id searchInput placeholder Search gt lt div gt lt ul gt lt ul gt lt div gt lt div gt lt script src script js gt lt script gt lt body gt lt html gt CSS Code Created By InCoder import url ital wght amp display swap margin padding box sizing border box font family Poppins sans serif body display flex justify content center background color rgb customInputContainer width rem display flex max width rem margin top rem align items center flex direction column justify content center customInputContainer customInput margin rem cursor pointer user select none font size rem justify content space between padding rem rem rem rem customInputContainer customInput i transition transform s ease in out customInputContainer show customInput i transform rotate deg customInputContainer is customInput options width display flex color background fff align items center border radius rem customInputContainer options display none padding rem font size rem justify content start flex direction column margin rem rem rem rem transition background color s ease in out customInputContainer show options display block customInputContainer options is searchInput ul width max height rem overflow y scroll position relative customInputContainer options ul webkit scrollbar width px position relative customInputContainer options ul webkit scrollbar track width px border radius rem background rgb customInputContainer options ul webkit scrollbar thumb border radius rem background rgb customInputContainer options searchInput display flex padding rem overflow y auto align items center border radius rem color rgb border px solid rgb customInputContainer options searchInput focus border px solid rgb customInputContainer options searchInput input type text border width outline none height rem font size rem padding rem border radius rem customInputContainer options searchInput input type text placeholder font size rem color rgb customInputContainer options ul margin rem customInputContainer options ul li cursor pointer list style none padding rem rem border bottom px solid rgb customInputContainer options ul li selected background rgb customInputContainer options ul li selected hover background rgb customInputContainer options ul li last child border customInputContainer options ul li hover background rgb Javascript Code Created By InCoder let customInput document querySelector customInput selectedData document querySelector selectedData searchInput document querySelector searchInput input ul document querySelector options ul customInputContainer document querySelector customInputContainer window addEventListener click e gt if document querySelector searchInput contains e target document querySelector searchInput classList add focus else document querySelector searchInput classList remove focus var countries Custom Input Afghanistan Aland Islands Albania Algeria American Samoa Andorra Angola Anguilla Antarctica Antigua and Barbuda Argentina Armenia Aruba Australia Austria Azerbaijan Bahamas Bahrain Bangladesh Barbados Belarus Belgium Belize Benin Bermuda Bhutan Bolivia Bonaire Sint Eustatius and Saba Bosnia and Herzegovina Botswana Bouvet Island Brazil British Indian Ocean Territory Brunei Darussalam Bulgaria Burkina Faso Burundi Cambodia Cameroon Canada Cape Verde Cayman Islands Central African Republic Chad Chile China Christmas Island Cocos Keeling Islands Colombia Comoros Congo Congo Democratic Republic of the Congo Cook Islands Costa Rica Cote D Ivoire Croatia Cuba Curacao Cyprus Czech Republic Denmark Djibouti Dominica Dominican Republic Ecuador Egypt El Salvador Equatorial Guinea Eritrea Estonia Ethiopia Falkland Islands Malvinas Faroe Islands Fiji Finland France French Guiana French Polynesia French Southern Territories Gabon Gambia Georgia Germany Ghana Gibraltar Greece Greenland Grenada Guadeloupe Guam Guatemala Guernsey Guinea Guinea Bissau Guyana Haiti Heard Island and Mcdonald Islands Holy See Vatican City State Honduras Hong Kong Hungary Iceland India Indonesia Iran Iraq Ireland Isle of Man Israel Italy Jamaica Japan Jersey Jordan Kazakhstan Kenya Kiribati Korea Democratic People s Republic of Korea Republic of Kosovo Kuwait Kyrgyzstan Lao People s Democratic Republic Latvia Lebanon Lesotho Liberia Libyan Arab Jamahiriya Liechtenstein Lithuania Luxembourg Macao Macedonia the Former Yugoslav Republic of Madagascar Malawi Malaysia Maldives Mali Malta Marshall Islands Martinique Mauritania Mauritius Mayotte Mexico Micronesia Federated States of Moldova Republic of Monaco Mongolia Montenegro Montserrat Morocco Mozambique Myanmar Namibia Nauru Nepal Netherlands Netherlands Antilles New Caledonia New Zealand Nicaragua Niger Nigeria Niue Norfolk Island Northern Mariana Islands Norway Oman Pakistan Palau Palestinian Territory Occupied Panama Papua New Guinea Paraguay Peru Philippines Pitcairn Poland Portugal Puerto Rico Qatar Reunion Romania Russian Federation Rwanda Saint Barthelemy Saint Helena Saint Kitts and Nevis Saint Lucia Saint Martin Saint Pierre and Miquelon Saint Vincent and the Grenadines Samoa San Marino Sao Tome and Principe Saudi Arabia Senegal Serbia Serbia and Montenegro Seychelles Sierra Leone Singapore Sint Maarten Slovakia Slovenia Solomon Islands Somalia South Africa South Georgia and the South Sandwich Islands South Sudan Spain Sri Lanka Sudan Suriname Svalbard and Jan Mayen Swaziland Sweden Switzerland Syrian Arab Republic Taiwan Province of China Tajikistan Tanzania United Republic of Thailand Timor Leste Togo Tokelau Tonga Trinidad and Tobago Tunisia Turkey Turkmenistan Turks and Caicos Islands Tuvalu Uganda Ukraine United Arab Emirates United Kingdom United States United States Minor Outlying Islands Uruguay Uzbekistan Vanuatu Venezuela Viet Nam Virgin Islands British Virgin Islands U s Wallis and Futuna Western Sahara Yemen Zambia Zimbabwe customInput addEventListener click gt customInputContainer classList toggle show let countriesLength countries lengthfor let i i lt countriesLength i let country countries i const li document createElement li const countryName document createTextNode country li appendChild countryName ul appendChild li ul querySelectorAll li forEach li gt li addEventListener click e gt let selectdItem e target innerText selectedData innerText selectdItem for const li of document querySelectorAll li selected li classList remove selected e target classList add selected customInputContainer classList toggle show function updateData data let selectedCountry data innerText selectedData innerText selectedCountry for const li of document querySelectorAll li selected li classList remove selected data classList add selected customInputContainer classList toggle show console log selectedCountry searchInput addEventListener keyup e gt let searchedVal searchInput value toLowerCase let searched country searched country countries filter data gt return data toLocaleLowerCase startsWith searchedVal map data gt return lt li onClick updateData this gt data lt li gt join ul innerHTML searched country searched country lt p style margin top rem gt Opps can t find any result lt p style margin top rem font size rem gt Try searching something else lt p gt lt p gt 2022-04-19 07:16:38
海外TECH DEV Community How to start your freelance career with no experience https://dev.to/join_hyve/how-to-start-your-freelance-career-with-no-experience-51jl How to start your freelance career with no experienceYou can find the article here Do you want to start your freelance career without any sort of experience portfolio or network It is complicated but not impossible We all know the freelance market is competitive However with the pandemic limiting workers mobility remote work has become increasingly appealing thereby putting even more emphasis on freelance work opening at the same time a new realm of possibilities for companies agencies or recruiters looking for fresh talent Back in during the early weeks of the pandemic the freelance industry lost traction since many businesses stopped offering their products and services However they re organized their operations and realized all they could get from the digital world The COVID pandemic opened a window to new opportunities for freelancers by empowering everyone to go digital Technically anyone can be a freelancer so what an individual needs to do so is a set of skills and motivation There is no age gender or geographic requirement to become a freelancer Over million Americans freelance including almost of millennials ーmore than any other generation Also based on economic trends the majority of the workforce is projected to be freelancing by By embracing innovative technology and freelancing companies can better remove the biases and geographic constraints around hiring What questions should I ask myself as a beginner One of the most difficult aspects of becoming a freelancer is actually putting yourself at the starting line But even if you have no prior experience with freelancing there are many opportunities if you have the patience and perseverance to learn Your freelancing strategy should answer the following questions •What services will you offer •How much will you charge •How do you plan on marketing your services For this reason it s actually a great idea to start freelancing as a part time job whether you are interested in getting into freelance graphic design or if you are looking for freelance writing jobs for example Freelancing is often built from trust and client relationships and those relationships take time to form Some freelancers will want to go a step further and formally incorporate their company open a bank account and create an online presence for their freelance business Your skill experience academic achievements personality and level of professionalism are all part of your brand From sorting your own taxes to negotiating your pay rate freelancing brings a lot of challenges with it However with a little bit of work and a lot of hustle there s a world of opportunities waiting for you in the freelance arena Freelancing tips for beginnersWorking as a freelancer is primarily about working on your own terms and conditions getting paid for providing high quality services and interacting with clients If you re a newbie in the industry here are some tips regarding how you can become a freelancer Evaluate your skillsAs the gig industry continues to grow in popularity clients are looking for freelancers with specialized skills to perform important tasks Choose a specific niche you d like to work in Maybe it s app development Or you want to be a creative content writer for startups But pick something And write your new copy with the person seeking that service in mind Tailor it to them specifically Choose your freelancing nicheFinding your niche as a freelancer may have a huge impact on your freelancing career and is one of the best ways to take your business to the next level What s important to understand is that the highest paid freelancers are the ones that provide the most value to their clients You also want to have an online presence on social media so people will be able to find you when they click around Set your rateLike most things it takes practice trial and error and research Consider consulting freelancer forums and discussion boards peppered with questions about how much should the quote for a potential gig can be Freelancing rates are flexible depending on the time involved the freelancer s skills the project and the client Freelancing gives you the opportunity to work at your own hours and projects and choose the people you want to work with You can create your own schedule as a freelancer which means you can take a day off whenever you like however you won t be paid for that time because there is no such thing as paid leave What type of platform should you choose As a beginner freelancer you would feel inclined to register on a traditional freelancing platform However you should know that platforms like fiverr and Upwork have huge fees The two leaders in the freelancing space both take a commission per gig which is huge for a beginner freelancer There is an alternative though Now that the crypto space is having a moment the workforce industry is an early adopter of blockchain technology and there are some major benefits in this global movement Especially for freelancers with a taste for digital transformation and an eye for innovation What are the advantages of blockchain based freelance platforms for freelancers and hiring businesses Fairness Blockchain establishes a decentralized platform that is equitable to all freelancers because it s the ultimate peer to peer network Lower cuts There will be no large cuts in freelancers wages because there would be no intermediaries Furthermore transaction fees are far lower than those charged by traditional banks Global outreach It can revolutionize the current freelancing industry and make it more secure and efficient Decentralized dispute resolution The dispute resolution system renders disputes in a fast inexpensive reliable and decentralized way Faster returns Blockchain transactions are significantly faster than bank transactions especially when dealing with remote work which is very common in the freelancing industry The use of tokens and smart contracts will give new incentives for a better overall experience HYVE a new non traditional freelancing platform HYVE is an autonomous ecosystem that solves the current problems in the global freelance and workforce market leveraging the power of decentralized technologies while adding features that are non existent on any traditional freelancing platform The HYVE Ecosystem will leverage the strengths of various blockchain technologies and bring new and well desired functionalities to the workforce industry We take the hassle out of marketing your freelancing services You have the chance to access a task marketplace with close to fees Freelancers can create a profile on HYVE display their work portfolio and have access to various gigs Each gig is characterized by several aspects the price which is often just an estimation of how much a service will cost a detailed description of the service the necessary skills etc There are no borders when it comes to fulfilling different jobs as every person that joins HYVE can make use of any skill you do not have to be a guru at a specific skill but you have to be willing to work to earn some money Businesses can look up freelancers based on experience skills and other relevant characteristics with a clear purpose delegating activities As a result businesses can outsource labor intensive and time consuming tasks and focus on their core activities P S HYVE just launched staking incentives to earn APR on your HYVE That being said we encourage beginners in the freelance industry to step into this world by creating a draft plan and choosing wisely the platform you want to set up your portfolio Want to learn more about HYVE Follow us on Twitter ️Join our Telegram Group Join our Announcement Channel Join our Discord Follow us on Instagram Like us on Facebook Visit our Website 2022-04-19 07:15:32
海外TECH DEV Community How To Use TestNG Reporter Log In Selenium https://dev.to/lambdatest/how-to-use-testng-reporter-log-in-selenium-4292 How To Use TestNG Reporter Log In SeleniumTestNG is an open source test automation framework where NG stands for Next Generation TestNG has given testers the ability to group or prioritize the test cases generate HTML reports log messages run tests in parallel and much more These diverse sets of features are a huge boon when it comes to Selenium automation testing In our previous blogs of this Selenium TestNG tutorial series we have learned to use the TestNG results plugin generate the TestNG reports in Jenkins install the TestNG reports plugin in Jenkins and more But why do we need reporting structure in the first place Reports can be insightful as they give us all the accessible information in one place and with automated report generation structures they even improve the efficiency and overall analysis However sometimes TestNG reports might not convey to us the exact root of failure due to insufficient logging As a result we might need to run the whole class to ascertain the problem To overcome this problem TestNG provides us an inbuilt class called the Reporter Class In this Selenium TestNG tutorial we will find out how to use the TestNG Reporter Log By the end of this blog you would be able to store log super useful information in the reports Note Random String Generator ーThe most simple online utility that generates random strings Free quick and powerful Random String Generator that allows you to flexibly create random strings ranging from minimum to maximum character length What is the Reporter Class in TestNG Reporter Class is an inbuilt class in TestNG which is available under the org testng package This class provides test methods to log messages that will be included in the HTML reports generated by TestNG Reporter Class is one of the simplest ways of generating log information It helps in storing logs in the reports that can be either user generated or system generated reports This can be hugely beneficial when we later look at the reports as it helps derive detailed information from the logs This avoids the need to rerun the entire test case For example if you have a test case with many steps Reporter Class can prove to be extremely helpful since you can specify different logs at each step and later use them when debugging the failures Let s see how we can use the TestNG Reporter Log in Selenium based test automation framework Reporter Class SyntaxReporter Class of TestNG provides us with four different methods to log information Isn t that interesting Here are those methods Reporter log String s Reporter log String s Boolean logToStandardOut Reporter log String s int level Reporter log String s int level Boolean logToStandardOut Now let s go through each one of these TestNG Reporter Log syntaxes in detail Reporter log String s This method logs the string passed into your HTML Report Parameters S ーThe message to be loggedExample Reporter log Logging into Selenium Playground Reporter log String s Boolean logToStandardOut This method logs the string passed into your HTML Report Additionally it also prints the same message on your console if logToStandardOut is set to TRUE Parameters S ーThe message to be loggedlogToStandardOut ーPrint the message on standard outputExample Reporter log Logging into Selenium Playground true Reporter log String s int level This method logs the string passed into your HTML Report if the current verbosity equals or is greater than the one passed in the parameter Parameters S ーThe message to be loggedlevel ーThe verbosity of the message to be loggedExample Reporter log Logging into Selenium Playground What is Verbosity Level in TestNG The Verbose Level in TestNG is used to define the amount of logging performed on the console The verbosity level ranges from to where is the most detailed logging level whereas means minimal logging You can set the verbosity level in your testng xml Below is a sample snippet from the tesng xml which indicates how to do the same lt suite thread count name TestNGReporterTest parallel classes verbose gt Reporter log String s int level Boolean logToStandardOut This method logs the string passed into your HTML Report if the current verbosity equals or is greater than the one passed in the parameter Additionally it will print the message onto the console if logToStandardOut is set to TRUE Parameters S ーThe message to be loggedlevel ーThe verbosity of the message to be loggedlogToStandardOut ーWhether to print the message on standard output as wellFor example Reporter log Logging into Selenium Playground true As the demand for automation increases so does the demand for skilled testers TestNG helps you become an automation expert With LambdaTest s TestNG certification you can begin your journey to becoming an automated testing expert Here s a short glimpse of the TestNG certification offered by LambdaTest Note Random Sentence Generator ーFree online tool to generate random sentences effortlessly How to log messages in reports using TestNG Reporter Class Now that we have seen the basics of TestNG Reporter Log in this Selenium TestNG tutorial let s deep dive into how we can use the same in our Selenium Automation Framework We would do the same by demonstrating through a TestNG Reporter Log example Use Case Automate the Simple Form Demo Page of Selenium Playground using the Cloud Selenium Grid By LamdaTest LambdaTest provides a cloud based cross browser testing tool that allows users with an easy way to manage their manual and automated tests across online browsers and operating systems combinations We will cover the below steps in our test case and use Reporter Class to log all the necessary details Open Click on Simple Form DemoEnter a message in Single Input Field and retrieve the MessageEnter a value in the Two Input Fields and retrieve the total of those total valuesValidate the actual and expected values Below attached is the test class file its corresponding testng xml file and the pom xml which is needed in running the same package LamdaTest import org openqa selenium By import org openqa selenium WebElement import org openqa selenium remote DesiredCapabilities import org openqa selenium remote RemoteWebDriver import org testng Assert import org testng Reporter import org testng annotations AfterTest import org testng annotations BeforeTest import org testng annotations Listeners import org testng annotations Test import java net MalformedURLException import java net URL Listeners util Listener class class ReporterTest public String username YOUR USERNAME public String accesskey YOUR ACCESSKEY public static RemoteWebDriver driver null public String gridURL hub lambdatest com wd hub BeforeTest public void setUp throws Exception DesiredCapabilities capabilities new DesiredCapabilities capabilities setCapability browserName chrome capabilities setCapability version capabilities setCapability platform win If this cap isn t specified it will just get the any available one capabilities setCapability build TestNGReporterLog capabilities setCapability name TestNGReporterLogSample try driver new RemoteWebDriver new URL https username accesskey gridURL capabilities catch MalformedURLException e System out println Invalid grid URL catch Exception e System out println e getMessage Test public void learnSingleInputFieldUsingSelenium try Reporter log Logging into Selenium Playground driver get Reporter log Logged into Selenium Playground Now Clicking On Simple Form Demo true Clicks on the simple form demo option in the selenium playground WebElement simpleFormDemo driver findElement By xpath a text Simple Form Demo simpleFormDemo click Reporter log Clicked successfully on Simple Form Demo option Enters the message in the enter message input box WebElement messageInputBox driver findElement By xpath input id user message messageInputBox sendKeys Running my first testcase using Lambda Test Clicks on Show Message button WebElement showMessageButton driver findElement By xpath button text Show Message showMessageButton click Retrieves the entered user message WebElement userMessage driver findElement By xpath label text Your Message parent div span String actualUserText userMessage getText Reporter log Actual User Input Is actualUserText true Assert assertTrue actualUserText equals Running my first testcase using Lambda Test Expected and actual texts do not match catch Exception e Test public void learnMultipleInputFieldUsingSelenium try Reporter log Logging into Selenium Playground driver get Reporter log Logged into Selenium Playground Now Clicking On Simple Form Demo true WebElement simpleFormDemo driver findElement By xpath a text Simple Form Demo simpleFormDemo click Reporter log Clicked successfully on Simple Form Demo option For Multiple input fields WebElement firstInputBox driver findElement By xpath input id sum firstInputBox sendKeys WebElement secondInputBox driver findElement By xpath input id sum secondInputBox sendKeys WebElement getTotalButton driver findElement By xpath button text Get Total getTotalButton click WebElement userMessage driver findElement By xpath label text Total a b parent div span String actualUserText userMessage getText Reporter log The total of the two entered user inputs is actualUserText true Assert assertTrue actualUserText equals Expected and actual texts do not match catch Exception e AfterTest public void closeBrowser driver close Reporter log The driver has been closed false GitHub source You can make use of the below testng xml to run the above java class Here we are running the tests in parallel with threads and a verbosity level of You can right click on the testng xml file and choose the Run as TestNG option to run the same lt xml version encoding UTF gt lt DOCTYPE suite SYSTEM gt lt suite thread count name TestNGReporterTest parallel classes verbose gt lt test name TestNGReporterTest preserve order true gt lt classes gt lt class name LamdaTest ReporterTest gt lt methods gt lt include name learnMultipleInputFieldUsingSelenium gt lt include name learnSingleInputFieldUsingSelenium gt lt methods gt lt class gt lt classes gt lt test gt lt suite gt Below pom xml will be needed for installing all the necessary dependencies lt xml version encoding UTF gt lt project xmlns xmlns xsi xsi schemaLocation gt lt modelVersion gt lt modelVersion gt lt groupId gt org example lt groupId gt lt artifactId gt LambdaTest lt artifactId gt lt version gt SNAPSHOT lt version gt lt dependencies gt lt dependency gt lt groupId gt org seleniumhq selenium lt groupId gt lt artifactId gt selenium api lt artifactId gt lt version gt alpha lt version gt lt dependency gt lt dependency gt lt groupId gt org testng lt groupId gt lt artifactId gt testng lt artifactId gt lt version gt lt version gt lt dependency gt lt dependency gt lt groupId gt org seleniumhq selenium lt groupId gt lt artifactId gt selenium remote driver lt artifactId gt lt version gt alpha lt version gt lt dependency gt lt dependencies gt lt properties gt lt maven compiler source gt lt maven compiler source gt lt maven compiler target gt lt maven compiler target gt lt properties gt lt project gt Code WalkthroughNow let s try to understand the test case using the TestNG Reporter Log which we automated Imported Dependencies Here we have imported all the necessary classes including the Reporter Class needed for using Reporter log methods Global Variables As we have used an online Selenium Grid like LamdaTest to perform parallel testing we are using the below shown variables Here you can populate the values for your corresponding username and access key which can be collected by logging into your LamdaTest Profile Section You can copy the Username and the Access Token to be used in the code However the gridURL will remain the same as shown below BeforeTest Setup Method Here we have made use of the LamdaTest Desired Capabilities Generator and have set the necessary capabilities of browser name version platform etc for our Selenium Remote Web Driver Do refer to our detailed blog that deep dives into the important TestNG annotations that are used for web automation testing Test learnSingleInputFieldUsingSelenium Here the first Reporter log statement would print our log only on the emailable report since we haven t used the logToStandardOut flag However the following would print the log both on console output and the emailable report since the logToStandardOut is set to True Finally the driver get statement would open the Selenium Playground website in the Chrome browser launched in the setup method Once logged into Selenium Playground the following steps get the SimpleFormDemo web element and click on the same The Reporter log statement used here will log the statement in the emailable report as the current verbosity level which is set through testng xml is greater than the value sent here Here we have made use of XPath in our test case for all the web elements You can get the XPath of any element by simply doing a right click on the Element→Inspect Option You can also refer to the complete guide on XPath in Selenium for understanding how you can make the most out of XPath for accessing WebElements in the DOM Once we are on the Simple Form Demo page the following steps get the Message Input Box web element and enter the message “Running my first test case using Lambda Test Next we click on the “Show Message button and retrieve the message displayed followed by an assert which validates if the entered message and displayed message are equal or not The Reporter log statement here will log the report s message and print the same on the console output Thus the final console output will look something like this This is because the emailable report as mentioned contains all the messages we logged This is how our actual output on the playground looks Test learnMultipleInputFieldUsingSelenium Here the steps to click on the Simple Form Demo Option remain the same as our first test case However in this test case instead of using the single input field we first enter “ in the first input box and then repeat the same for the second input box Later we click on the “Get Total button and validate the values we entered The final console output looks something like this The emailable report will look like this The actual output on the playground will look like this Note Random UUID Generator ーThis free online UUID v generator random UUID creates version universally unique identifiers according to RFC Version UUIDs are random and dynamically generated How to log messages in the Report using ITestListener In this Selenium TestNG tutorial we saw how we could use the Reporter log method in our test cases and log the desired messages in the Report as well as the console However what if we want to print any log before the test execution starts or after the test execution has ended TestNG provides us with a lot of Listeners e g IAnnotationTransformer IReporter etc These interfaces are used while performing Selenium automation testing mainly to generate logs and customize the TestNG reports Here we will make use of ITestListener You can use the below Listener java which is implementing the ITestListener package util import org testng public class Listener implements ITestListener This belongs to ITestListener and will execute before the whole Test starts Override public void onStart ITestContext arg Reporter log About to begin executing Class arg getName true This belongs to ITestListener and will execute once the whole Test is finished Override public void onFinish ITestContext arg Reporter log About to end executing Class arg getName true This belongs to ITestListener and will execute before each test method Override public void onTestStart ITestResult arg Reporter log Testcase arg getName started successfully true This belongs to ITestListener and will execute only in the event of a successful test method public void onTestSuccess ITestResult arg Reporter log Testcase arg getName passed successfully true This belongs to ITestListener and will execute only in the event of a fail test public void onTestFailure ITestResult arg Reporter log Testcase arg getName failed true This belongs to ITestListener and will execute only in the event of the skipped test method public void onTestSkipped ITestResult arg Reporter log Testcase arg getName got skipped true Override public void onTestFailedButWithinSuccessPercentage ITestResult arg GitHub source onStart Here Reporter log will log the message before the execution of the whole class starts OnFinish Here Reporter log will log the message once the execution of the whole class has finished onTestStart Here Reporter log will log the message before the execution of the individual test methods starts onTestSuccess Here Reporter log will log the message only if the execution of the test method has been completed with Success State onTestFailure Here Reporter log will log the message only if the execution of the test method has been completed with Failed State onTestSkipped Here Reporter log will log the message only if the execution of the test method has been skipped In the case of ITestListener you can choose to implement only those methods which you intend to How to use this Listener Class in the test class To implement the above described methods you can simply add an annotation in your test class just above your class name Syntax Listeners PackageName ClassName class Console Output How to view the logged messages in EmailableReport in TestNG Once you have run your test case refresh your project and go to the test output folder You will find an emailable report html inside it which can be viewed using any browser In addition the emailable report html will have all your messages logged Once you open the report it will look as shown below ConclusionIn this Selenium TestNG tutorial we learned what is Reporter Class in TestNG and how we can use the different parameters it offers We also ran our first test script using the Reporter class on Cloud Selenium Grid offered by LamdaTest and logged a few messages We also learned how we could make use of the Reporter Class in ITestListeners We got the logs printed on the console and finally saw them getting logged in our EmailableReport I hope you enjoyed reading this article and learned some more about the TestNG Reporter Log Happy Testing 2022-04-19 07:10:45
海外TECH DEV Community I'm WithoutPants, and I develop Stash, an organiser for your porn https://dev.to/withoutpants/im-withoutpants-and-i-develop-stash-an-organiser-for-your-porn-30fg I x m WithoutPants and I develop Stash an organiser for your pornStash is a self hosted webapp for managing and serving a personal porn collection The server side is written in Go with a graphql interface and the front end uses React I have years of industry experience working on full stack applications using C Java and Javascript I began contributing to Stash in mid I d had a small amount of experience with Go with work but Stash was the project that really got me to learn Go Similarly it was the first React project I d been exposed to Prior to that I d used AngularJS and Angular in my work and personal projects I was made redundant at the beginning of just prior to the pandemic really taking off By this time I was a regular and significant contributor to Stash and helped launch stash box a central repository of porn metadata I had originally decided to take the year off away from employment to work on some personal projects Instead I ended up putting a significant amount of effort into improving Stash and I decided to continue on this year I typically average between and hours a week developing it Over the last two years I believe it s become quite popular in its particular niche I hope to share my knowledge and experience by sharing the mistakes that I ve made during my time working on stash I feel that it has taken a long time for the thinking in go way to really click with me and I think this will be illustrated quite clearly as I document my efforts to refactor the codebase I don t purport to be an expert but I do hope that people may learn something from my mistakes I also aspire to share my somewhat unique perspective in committing my time to an app in this domain and my attempts to draw an income from it Despite the sphere that Stash occupies you may be assured that I will of course be keeping everything here technical and safe for work You can check out Stash on Github here I m on Github as WithoutPants 2022-04-19 07:05:46
海外TECH DEV Community ng2-smart-table Custom Render Component || dynamic column ng2-smart-table with example https://dev.to/technoknowledge4k/ng2-smart-table-custom-render-component-dynamic-column-ng2-smart-table-with-example-1al ng smart table Custom Render Component dynamic column ng smart table with exampleThese are some questions that we found after keyword search and i decided to make a article on this topic so as we all know angular is very good and strong framework and we can achieve everything with the help of libraries available in npm Node package manager So from huge libraries we also have one which is known as ng smart table whixh is nothing but a inbuilt table structure we can simply use this table simply installing this library in our application by running this command npm i ng smart tablethis command will add the ng smart table to the package JSON dependency sectionFor more please visit this link 2022-04-19 07:02:38
海外TECH DEV Community Servicios con caché en Angular con Rxjs https://dev.to/danyparedes/servicios-con-cache-en-angular-con-rxjs-4i76 Servicios con cachéen Angular con RxjsCuando hacemos la aplicación algunos datos como el menú las opciones no cambian con la frecuencia El mejor enfoque es almacenarlo en caché porque cuando el usuario se mueve por la aplicación buscar los datos en el servidor nuevamente es algo innecesario e impactan en la velocidad y la experiencia del usuario Rxjs nos brinda una manera fácil de construir un cachéy almacenarlo solo usando dos operadores hacen que la magia suceda share y sharReplay estos permiten hacer llamadas innecesarias o recalcular datos que previamente fueron calculados EjemploTengo una aplicación simple con dos rutas a home y about home muestra una lista de jugadores de la NBA procesamos los datos para construir su nombre completo utilizando su primer y segundo nombre Cada vez que el usuario mueve entre la página de home y about nuestro componente necesita obtener los datos y también realizar el proceso En otros escenarios esto puede ser un progreso grande y costoso ¿Por quéestoy obteniendo los datos nuevamente si no cambian con la frecuencia Parece que es hora de almacenar en caché Usando ShareReplayMejoraremos el rendimiento y la respuesta de nuestra aplicación evitaremos repetir el proceso de compilación fullName para cada jugador para nuestro ejemplo también añadiremos la fecha del procesamiento asíde una forma visual sabemos cuando fueron procesados shareReplay nos ayuda a almacenar datos en cachéen nuestras aplicaciones fácilmente y también emitir los datos para nuevos suscriptores Puedes leer mas sobre shareReplayEn mi ejemplo emplearemos un servicio el cual hace una petición a una API para traer los jugadores Agregaremos el operador shareReplay en el flujo de datos y tomaremos la respuesta del http y asignando el shareReplay al final con el número como parámetro emitiremos la última emisión de mi solicitud HTTP He realizado un map de los datos agregando dos propiedades fullName que es la concatenación de firstName y lastName además de crear una nueva propiedad proccesed con la fecha Injectable export class NbaService api private teamUrl this api players public players this http get lt any gt this teamUrl pipe map value any gt return value data map player gt player fullName player first name player last name processed new Date toISOString shareReplay constructor private http HttpClient Perfecto para ver los datos en la página usamos el operador Date pipe para tener un mejor formato de la fecha procesada lt ul ngIf players async as players gt lt li ngFor let player of players gt player fullName player processed date medium lt li gt lt ul gt Perfecto si ahora navegamos en la aplicación de una página a otra y regresamos a la página de inicio obtendrálos datos del caché esto puedes verlo en el devtools en el tab de network ¿De momento todo muy bien pero como forzamos a actualizar los datos Actualizando el cachéNuestro cachéfunciona a las mil maravillas pero a veces los usuarios quieren forzar la actualización ¿cómo podemos hacerlo Rxjs siempre busca hacer nuestra vida fácil Utilizamos un BehaviorSubject reaccionar a la acción cuando el usuario desea actualizar los datos Primero creamos el behaviorSubject de tipo void y un nuevo método updateData para emitir la acción creamos una nueva variable apiRequest para almacenar el observable de http Nuestro observable player obtendráel valor behaviorSubject y canalizarálos datos usando el operador mergeMap para combinar la respuesta http y devolver el observable al final del proceso agregaremos nuestro shareReplay Leer mas sobre mergeMapEl código final seráalgo así Injectable export class NbaService private playersData new BehaviorSubject lt void gt undefined api private teamUrl this api players apiRequest this http get lt any gt this teamUrl pipe map value any gt console log getting data from server return value data map player gt player fullName player first name player last name Date now toFixed public players this playersData pipe mergeMap gt this apiRequest shareReplay constructor private http HttpClient updateData this playersData next En la página agregamos un nuevo botón para llamar al método de servicio y forzar la actualización de los datos que se lanza con el behaviorSubject puede jugar con la versión final en el ejemplo de stackbliz ResumenEn resumen hemos visto como podemos crear un cachéy forzar la actualización tan fácilmente usando Rxjs ¡asíque la próxima vez que quieras mejorar la velocidad y la respuesta es superfácil Recomiendo que saques unos minutos ver algunos videos de deborahk ella explica muy bien todo sobre rxjs y cómo trabajar con datos en inglés Data Composition with RxJS Deborah KurataCollect Combine and Cache RxJS Streams for User Friendly Results by Deborah KurataPhoto by Lama Roscu on Unsplash 2022-04-19 07:01:39
海外TECH Engadget Logitech Lift hands-on: A vertical mouse for the rest of us https://www.engadget.com/logitech-lift-hands-on-a-vertical-mouse-for-the-rest-of-us-070102914.html?src=rss Logitech Lift hands on A vertical mouse for the rest of usBecause the pandemic has caused me to spend more time at my PC than ever before things like carpal tunnel syndrome and other repetitive stress injuries have become a growing concern And while the MX Vertical is one of the best gadgets to help avoid straining your tendons its bulky dimensions meant it never really worked for me But with the new Lift Logitech finally has a great alternative for people with smaller hands Priced at and available in three colors graphite rose and off wite Logitech says the Lift was developed by its Ergo Lab following feedback from employees and customers who like me were put off by the size of the MX Vertical So after multiple rounds of user testing and approval from third party ergonomic institutions the company settled on a sleeker model that s percent smaller than before Sam Rutherford EngadgetNow that might not sound like much but as a guy with medium sized hands the difference is immediately apparent When I tested both of Logitech s offerings side by side the Lift felt nimbler and more natural while the MX Vertical felt like holding a softball To further enhance all day usability the Lift features a degree vertical design the company says more closely mimics a person s natural arm and wrist posture while a handy thumb rest and soft rubber coating help provide a firm non slip grip And unlike the MX Vertical the Lift even comes in both right and left handed versions so there s something for everyone Here s a size comparison between the MX Vertical left and the new Lift right Sam Rutherford EngadgetNotably while the Lift doesn t carry the MX designation of Logitech most premium peripherals the mouse still features a smooth magnetic SmartWheel and can be paired with up to three devices simultaneously via Bluetooth or the Logi Bolt receiver which comes included But one of my favorite things about the Lift is that aside from the clicky thumb buttons the scroll wheel and the left and right mouse buttons are super quiet which is really nice if you don t want to disturb your family or coworkers especially if you re working at night My only two minor gripes are that I would have preferred a rechargeable design and that Logitech still doesn t make a USB C version of its receiver That said longevity probably won t be a major issue with a claimed battery life of months from a single AA battery And if you have a PC that only has USB C ports there s a good chance you already have the necessary adapter lying around Sam Rutherford EngadgetOverall while I know that Lift isn t really a groundbreaking product I appreciate Logitech s drive to make its ergonomic devices more accessible With the ongoing shift to working remotely I ve been trying to take stock of my home office and eliminate any items that are causing undue stress And while I m not sure I could switch to the Lift full time as it isn t great for gaming I noticed even using it for an hour or two made a big impact on how my wrist felt at the end of the day So while it s not quite as sophisticated as the MX Vertical from what I ve seen so far the Lift is a comfy and even more affordable option to upgrade your everyday work setup You can order the Logitech Lift direct from the company s website or third party retailers like Amazon and Best Buy right now nbsp 2022-04-19 07:01:02
海外TECH Engadget Bang & Olufsen's Beoplay EX earbuds offer an AirPods-like design https://www.engadget.com/bang-and-olfusen-beoplay-ex-wireless-earbuds-070043655.html?src=rss Bang amp Olufsen x s Beoplay EX earbuds offer an AirPods like designBang amp Olufsen has long offered true wireless earbuds but its designs have all been monolithic models that might not fit as well as you d like The company is finally shaking things up however by introducing the Beoplay EX It s B amp O s first set of earbuds with an AirPods like stem design and the audio brand is promising a more comfortable fit thanks to the smaller in ear housing Whether or not you consider them more fashionable than AirPods is more a matter of opinion but the black black and blue and gold colors at least beat Apple s signature white for variety It s too early to say if B amp O s claims of quot superior sound quot match reality The Beoplay EX design allows for the company s largest ever mm drivers in wireless earbuds though so you ll at least get more power than in past models B amp O further boasts of improved call quality and Bluetooth support And yes you ll get the features that are virtually mandatory in upscale earbuds You can expect active noise cancellation IP dust water resistance two device pairing and a battery case with wireless charging support B amp O is estimating a healthy if increasingly expected six hours of listening with ANC enabled and a total hours of playback when you use the case The caveat as you d imagine is the price B amp O is selling the Beoplay EX for That s on par with past models like the Beoplay EQ but they re considerably more expensive than the AirPods Pro not to mention other comparable buds like Sennheiser s Momentum True Wireless and Sony s WF XM Still this is likely your top pick if you prefer B amp O s sound and minimalist design 2022-04-19 07:00:43
医療系 医療介護 CBnews コロナ検査精度管理マニュアル、実施機関に周知を-厚労省が都道府県などに事務連絡 https://www.cbnews.jp/news/entry/20220419161100 厚生労働省 2022-04-19 16:15:00
ニュース @日本経済新聞 電子版 ウクライナへ提供14品目に、ドローン・防護マスク 政府 https://t.co/yBjnhvuTl9 https://twitter.com/nikkei/statuses/1516316599451471872 防護 2022-04-19 07:23:43
ニュース ジェトロ ビジネスニュース(通商弘報) 中国・イスラエルの複合企業、MRT入札めぐりイスラエル政府を提訴 https://www.jetro.go.jp/biznews/2022/04/2c8c2d9c88b42414.html 複合 2022-04-19 07:35:00
ニュース ジェトロ ビジネスニュース(通商弘報) 米ノババックス製の新型コロナワクチン、日本で4例目の薬事承認を取得 https://www.jetro.go.jp/biznews/2022/04/47e7e88bf8ded09b.html 薬事 2022-04-19 07:20:00
ニュース ジェトロ ビジネスニュース(通商弘報) 米ツイッター、テスラCEOのマスク氏を念頭に買収防衛策を発表 https://www.jetro.go.jp/biznews/2022/04/29dc6a8216d0b1b7.html 防衛 2022-04-19 07:10:00
海外ニュース Japan Times latest articles Japan’s trade shifts mean a weak yen is likely here to stay https://www.japantimes.co.jp/news/2022/04/19/business/trade-shifts-prolonged-weak-yen/ downward 2022-04-19 16:53:24
海外ニュース Japan Times latest articles Russia launches ‘Battle of Donbas’ on eastern front, Ukraine says https://www.japantimes.co.jp/news/2022/04/19/world/russian-offensive-eastern-ukraine/ Russia launches Battle of Donbas on eastern front Ukraine saysDriven back by Ukrainian forces in the north Russia has refocused its ground offensive in the two eastern provinces known as the Donbas 2022-04-19 16:23:54
ニュース BBC News - Home Partygate fines: Boris Johnson set to apologise to MPs over lockdown breach https://www.bbc.co.uk/news/uk-61137123?at_medium=RSS&at_campaign=KARANGA easter 2022-04-19 07:14:02
ニュース BBC News - Home Half-price train tickets sale as travel costs criticised https://www.bbc.co.uk/news/business-61143630?at_medium=RSS&at_campaign=KARANGA levels 2022-04-19 07:50:25
ニュース BBC News - Home Amir Khan says he was 'robbed at gunpoint' in east London https://www.bbc.co.uk/sport/boxing/61145668?at_medium=RSS&at_campaign=KARANGA london 2022-04-19 07:42:39
ニュース BBC News - Home MOTD Top 10: Has Gary Lineker finally settled the Frank Lampard v Steven Gerrard debate? https://www.bbc.co.uk/sport/av/football/61114889?at_medium=RSS&at_campaign=KARANGA MOTD Top Has Gary Lineker finally settled the Frank Lampard v Steven Gerrard debate On this week s MOTD Top podcast Gary Lineker settles the Lampard v Gerrard debate once and for all or does he 2022-04-19 07:37:42
ニュース BBC News - Home Ashleigh Barty to play in golf exhibition series https://www.bbc.co.uk/sport/tennis/61147275?at_medium=RSS&at_campaign=KARANGA Ashleigh Barty to play in golf exhibition seriesFormer tennis world number one Ashleigh Barty fuels suggestions she may attempt a top level career in a third sport after signing up to compete in a golf exhibition 2022-04-19 07:32:27
ニュース BBC News - Home May 2022 UK elections: How to vote https://www.bbc.co.uk/news/uk-politics-60902072?at_medium=RSS&at_campaign=KARANGA ireland 2022-04-19 07:14:42
北海道 北海道新聞 報道と広告、比較写真展 大阪で26日から https://www.hokkaido-np.co.jp/article/671393/ 報道写真 2022-04-19 16:34:00
北海道 北海道新聞 電動ボード、摘発168件 昨年9月~今年2月、警察庁 https://www.hokkaido-np.co.jp/article/671392/ 道交法違反 2022-04-19 16:34:00
北海道 北海道新聞 釧根管内で106人感染 新型コロナ https://www.hokkaido-np.co.jp/article/671391/ 根室管内 2022-04-19 16:28:00
IT 週刊アスキー 4月20日20時からの「カプコンTV!」では『カプコン ファイティング コレクション』を実機プレイ! https://weekly.ascii.jp/elem/000/004/089/4089635/ 発売予定 2022-04-19 16:40:00
IT 週刊アスキー DMM GAMESの新感覚恋愛ゲーム「プラスリンクス ~キミと繋がる想い~」、謎解きストーリー「プラリン探偵倶楽部 ~百合愛~」を開催 https://weekly.ascii.jp/elem/000/004/089/4089627/ dmmgames 2022-04-19 16:30:00
IT 週刊アスキー 「のり弁」をおにぎりにアレンジ! ミニストップ110円「手巻おにぎり のり弁風」 https://weekly.ascii.jp/elem/000/004/089/4089594/ 弁当 2022-04-19 16:15:00
IT 週刊アスキー 小型化したエルゴノミックな縦型マウス「LIFT M800」で長時間デスクワークの疲労を軽減! https://weekly.ascii.jp/elem/000/004/089/4089541/ liftm 2022-04-19 16:01:00
マーケティング AdverTimes セブン&アイHD、UberEats創設メンバーを社外取に https://www.advertimes.com/20220419/article382151/ ubereats 2022-04-19 07:20:19

コメント

このブログの人気の投稿

投稿時間:2021-06-17 22:08:45 RSSフィード2021-06-17 22:00 分まとめ(2089件)

投稿時間:2021-06-20 02:06:12 RSSフィード2021-06-20 02:00 分まとめ(3871件)

投稿時間:2021-06-17 05:05:34 RSSフィード2021-06-17 05:00 分まとめ(1274件)