Saturday, April 6, 2019

Role of a Tester in Scrum - Agile Process


Role of a tester in Release and Sprint Planning:

Understand user stories and acceptance criteria
User stories get clarified from the respective stakeholders where there is insufficient information
High level test strategy has to be decided for whole release
All the risk that might occurs at the time of release needs to be noted or documented
Number of testing types need to be decided and discussed
Estimate time for each user story test case creation and execution
Break user stories into different testing tasks
Decide each story test coverage
Acceptance criteria for user stories needs to be defined
Understand and plan for user stories automation and support various levels of testing





Customer satisfaction through delivery of high-quality software which is earlier and continuous is highest priority
Engagement is early during the project from sprint planning but the QA activities are same
Business people, developers, and testers must work together throughout the project
Discuss and understand each user story with stakeholders and then decide on acceptance criteria for the same
Welcome changing requirements. Tester needs to be adaptable to any changes
Define activities for themselves to estimate time, updating test cases as and when changes appear, complete testing within the sprint time etc.
Story level estimation needs to be done and time needs to be assigned for each story
Test Cases needs to be developed as per the story acceptance criteria and needs to be change whenever there is a change in story
Deliver high quality software iteratively from a couple of weeks to a couple of months
QA needs to track the progress of testing on a daily basis with continuous feedback




Cheers!
Naveen Khunteta
Naveen AutomationLabs 

Wednesday, January 9, 2019

What are the Challenges you faced in Selenium?



Selenium Interview questions- What are the Challenges you faced in Selenium? Selenium Interview Question for Fresher and Experienced


Challenges faced using selenium automation testing, and how to solve them
1. Image or text overlapping issue

2. No facility to deal with Captcha, Bar Code

3. Doesn’t support any non web based (Like Win 32, Java Applet, Java Swing, .Net Client Server etc) applications

4. When you compare selenium with QTP, Silk Test, Test Partner and RFT, there are many challenges in terms of maintainability of the test cases

5. Since Selenium is a freeware tool, there is no direct support if one is in trouble with the support of applications

6. Bitmap comparison is not supported by Selenium

7. Any reporting related capabilities, you need to depend on third party tools

8. You need to learn any one of the native language like (.Net, Java, Perl, Python, PHP, Ruby) to work efficiently

9. Difficult to identify dynamic objects

10. Working with frames

11. Selenium test playback is slow (IDE)

12. JavaScript sandbox, Flash, Applets, Silverlight, and HTML 5’s Canvas all present problems in Selenium

13. Dealing with pop-up windows: Selenium can sometimes fail to record common popups in web apps. The Alert interface brings with it the following commands: void dismiss(), void accept (), getText(), void sendKeys(String stringToSend). The first two basically click on the “cancel” and “OK” buttons respectively on a popup window.

14. Timeout resulting from synchronization problems: One should ideally use selenium.IsElementPresent(locator) to verify that the object is in a loop with Thread.Sleep

15. Testing Flash apps: To automate flash apps with Selenium, one can use Flex Monkium. The application source code must be compiled with the swc files generated by Flex Monkium. Then the app and the Selenium IDE are connected, and the tests can be recorded with IDE.

16. Unexpected error launching Internet Explorer. Browser zoom level should be set to 100% by default for the IE browser to overcome this error

17. Protected Mode must be set to the same valueerror occurs when trying to run Selenium WebDriver on a fresh Windows machine. This issue can be fixed by using capabilities when launching IE

18. Cross Browser Testing Issues

19. Ajax Components








Sunday, January 6, 2019

How to find Armstrong Number

How to find Armstrong Number




Learn:
1. check the given number is Armstrong or not.
2. write different test cases for Armstrong Number






Code:



package Questions;

public class ArmstrongNumber {
//153
//1*1*1 = 1
//5*5*5 = 125
//3*3*3 = 27
//1+125+27 = 153
//407 == 4*4*4 + 0 + 7*7*7 = 407
//0
//1 == 1*1*1 = 1
//370, 371
public static void isArmstrongNumber(int num){
//153 ==  1*1*1    5*5*5      3*3*3
System.out.println("given number is "+ num );
int cube = 0;
int r;
int t;
t=num;
while(num>0){
r = num%10; 
num = num/10;
cube = cube+(r*r*r);
}
if(t==cube){
System.out.println("this is an armstrong number");
}else{
System.out.println("this is not an armstrong number");
}
}

public static void main(String[] args) {
isArmstrongNumber(153);
isArmstrongNumber(370);
isArmstrongNumber(0);
isArmstrongNumber(1);
isArmstrongNumber(455);
}
}





How to check Palindrome Number

How to check Palindrome Number


Learn:
1. check the given number is Palindrome or not.
2. write different test cases




Code:



package Questions;

public class PalindromeNumber {
//151 454 34543 161 78987  
//teet
public static void isPalindromeNumber(int num){
System.out.println("Given Number is :" + num);
int r=0;
int sum=0;
int t;
t=num;
while(num>0){
r = num%10; //get the remainder
sum = (sum*10)+r;
num=num/10;
}
if(t==sum){
System.out.println("palindrome number");
}else{
System.out.println("not palindrome number");
}
}

public static void main(String[] args) {
isPalindromeNumber(151);
isPalindromeNumber(152);
isPalindromeNumber(78987);
isPalindromeNumber(1110);
isPalindromeNumber(0);


}



}





How to find Prime Number

How to find Prime Number in Java


Learn:
1. check the given number is prime or not.
2. print all the prime numbers upto a given a number
3. write different test cases




Code:

package Questions;

public class PrimeNumber {
//2 is the lowest prime number
//3
//num = 20
public static boolean isPrimeNumber(int num){
//edge/corner cases:
if(num<=1){
return false;
}
for(int i=2; i<num; i++){
if(num % i == 0){
return false;
}
}
return true;
}
public static void getPrimeNumbers(int num){
for(int i=2; i<=num; i++){
if(isPrimeNumber(i))
System.out.print(i + " ");
}
}
public static void main(String[] args) {
System.out.println("2 is prime number: "+ isPrimeNumber(2));
System.out.println("3 is prime number: "+ isPrimeNumber(2));
System.out.println("10 is prime number: "+ isPrimeNumber(10));
System.out.println("17 is prime number: "+ isPrimeNumber(17));

System.out.println("0 is prime number: "+ isPrimeNumber(0));
System.out.println("1 is prime number: "+ isPrimeNumber(0));

System.out.println("-3 is prime number: "+ isPrimeNumber(-3));
getPrimeNumbers(7);
getPrimeNumbers(13);
getPrimeNumbers(20);



}



}










Featured Post

Advanced Selenium Webdriver Interview Questions and Answers in Java

Advanced Selenium Webdriver Interview Questions and Answers in Java Selenium WebDriver - QA Here is the list of Selenium Inte...