Posts

HTML | frameset Tag

Image
In this tutorial, you will learn how to divide browser window into multiple sections with each section having its own content. HTML <frameset> Tag The <frameset> tag in HTML is used to define the frameset. The <frameset> element contains one or more frame elements. Syntax: <frameset cols = "pixels|%|*"> Attributes: cols : The cols attribute is used to create vertical frames in web browser. This attribute is basically used to define the no of columns and its size inside the frameset tag. rows : The rows attribute is used to create horizontal frames in web browser. This attribute is used to define no of rows and its size inside the frameset tag. Value of cols and rows can be provided in pixels, % or *. Creating Vertical Frames To create a set of vertical frames, we need to use the frameset element with the cols attribute. The cols attribute is used to define the number and size of columns. We have three files to display in different sections vertically. ...

Copy, Move and Delete files with PowerShell

Image
In this article, let me show you how you can use PowerShell to copy, move and delete files. Before we go through these commands, let me show you how to navigate between different directories/folders. How to change the directory (folder) in Command Prompt (CMD) CD (Change Directory): This command enables you to change the current directory.  When you need to go one folder up, use the "cd.." command. Let’s assume that you want to go back to the Windows folder. Type “cd..” and press Enter on your keyboard. cd takes you to the top of the directory tree when you pass " \ " after it. In this case, to the “C:” drive. If you need to go to a specific folder from this drive run the command "CD Folder". for example, When you need to access the cstutorials folder located in "C:" type "cd cstutorials" as shown below, and then press Enter on your keyboard. CD cmdlet is alias for set-location. you can use set-location also. How to create a new directo...

What is the way forward after Coded UI deprecation

What we will do after Coded UI deprecation? Most of us are aware about Microsoft official announcement that Coded UI will no longer be available after Visual Studio 2019. This news triggers the question for those teams who are using Coded UI, what they will do? We have listed down here some points that might help to take a decision. Why Microsoft is deprecating Coded UI Test? Coded UI tests are used for UI-driven functional automation of web apps and desktop apps. Open source UI testing tools such as  Selenium  and  Appium  have gained momentum in recent years, have a strong community backing and are now pretty much industry standards. Coded UI’s cross-browser testing solution was itself based on Selenium. Additionally, both Selenium and Appium work cross-platform and support multiple programming languages. Other important point is that Test automation focus is also shifting from predominantly UI driven testing to more unit testing and API testing. For how ...

Controlling Your Code's Flow with PowerShell's Control Statements

Image
PowerShell Control Statements Windows PowerShell provides several ways to control the flow of code. You can use conditional statements to define conditions and the actions to occur when those conditions are met. You can even specify the actions to occur when a condition isn’t met. PowerShell Control statements can be broken down into three sections: Conditional statements Used when you want to execute line of code depending upon some condition. Looping statements Used when you want to perform some task multiple time. Flow control statements Used along with conditional and loop statements to control the flow of execution. Lets go through all, one by one: Conditional statements if statement - execute the script if condition evaluates to true. elseif statement - execute the script if condition evaluates to true and all if, elseif conditions before it false. else statement - execute the scripts that follows it when none of the conditions in if, elseif evaluates to true. Syntax ...

HTML Anchor <A> Tag Attributes

Image
What are links in HTML -  HTML Links - Hyperlink How to create links to different sections of same page -  connecting sections of same page In this tutorial, we tutorial you will learn about different attributes of anchor <a> tag. Hyperlink Attributes title :  Defines the title of a link, which appears to the user as a tooltip. <a href=" https://cstutorials1.blogspot.com/2020/10/how-to-create-links-to-sections-on-same.html " title="info_about_link"> content visible as link</a> Output:  content visible as link target : Specifies where to open the linked URL. It can have 4 values. _self - opens the linked URL inside same window or tab (default) _top - opens the linked URL in top most frame of the window.     _parent - opens the linked URL in parent frame of the window. _blank - opens the linked URL in new tab or window. download : Prompts the user to download the linked resource instead of opening in new tab/window. <a href"addres...