Posts
How create a sitemap for your Gatsby siteGatsby

How create a sitemap for your Gatsby siteGatsby
So, I will show you how to set a sitemap on the Gatsby site.
Install the package by running the following command: npm install gatsby-plugin-sitemap
Configure siteUrl and add this {resolve: `gatsby-plugin-sitemap`} into the plugins array. code looks like
module.exports = { siteMetadata: { title: `InfyOm Technologies`, description: `InfyOm Technologies`, keyword: `InfyOm Technologies`, author: `@gatsbyjs`, siteUrl: `http://infyom.com` }, flags: { PRESERVE_WEBPACK_CACHE: true, }, plugins: [ {resolve: `gatsby-plugin-sitemap`}, ],}
Above is the minimal configuration required to have it work. By default, the generated sitemap will include all of your site’s pages.
- output (string) The file path and name. Defaults to /sitemap.xml.
- exclude (array of strings) An array of paths to exclude from the sitemap.
module.exports = { siteMetadata: { title: `InfyOm Technologies`, description: `InfyOm Technologies`, keyword: `InfyOm Technologies`, author: `@gatsbyjs`, siteUrl: `http://infyom.com` }, flags: { PRESERVE_WEBPACK_CACHE: true, }, plugins: [ { resolve: `gatsby-plugin-sitemap`, options: { output: `/some-other-sitemap.xml`, exclude: [`/category/*`, `/path/to/page`], } }, ], }
now we are done and open sitemap using your domain. for ex. https://xxx.com/sitemap.xml
Software Testing Life CycleTesting

Software Testing Life CycleTesting
Software Testing Life Cycle (STLC) identifies the test activities to perform and when to perform those test activities. While testing differs between organizations, there is a test lifecycle.
There are mainly eight phase of STLC
1. Test Planning And Control
3. Test Analysis
4. Test Case Development
5. Test Environment Setup
6. Test Execution
7. Exit Criteria Evaluation And Reporting
8. Test Closure

This phase helps to identify whether the requirements are likely or not. If any requirement is not verifiable, the test team can communicate with various stakeholders (customer, business analyst, technical leaders, system architects, etc.) during this phase so that the mitigation strategy can be planned.
Entry criteria: BRS (Business Requirement Specification) Results
Deliverables: list of all verifiable requirements, automation feasibility report (if applicable)
The deliverables of this phase are Test Plan & Effort estimation documents.
Entry Criteria: Requirements Documents
Deliverables: Test Strategy, Test Plan, and Test Effort estimation document.
- CRS (Customer Requirement Specification)
- SRS (Software Requirement Specification)
- BRS (Business Requirement Specification)
- Functional Design Documents

Following are the three activities that are carried out in the Test Case Development phase
2. Enumerate potential users, their actions, and their goals.
3. Evaluate Users who have a hacker mindset and listed possible scenarios for abuse of the system.
4. List System events and how the system handles these requests.
5. List Benefits and create comprehensive tasks to verify.
6. Read about similar systems and their behavior.
7. Studying Complaints about competitors' products and their predecessors.
Test Case serves as a starting point for running the test. After a set of input values is applied; the application is final and leaves the system at an end point also known as a post execution condition.
Test Data is used to run the tests for test ware. Test Data must be precise and complete in order to detect the shortcomings. To achieve these three goals, follow a step-by-step approach as given below -
1. Identify resources or test requirements
2. Identify conditions / functionality to be tested
3. Set priority test conditions
4. Select conditions to test
5. Determine expected result of test case processing
6. Create Test cases
7. Document test
8. conditions Conduct test
9. Verify and correct test cases based on modifications
Following people are involved in test environment setup
- System Admins,
- Developers
- Testers
- Sometimes users or techies with an affinity for testing.
For example, Fedora configuration for PHP, Java-based applications with or without mail server, cron configuration, Java-based applications and so on.
- Internet setup
- LAN Wi-Fi setup
- Private network setup
It ensures that the congestion that occurs during testing doesn't affect other members. (Developers, designers, content writers, etc.)
For example, windows of phone app testing may require.
- Visual Studio installation
- Windows phone emulator
- Alternatively, assigning a Windows phone to the tester.
Bug reporting tools should be provided to testers.
Creating Test Data for the Test Environment
Many companies use a separate test environment to test the software product. The common approach used is to copy production data to test. This helps the tester, to detect the same issues as a live production server, without corrupting the production data.
The approach for copying production data to test data includes,
- Set up production jobs to copy the data to a common test environment
- All PII (Personally Identifiable Information) is modified along with other sensitive data. The PII is replaced with logically correct, but non-personal data.
- Remove data that is irrelevant to your test.
Testers or developers can copy this to their individual test environment. They can modify it as per their requirement.
Privacy is the main issue in copy production data. To overcome privacy issues you should look into obfuscated and anonymized test data.
For Anonymization of data two approaches can be used,
- Blacklist: In this approach, all the data fields are left unchanged. Except those fields specified by the users.
- Whitelist: By default, this approach, anonymizes all data fields. Except for a list of fields which are allowed to be copied. A whitelisted field implies that it is okay to copy the data as it is and anonymization is not required.
Also, if you are using production data, you need to be smart about how to source data. Querying the database using SQL script is an effective approach.
Every test may not be executed on a local machine. It may need establishing a test server, which can support applications.
For example, Fedora set up for PHP, Java-based applications with or without mail servers, cron set up, Java-based applications, etc.
Network set up as per the test requirement. It includes,
- Internet setup
- LAN Wi-Fi setup
- Private network setup
It ensures that the congestion that occurs during testing doesn't affect other members. (Developers, designers, content writers, etc.)
In This manual test / automation script phase is executed. If any defect is detected during the execution of the test case, it will be reported to the developer through the bug tracking system.
If any test case result is a failure than this particular test case marked as fail.
If any test case result is matched to the expected result then a particular test case marked as Pass.
If all modules dependent are tested and any fault is detected, the particular module test case is marked as blocked, first corrects the main module fault, and then runs the associated module test case. For example, B the module depends on the module A.
If any fault found in the module A, the test case of the module B is not executed. First correct the fault of the module A then rerun the module A test case, If module A result of the test case is Pass then run the module B execution of the test case.
Blocked Test noticed cases are executed after the fault is corrected by the developer.

In this phase if the exit criteria match the test result. In Termination Criteria There is one condition that is predefined. At this stage The test summary report is generated. A Document containing a summary of testing activities and final test results is called Test Summary Report.
The final stage where we prepare Test Closure Report, Test Metrics.
The testing team will be called out for a meeting to evaluate cycle completion criteria based on Test coverage, Quality, Time, Cost, Software, Business objectives.
The test team analyses the test artifacts (such as Test cases, defect reports, etc.,) to identify strategies that have to be implemented in the future, which will help to remove process bottlenecks in the upcoming projects.
Test metrics and Test closure report will be prepared based on the above criteria.
Entry Criteria: Test Case Execution report (make sure there are no high severity defects opened), Defect report
Deliverables: Test Closure report, Test metrics
How to create recycler view in android javaAndroid Development
How to create recycler view in android javaAndroid Development
- RecyclerView is used to show the data in the form of a scrollable list. It is a ViewGroup to display a large set of data. For each item in a large dataset, it displays a View. So RecyclerView is very useful no use the scrollable list.
- One reason is so we can create a List through the LinearLayout and the orientation can be vertical. For example, in the Facebook application, all parameters will be the same as share, comment, like, etc. Now if we will take LinearLayout, all the views will create separate views in the memory.
dependencies { implementation "androidx.recyclerview:recyclerview:1.1.0" }
- Androidx in recycler view dependencies: implementation "androidx.recyclerview:recyclerview:1.1.0"
- Your android studio, not androidx: implementation 'com.android.support:recyclerview-v7:28.0.0'
<?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" tools:context=".MainActivity"> <androidx.recyclerview.widget.RecyclerView android:id="@+id/recyclerView" android:layout_width="match_parent" android:layout_height="match_parent" /> </RelativeLayout>
<?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" tools:context=".MainActivity"> <androidx.recyclerview.widget.RecyclerView android:id="@+id/recyclerView" android:layout_width="match_parent" android:layout_height="match_parent" /> </RelativeLayout>
<?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="horizontal"> <ImageView android:id="@+id/image" android:layout_width="300px" android:layout_height="300px" android:layout_marginLeft="10dp" android:layout_marginTop="10dp" android:src="@color/colorPrimaryDark" /> <TextView android:id="@+id/description" android:layout_width="250dp" android:layout_height="55dp" android:layout_toRightOf="@id/image" android:layout_marginLeft="15dp" android:layout_marginTop="35dp" android:text="abcd" android:textColor="#000" android:textSize="30sp" /> </RelativeLayout>
public class Data { public String name; public String getName() { return name; } public void setName(String name) { this.name = name; } public int getImageId() { return imageId; } public void setImageId(int imageId) { this.imageId = imageId; } public int imageId; Data(String name, int imageId) { this.name = name; this.imageId = imageId; } }
public class RecyclerView_Adapter extends RecyclerView.Adapter<View_Holder> { List<Data> list = Collections.emptyList(); Context context; public RecyclerView_Adapter(List<Data> data, Application application) { this.list = data; this.context = application; } @NonNull @Override public View_Holder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) { //Inflate the layout, initialize the View Holder View v = LayoutInflater.from(parent.getContext()).inflate(R.layout.row_layout, parent, false); View_Holder holder = new View_Holder(v); return holder; } @Override public void onBindViewHolder(@NonNull View_Holder holder, int position) { //Use the provided View Holder on the onCreateViewHolder method to populate the current row on the RecyclerView holder.name.setText(list.get(position).name); holder.imageView.setImageResource(list.get(position).imageId); } @Override public int getItemCount() { return list.size(); } }
- onCreateViewHolder()- It inflates the row layout and initializes the view holder. It handles findViewById) (methods, find views once, and recycle them so that repetitive calls are avoided.
- onBindViewHolder()- It uses the onCreateViewHolder() View Holder to fill in the current RecyclerView row with data.
- getItemCount()- This method returns the collection size which contains the items that we wish to show.
import android.view.View; import android.widget.ImageView; import android.widget.TextView; import androidx.recyclerview.widget.RecyclerView; public class View_Holder extends RecyclerView.ViewHolder { TextView name; ImageView imageView; View_Holder(View itemView) { super(itemView); name = (TextView) itemView.findViewById(R.id.name); imageView = (ImageView) itemView.findViewById(R.id.image); } }
public class MainActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); List<Data> data = fill_with_data(); RecyclerView recyclerView = (RecyclerView) findViewById(R.id.recyclerView); RecyclerView_Adapter adapter = new RecyclerView_Adapter(data, getApplication()); recyclerView.setAdapter(adapter); recyclerView.setLayoutManager(new LinearLayoutManager(this)); } public List<Data> fill_with_data() { List<Data> data = new ArrayList<>(); data.add(new Data("Android", R.drawable.c)); data.add(new Data("Kotlin", R.drawable.cc)); data.add(new Data("Kotlin", R.drawable.ccc)); return data; } }
Employee Morale: Play significant role in Business Development Part-3Human Resource

Employee Morale: Play significant role in Business Development Part-3Human Resource
- Observation
- Survey
- Periodic Interview
- Attitude Measurement
- Opinion Analysis
- Morale Indicators
- Productivity
- Absenteeism
- Turnover
- No. of accident
- Use suggestion Box
Periodic Interview
How to create glow effect in photoshopDesign

How to create glow effect in photoshopDesign
select any selection tool for selection but select the Quick selection tool.
select your subject and press select and mask
- open property and select onion skin and transparency 50%
- refine edge brush tool and then refine edge
- Set contrasts 9%
- output setting on
- tick decontaminate colors amount 100%
- output to a new layer with layer mask then press OK
select layer mask and press ctrl + click for selection and new cut out the upper part to polygonal lasso tool. select perfectly then select layer and ctrl+j for duplicate layer
create Ctrl+G for group layer select the last layer and create color lookup effect.
then 3D lut file and select moonlight.3dl. and then Create a new effect black & white
Opacity set 50%
select the group layer and convert this layer to a Smart Object.
then create this layer duplicate. then create a color style to the top layer in linear Dodge(Add).
then go to the
1.filter - blur - Gaussian blur Create radius - 5 for soft edges
2.Create a duplicate layer and double click on the smart filter and Create a radius of 100
4. again Create duplicate layer and double click on the smart filter and **Create a radius of 500
then add hue/saturation adjustment layer
and click on create clipping mask then click on colorize and increase the saturation to your perfect and choose a color
select main layer mask image and create effect curves.
and click on create effect curves and click on create clipping mask and curves per requirement select layer mask and select the brush tool. and set property
opacity 100%
flow 30%
and select the mask and make sure the foreground color is white.
and give shade to the object and you can also adjust the opacity.
Step 7: Add the sparkle and give effect
let's add sparkle and change the blending yo screen.
set foreground color is white and creates an effect in the main object after creating effect open blending mode and create a level and click on create clipping mask and set property per requirement.
then open blending mode and select color lookup and set 3dlutfile to crisp_warm: look and set opacity as per requirement.
now finally ready to glow effect


The above diagrams clearly states that Modules 1, 2 and 3 are available for integration, whereas, below modules are still under development that cannot be integrated at this point of time. Hence, Stubs are used to test the modules. The order of Integration will be:
- Reduces errors in the newly developed functions or reduces errors when changing the existing functionality.
- Reduces test costs as errors are detected at a very early stage.
- Improves the design and allows for better code redesign.
- Unit tests also show the quality of the build when integrated into Build.
- Black Box Testing - Using which the user interface, input and output are tested.
- White Box Testing - used to test each one of those functions' behavior is tested.
- Gray Box Testing - Used to execute tests, risks and assessment methods.
- Identify the business-critical functions that a product must perform.
- Design and run the basic functions of the application.
- Make sure the smoke test passes each and every build to continue testing.
- Smoke testing enables obvious errors to be revealed, saving time and effort .
- Smoking testing can be manual or automated.
- Check that communication between systems is done correctly
- Check if all supported hardware / software has been tested
- Check if all related documents are supported / open on all platforms
- Check security requirements or encryption when communicating between application server systems
- Final Regression Tests: - A "final regression testing" is performed to validate the build that hasn't changed for a period of time. This build is deployed or shipped to customers.
- Regression Tests: - A normal regression testing is performed to verify if the build has NOT broken any other parts of the application by the recent code changes for defect fixing or for enhancement.
- Requires knowledge of the system and its effects on the existing functions.
- Tests are selected based on the area of common failure.
- Tests are chosen to include the area where code changes have been made multiple times.
- Tests are selected based on the criticality of the features.
- Regression tests are the ideal cases of automation which results in better Return On Investment (ROI).
- Select the regression tests.
- Choose apt tool and automate regression testing.
- Verify applications with checkpoints.
- Manage regression testing and update as needed.
- Schedule tests.
- Integrate with builds.
- Evaluate performance acceptance criteria.
- Identify critical scenarios.
- Design the workload model.
- Identify target load levels.
- Design the tests.
- Run the tests.
- Analyze the results
- Response time.
- Resource usage rate.
- Maximum user load.
- Work-related metrics
- This allows the test team to monitor the performance of the system during failures.
- To check if the system saved data before crashing or NOT.
- To check if the system is printing messages Significant error during a failure or if it has printed random exceptions
- To check whether unexpected failures do not lead to safety issues
- Monitor the behavior of the system when the maximum number of 'users are logged in at the same time
- All users performing critical operations at the same time
- All users Accessing the same file
- Hardware issues such as the downed database server or some of the servers in a downing farm breakdown.
- Operating system Compatibility Testing - Linux, macOS, Windows
- Database Compatibility Testing - Oracle SQL Server
- Browser Compatibility Testing - IE, Chrome, Firefox
- Other System Software - Web server, networking/ messaging tool, etc.
- White Box Testing
- Black Box Testing
- Grey Box Testing
- Unit Testing
- Integration Testing
- System Testing
- Software malfunction.
- Error in interface.
- Errors in concepts.
- Errors related to the database.
- Performance or behavior errors.
- Errors in product startup or termination
- Integration Testing
- System Testing
- Acceptance Testing
How To Grow Your Business - 2Sales

How To Grow Your Business - 2Sales
Introduction
You can only develop products and services that are very effective if you pay attention to the needs of your customers and prospects. One way to understand exactly what your customers want is through research and surveys.
It helps you grow and grow quickly and easily. Sure, there are some front-end functions involved. Is natural. But, once those processes are suspended, it will travel easily from there.
9. Use a customer management system
Manually tracking transactions is difficult. No one wants to do that. It becomes a burden as the business grows. If you want to scale quickly, use a customer management system.
10. Competition research
When going to the market, and you are really looking to get your offer out to the public, you need to research the competition. Frasier says he uses two platforms to do his own research. The first is the same web.
11. Create a customer loyalty program
Loyalty programs are the best way to increase sales. It costs three times more to acquire new customers than to sell something to an existing customer.
Other resources pin this number anywhere from four to 10 times more. However, whichever way you cut it, getting new customers is expensive.
12. Identify new opportunities
Analyze new opportunities in your business by better understanding your demographics. Understand everything from distribution channels to your direct competitors, and also analyze overseas markets and other potential industries.
With the right amount of potential analysis, you are likely to immediately pursue dozens of new opportunities.
13. Create an email list
One of the best and most effective ways to grow a business quickly is to create an email list. Clearly, that means you need to have a lead magnet.
14. Think of the franchise model.
If you have a successful business, and you are trying to grow really fast, consider franchising it. Although franchise costs are high and moving towards a franchise model is complex and it takes a lot in marketing, how can it all make a difference if you are looking for really fast growth.
How To Grow Your Business - 1Sales

How To Grow Your Business - 1Sales
Introduction
You can only develop products and services that are very effective if you pay attention to the needs of your customers and prospects. One way to understand exactly what your customers want is through research and surveys.
1. Understand your customers
You can only develop products and services that will be a big hit if you pay attention to the needs of your customers and prospects. One way to understand exactly what your customers want is through research and surveys. You should constantly invite them to give honest, brutal feedback.
Reviews and surveys are the best way to get into the minds of your customers. This makes it easier for you to develop products and services that are appropriate to the current demands of the market. Moreover, it helps you understand the area in which your company needs to improve.
2. Improving customer service
If you do not provide quality customer service, it will be difficult to satisfy your customers even if you have an excellent product or service. This aspect of the business is about taking extra steps to make them feel special. Let your customers know that they have value. If they have a problem, make sure you address them immediately. If they have questions, take the time to answer.
They should not feel that things are difficult for them if they raise specific issues. Social media is the best way to listen to and understand your customers. If they find customer service satisfactory, they may also recommend buying others from your business.
3. Establish loyalty
It takes time to encourage customers to come and buy what you offer. But just buying them is not enough. You need to promote loyalty. Considering there are other competitors who can offer them better, you want them to stay loyal to you. Don’t be satisfied just because you already have a lot of loyal customers.
They can easily be attracted to other options and they can leave you. Provide loyalty rewards. If there are discounts and discounts, let these most loyal customers be the first to know. You must make sure your customers know they are appreciated.
4. Focus on professional development
The success of your business also depends on the quality of the employees you hire. Building an effective team is the key to making sure your business grows.
One of the best ways to motivate hardworking employees is to give them a sense of purpose. They should not feel that they have to work just to work.
5. Understand your customers
Find ways to increase the sales of your existing customers It's much cheaper than finding a new one. Even if you can't expand your product line, you can still sell more of your existing product or service to a client you already have. An easy way to do this is by volume discount.
6. Participate in networking events
Take the time to build your networks - it's not what you know but who you know. Networking allows you to build relationships with other people and encourage customers to refer to you through words.
7. Give back to your community
Creating brand awareness in your local community is a great way to attract new business. Consider participating in a sponsorship or community event to enhance your business profile.
We will see more points in our next tutorial.