Skip to main content

Posts

Best alternatives of Whatsapp

 There is a famous quote " When a product have no price then you are the Product ". Whatsapp is going to apply new user policies for its users. Users have a lot of concerns about this new policy. Actually, Whatsapp wants legal permissions from its all users to share data with its clients. Users are very afraid about. Now, question is that what are the alternatives of  Whatsapp? are these providing same features as Whatsapp? 1) Telegram :- Telegram is a freeware, cross-platform, cloud-based instant messaging, video calling, and VoIP service. It was initially launched for iOS on 14 August 2013 and Android in October 2013. The app servers of Telegram are distributed worldwide to decrease data load, while operational center is currently based in Dubai. Pure instant messaging — simple, fast, secure, and synced across all your devices. Over 400 million active users. FAST: Telegram is the fastest messaging app on the market, connecting people via a unique, distributed network of

The terminal process "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" terminated with exit code: 259.

Integrated terminal in VS code crashes PowerShell: Solution of this Problem:- 1) Open your Project's/file location. 2)Click in this bar after opening the exact location of your project.                                                                                                                                         3)Now, Write 'cmd' in this bar.                                                                                                                     4)Your Terminal will be open as command, Now you can give any command here related to your Project. 5) Your project will be Executed/Start Normally in Terminal                                                                            6) You can ask any question.

Terminal is not working in VS code 1.18, it crashes PowerShell :259

Terminal is not opening in Visual Studio Code :  It is all due to a Virus .Which is running in background Applications. Open your Task Manager & End all the Tasks which are running in background. Install an Antivirus  and Scan your system. I will recommend you  Avira Antivirus. All virus files will be detected automatically. Give Permissions to Avira for removal of virus effected files. Now , Open your terminal it will work 100 %. I have personally got this issue & were not able to find any solution on  Stackoverflow  or any other platform.

How to interact with CkEditor(V4) in Cypress?

Interaction with CkEitor (V4) in Cypress:  CkEditor is a Third Party tool which is commonly used in websites. Open your ` commands.js ` file. Paste this code in it. Cypress . Commands . add ( 'iframe' , {  prevSubject :   'element'  }, ( $iframe )  =>  {      const   $iframeDoc  =  $iframe . contents ()      const   findBody  = ()  =>   $iframeDoc . find ( 'body' )      if  ( $iframeDoc . prop ( 'readyState' ) ===  'complete' )  return   findBody ()      return   Cypress . Promise (( resolve )  =>   $iframe . on ( 'load' , ()  =>   resolve ( findBody ()))) }); Cypress . Commands . add (      'iframeLoaded' , {  prevSubject :   'element'  },     ( $iframe )  =>  {          const   contentWindow  =  $iframe . prop ( 'contentWindow' )          return   new   Promise ( resolve   =>  {              if  (                  contentWindow  &&                  contentWindow . document . readyState  

How to use Xpath in Cypress?

  Install with npm:  Open your Terminal and write this command: npm install -D cypress-xpath Install with Yarn: Open Terminal and write this Command: yarn add cypress-xpath --dev Now Open project's index.js file   cypress/support/index.js just Paste this in index.js file. require ( ' cypress-xpath ' ) Use of xpath: After installation your  cy  object will have  xpath  command. it ( ' finds input filed ' ,   ( )   =>   {    cy . xpath ( '/html[1]/body[1]/input[1] ' )      . type ('Hello ' ) } ) You can also chain  xpath  off of another command. it ( ' finds list items ' ,   ( )   =>   {    cy . xpath ( ' /html[1]/body[1]/input[1] ' )      . xpath ( ' ./li ' )      . should ( ' have.length ' ,   2 ) } ) As with other cy commands, it is scoped by  cy.within() . it ( ' finds list items ' ,   ( )   =>   {    cy . xpath ( ' /html[1]/body[1]/input[1] ' ) . within ( ( )   =>   {      cy . xpath ( &#

Cypress Dashboard

  The   Cypress Dashboard   is a service that gives you access to recorded tests - typically when running Cypress tests from your   CI provider . The Dashboard provides you insight into what happened when your tests ran.  Real World Example  New The Cypress  Real World App (RWA)  leverages the  Cypress Dashboard in CI  to test over 300 test cases in parallel across 25 machines, multiple browsers, multiple device sizes, and multiple operating systems. Check out the    Real World App Dashboard . Features Organize projects From the Dashboard you can: Set up a project to record in the Dashboard Reset or add more record keys Change who can access your Cypress project Transfer ownership of projects Delete projects See test run results From the Dashboard you can: See the number of failed, passing, pending and skipped tests. Get the entire stack trace of failed tests. View screenshots taken when tests fail or when using  cy.screenshot() . Watch a video of your entire test run or a video clip a