QA Archives | Online Productivity Solutions Pvt. Ltd. Tue, 22 Oct 2019 09:06:19 +0000 en-US hourly 1 Effects of time differences on a web application https://opspl.com/blog/effects-of-time-differences-on-a-web-application/ https://opspl.com/blog/effects-of-time-differences-on-a-web-application/#respond Fri, 20 Sep 2019 09:04:32 +0000 https://opspl.com/?p=10458 A web application which has an interaction between 2 or more users will encounter problem when there is time difference between those users. This is especially true in systems which involves future and past events such as scheduled meetings or a calendar or a chat system and in any country which has different time zones within itself.

The post Effects of time differences on a web application appeared first on Online Productivity Solutions Pvt. Ltd..

]]>
A web application that has an interaction between two or more users will encounter problems when there is a time difference between those users. This is especially true in systems which involve future and past events such as scheduled meetings or a calendar or a chat system and in any country which has different time zones within itself.

Following factors which can cause time-related issues:

1. Time zone: Consider two users of the application belong to different time zones and one of user wants to book a meeting with the other. In such a scenario, each user will prefer the time to be displayed in his/her time zones. Also, in some cases the difference is so much that there is a difference in date too.

2. Daylight Saving: This change in time in some countries during different times of the year can create confusion for the users of a system. This issue will even usually occur when there is a recurring event, e.g. weekly and monthly meetings. A user might schedule a recurring event 1-2 weeks prior to daylight saving change. Once the event occurs within the daylight saving period, the time difference will come into effect. This will surely affect users who are from the country where there is no daylight saving.

One of the solutions to such problems is using one standard time to store all the time and date values in the database and then displaying it to the user in his/her time zone. There are multiple ways to implement this method is an application

1. Forcing the user to insert his/her time zone. This can be a part of user profile itself. So the time zone saved by the user will be used as a reference while inserting or displaying any date time values.

2. Deriving the time zone from the user’s system every time the user uses the application. This method is a bit complex but is very robust. This will handle scenarios such as when the user is travelling to other countries, etc. In this method, when a user is performing some action in the application which requires an insert to be done in the database, e.g. scheduling a meeting on a particular day/time, the time zone of the system used by that user is calculated. Using the reference of the exacted value, the time/date selected is converted to a standard time, e.g. UTC, and then saved into the database. Also, while displaying timings back to the user, system time zone is used as a reference to convert the saved UTC date/time back to user’s time.

Both of the mentioned methods have their pros and cons which can affect user experience. The selection of which method to be implemented will depend on the application’s requirement.

Such issues if not handled will lead to confusion and negative effect on the application which can make the users give up on the application and look for other applications which provide better user experience. Time difference is a parameter that needs to be considered for quality applications.

 

Dattaraj Naik

The post Effects of time differences on a web application appeared first on Online Productivity Solutions Pvt. Ltd..

]]>
https://opspl.com/blog/effects-of-time-differences-on-a-web-application/feed/ 0
Relationship between a developer and a tester https://opspl.com/blog/relationship-between-a-developer-and-a-tester/ https://opspl.com/blog/relationship-between-a-developer-and-a-tester/#respond Fri, 19 Jul 2019 13:27:29 +0000 https://opspl.com/?p=8321 The goal of a tester and a developer is the same: to provide the best solution to the client’s problem. However, the way each of them thinks and works is different. A developer tries to find the best possible solution. On the other hand, a tester thinks of the best possible scenarios to break the...

The post Relationship between a developer and a tester appeared first on Online Productivity Solutions Pvt. Ltd..

]]>
The goal of a tester and a developer is the same: to provide the best solution to the client’s problem. However, the way each of them thinks and works is different.
A developer tries to find the best possible solution. On the other hand, a tester thinks of the best possible scenarios to break the system.
The tester’s job is not to ruin the system, but to see whether the system works properly in different scenarios through quality testing. So, to check these scenarios, they need to think out of the box and test accordingly. That is the only way to provide a client with a high-quality product and to satisfy the customer’s real need.

The points mentioned below should be considered to maintain a smooth flow between development and testing:

Requirements
Requirements should be accurately gathered. If any requirement or a flow is incomplete, it leads to confusion, and incomplete development of a module or the system.
Co-ordination:
Each functionality and even minor changes need to be communicated to the relevant members of the team.

Patience
Both testers and developers must maintain their patience, in order to maintain the harmony of the entire team. Whenever issues are raised during testing, a developer should take it as a positive criticism of their work and find a way to make their system even better.

Satisfactory answers
Testers can raise any divergent or out of the box questions. These questions should be answered by developers without any aggression, so as not to make a tester feel guilty for raising the question.

Conclusion
Well, they cannot work without each other.
While the developer’s aim is to fulfil the client’s requirement by developing a system without any bugs, the tester’s goal is to ensure the highest quality in the system.
The relationship between a developer and a tester should be robust. They should respect each other’s opinions and work smoothly which will allow them to produce a quality software system.

 

Trupti Oulkar

The post Relationship between a developer and a tester appeared first on Online Productivity Solutions Pvt. Ltd..

]]>
https://opspl.com/blog/relationship-between-a-developer-and-a-tester/feed/ 0
Technical Documentation in Quality Management https://opspl.com/blog/technical-documentation-in-quality-management/ https://opspl.com/blog/technical-documentation-in-quality-management/#respond Fri, 12 Jul 2019 12:11:22 +0000 https://opspl.com/?p=8312 Quality serves as the backbone of excellence in an organisation. Trust is the building block of stature for an organization. In today’s world of globalization with highly skilled professionals, the customer’s focus is on a quality product, as quantity alone is not good enough. The organization’s profit relies solely on the quality of its product....

The post Technical Documentation in Quality Management appeared first on Online Productivity Solutions Pvt. Ltd..

]]>
Quality serves as the backbone of excellence in an organisation. Trust is the building block of stature for an organization. In today’s world of globalization with highly skilled professionals, the customer’s focus is on a quality product, as quantity alone is not good enough.

The organization’s profit relies solely on the quality of its product. Documentation plays a key role in quality management. It is an important medium for answering questions and clearing doubts. Poor documentation is very likely to affect the product quality. Proper documentation will save the organization time and avoid waste of man hours.

Each milestone in the project needs to be properly planned and documented so that it can then serve as a guide during the entire process of quality management. The documents should be regularly reviewed, updated and tested for usability to ensure quality and standards. Proper documentation also serves as an important tool in tracing records for quality audits.

Documentation is necessary right from the pre-development phases and throughout the entire software development life cycle.

Requirement gathering phase:

  • The documentation at this phase should contain product outline according to the client requirements.
  • A rough project schedule is also created at this stage.
  • Constraints like time and cost and also the feasibility of the project are considered while documenting project schedule.

Specification Phase:

  • Once the requirements are clearly understood, a software requirements specification document (SRS) is to be prepared by the quality control team.
  • The SRS must be have a clear description of the users interaction with the software system.
  • All milestones should be clearly indicated in the document.
  • The inputs to the system and the expected outputs are to be clearly documented to avoid any ambiguity.
  • The specification document of the product will be considered as the contract. The product is to be delivered after making sure that it satisfies all the specifications.
  • This document should be thoroughly checked for its accuracy as it plays a vital role in the testing and maintenance phase.
  • The pre-conditions and the test environment required should be clearly documented as this document serves as a reference for writing test cases.
  • The SRS is to be kept updated as and when there is a change in product specifications.

Design Phase:

  • The design document should have clear illustrations of the UI designs as per the client specifications.
  • This document needs to be reviewed by the client to avoid confusion or complications in the upcoming phases.
  • Detailed design specification diagrams and entity relationship diagrams are also required to provide clear view of the product.
  • Use case diagrams to indicate users interactions with the system should also be documented at this stage.
  • The design document should contain proper description of the proposed server architecture, the platforms supported, etc.

Implementation Phase:

  • Documentation during this phase should contain the overall scope of how the project is to be implemented.
  • The database schema, the constraints, constants used need to be documented correctly for future reference.
  • Source code documentation is also required for reference during bug fixing and/ enhancement.

Testing Phase:

  • Test scenarios need to be documented considering the specification
  • Test cases/scripts are to be systematically written for every possible test scenario.
  • Any assumptions and the pre-conditions are to be clearly indicated.
  • Test report is required to show consolidated test results. This document is the summary of final test results.

Deployment / Maintenance:

  • User manuals should be written taking into consideration the target audience.
  • Points written should be organized and written in proper hierarchy.
  • Every instruction should be clearly mentioned irrespective of whether the users have prior knowledge about the product or not.
  • Guidelines for implementation and code migration are also required to be documented for the System Administrator’s reference.

Here are some good practices to be followed while writing a technical document:

  • Proofreading should be done to eliminate any grammar and/or spelling errors.
  • The documentation should be in a consistent format. A standard outline should be followed every time to ensure consistency.
  • The documents should be regularly updated and the latest ones are to be circulated.
  • Facts documented should be correct and complete. Any ambiguities should be avoided.
  • Assumptions should be avoided while documenting facts and figures
  • The important points need to be highlighted so that it is easy to navigate through the entire document.
  • The information mentioned should be clear, accurate and understandable.
  • Font styles and formatting should be consistent over the entire document.

 

Shruti Kossambe

The post Technical Documentation in Quality Management appeared first on Online Productivity Solutions Pvt. Ltd..

]]>
https://opspl.com/blog/technical-documentation-in-quality-management/feed/ 0
Page Object Model in Test Automation https://opspl.com/blog/page-object-model-test-automation/ https://opspl.com/blog/page-object-model-test-automation/#respond Fri, 23 Nov 2018 04:46:30 +0000 https://opspl.com/?p=7840 Writing initial automation scripts is an easy task. We need to just locate the element and perform necessary operations required in the test case. For a small script, maintenance is easy and small change in UI/UX would not create many problems. But with increasing test cases, the scripts will also grow. So with increasing lines...

The post Page Object Model in Test Automation appeared first on Online Productivity Solutions Pvt. Ltd..

]]>
Writing initial automation scripts is an easy task. We need to just locate the element and perform necessary operations required in the test case. For a small script, maintenance is easy and small change in UI/UX would not create many problems. But with increasing test cases, the scripts will also grow. So with increasing lines of code, the maintenance starts becoming tough. For example, if you have ‘n’ different scripts written which consist of text box element and say in the future there is a change made to that element (Removed/Position Changed). In this scenario, you will need to make changes to ‘n’ number of lines. This ends up becoming time-consuming as you will need to go through that many lines of code and may also be error prone as you might miss out a couple of places.

Page Object Model (POM) approach for script maintenance is to create a separate file and place all the element locators of the common web page in that file. E.g. All the elements of the login page will be kept in one common file which is allocated for the login page only. This file is called the page object file of the login page. So whenever you want to use an element from the login page, you can directly use it from the Page object of the login page. So in future, if there is a change in that element, all you have to do is make the required changes in the page object file and the rest of the code will work as expected. This approach makes code maintenance much easier.

Page object will consist of all the elements of the corresponding and also the common actions performed on that page. These are called commands and they are written as functions. So when you want to use them, just make a function call. This is significantly helpful in reducing the code lines because very often, there are similar test cases where you perform similar actions but in different sequences. So instead of writing that action multiple times in different sequence, we can just make function calls in a different sequence.

Another advantage of POM approach is that the code becomes much cleaner and readable.

For example,

locator of Submit = #identifier

Case 1: Normal Approach

So when you want to click submit button, the syntax will be:

.click(‘#identifier‘)

Case 2: With Page object model

For this case, the locator of the Submit button will be already present in the corresponding Page object file. So the syntax for clicking the submit button in test file becomes:
.click(‘@submit‘)

In case 2 it is much easier to read the operation perform. So this becomes much easier to debug if the test code fails in future for some reason.

In Test automation, the Page object model can play an important role as it makes the code more readable, maintainable, reusable and helps avoid duplication.

Dattaraj Naik

The post Page Object Model in Test Automation appeared first on Online Productivity Solutions Pvt. Ltd..

]]>
https://opspl.com/blog/page-object-model-test-automation/feed/ 0
Check and Re-check https://opspl.com/blog/check-re-check/ https://opspl.com/blog/check-re-check/#respond Fri, 24 Aug 2018 12:24:47 +0000 https://opspl.com/?p=7305 Did I put off the lights? I better go check it out. Did I lock the front door? I think I did, but still, let me be sure about it. Have I put off the geyser? I better go and see if it is off before I leave. In our day-to-day life, we all feel...

The post Check and Re-check appeared first on Online Productivity Solutions Pvt. Ltd..

]]>
Did I put off the lights? I better go check it out. Did I lock the front door? I think I did, but still, let me be sure about it. Have I put off the geyser? I better go and see if it is off before I leave.

In our day-to-day life, we all feel the need to recheck and assure ourselves that we do not neglect anything that might be dangerous. When we are worried about something else or in a hurry or under pressure, it’s common to make mistakes. That’s natural!!! During these situations, it is necessary that we double-check our work.

It is said that rechecking leaves your memory in doubt but avoiding it also does the same.

When we are dealing with clients, we have to use this technique of rechecking. Whether you write an email to the client or prepare a user manual or write test cases, etc., everything needs to be rechecked from the start of the project till the end.

We can always use various online tools that are available for checking our content for grammar and spellings. Here’s when Google comes to our rescue!!! When it comes to testing (in the IT field), it’s not a one time job. Once a module is tested, testing is not complete for that module. In fact, testing should be carried out when the other module is integrated, to ensure that there are no major issues in the future. Here too, re-testing is necessary.

There are certain clients who are “Perfecto”, they need perfection in whatever they do. To tackle these type of clients, we have to recheck the quality of work that we produce for them. This is how we will build a good relationship with the client. Michael LeBoeuf (American business author) says, “A satisfied customer is the best business strategy of all.”.

In order to be perfect, let’s try the technique of RE-CHECK…

Revie Lobo

The post Check and Re-check appeared first on Online Productivity Solutions Pvt. Ltd..

]]>
https://opspl.com/blog/check-re-check/feed/ 0