Shalima

Angular 12.1 new features

Angular 12.1 new features: Improved CLI performanceng build defaults to prod, that avoids accident production deployment from development builds New @use syntax points to new Saas API in Angular 12.1. Automatically happens when you do ng update on Angular 12.1 Angular components supports in line Saas in styles field in @component decorator Strict mode can …

Angular 12.1 new features Read More »

How to handle Webtable in Selenium

Simple way to handle Webtable in Selenium Web Automation Steps/coding/dom inspecting logic: Right Click and Inspect html for table Identify the patern for colum 1 of table Carefully observe the xpath of column 1 row 1 to row 3 Notice that xpath has “tr[1]/td[1]”, “tr[2]/td[1]” , “tr[3]/td[1]” etc for following rows in colmn 1 Use …

How to handle Webtable in Selenium Read More »

Selenium tutorials

Selenium # Selenium Implicit and Explicit wait //Implicit Waitdriver.manage().timeouts().implicitlyWait(10,TimeUnit.SECONDS)// Explicit waitWebDriverWait wait = newWebDriverWait(driver,20);wait.until(ExpectedConditions.textToBePresentInElementLocated Selenium # Selenium Keyboard and Mouse eventskeyDown(); keyUp(); sendKeys();doubleClick(); Code Example:Actions builder = new Actions(driver);Action actions = builder.moveToElement(“logintextbox”).click().keyDown(“logintextbox”, Keys.SHIFT).sendKeys(“logintextbox”, “hello”).keyUp(“logintextbox”, Keys.SHIFT).doubleClick(“logintextbox”).contextClick().build();actions.perform() ; What is Cucumber BDD for Selnium tests Cucumber BDD (Behaviourdriven development):Cucumber is a testing toolused for Software testingwith behaviour …

Selenium tutorials Read More »

Python short videos for interview preparations

Python #2 handling file not found error Python # 15 Lambda function in Python 3 onwards Python #7 Exceptions | AttributeError — happens when an attribute reference or assignment fails Paython #8 Exception |IOError — happens when I/O operation open() function fails like file not found Python #9 Exception | ImportError happens when import statement …

Python short videos for interview preparations Read More »

DevOps tool chain and important tools and frameworks

Source code management:GitHub, BitBucket, GitLab Programming Languages:Java, Python,JavaScript,Typescript Build management tools:Gradle, Maven, Ant Configuration management:Ansible, Chef, Puppet,Salt Stack Container:Docker, LXC, RKT Container orchastrators:Kubernetes, Docker swarm,Openshift, NoMad Infrastructure Provisioning:Terraform, Azure template,AWS cloud formation,Google Deployment Manager Monitoring :DataDog, Grafana, Zabbix,Prometheus, Checkmk,New Relic Logging:Splunk, ELK, Graylog Clouds:Azure, AWS, GCP, OpenStack ,IBM Bluemix, Alicloud CI/CD:Jenkins, Travis CI, Circle CITeamCity, …

DevOps tool chain and important tools and frameworks Read More »

Kubernetes concepts, cluster, nodes, docker container, image, Dockerfile

Kubernetes concepts to remember: 1. Kubernetes Cluster: combination of large number of node machines 2. node machines:where Kubernetes software is installed and docker containers are hosted 3. docker container:each node machines contain large number of docker containers 4. docker image:Docker instructions are build and stored as image 5.Dockerfile:Docker instructions are written in markup language and …

Kubernetes concepts, cluster, nodes, docker container, image, Dockerfile Read More »

What are the new features in Python 3.9

Python 3.9 features: 1. High performance andflexibility – PEG basedparser (replaced currentLL(1) ) has high performanceand stability. 2. New 2 operatorsmerge “|”, and “|=” updateare introduced forDictionary operations 3. new two string functionsadded to string object for easy coding experience.they are ‘removeprefix(string)’and removesuffix(string) as below’prefix-n’. removeprefix(‘prefix-‘)’n-suffix’. removesuffix(‘-suffix’)both code provides ‘n’ as result 4. Type hinting …

What are the new features in Python 3.9 Read More »