Gaurav Khurana
BAN USER
perl provides a very simple solution to this. as it has 'x' which multiplies(read prints) the number x number of times
# it will print 1 or any variable 1000 times, and no loop or recursion is required
{
$var=1;
print $var x 1000;
}
1) check if you are able to open photos directly from camera instead of copy it to local drive
2) check if you are able to open 20 instances of single photo
3) check if you are able to open 20 instances of different photo
4) Editing of photo should not overwrite existing photo
5) should be able to move left and right arrow keys to different photos
6) what if the connection broken when the photos are open
7) open 1 photo from PC and another from camera
8) if the photo is open and its deleted from backend
1) able to install
2) able to uninstall
3) Should be easy to use
4) if used to much faster, should be able to perform request
5) if multiple tabs are opened , still it should work
1) Give all attributes of API with correct values
2) Miss some optional ones
3) miss the required attributes of values
4) mismatch the type of attributes passed to an attribute
5) give a values already than the maximum defined in database
6) miss some node from the API
7) Try to repeat one of the element
8) run the aPI with same input multiple times
but whats the case that will test the distributed part of it.
- Gaurav Khurana September 07, 2015can we just create a batch file which just opens the link in a loop or give it to different team members to do the same?
Batch scripting should not come under 'load test tool' i guess
very detailed answer, thanks for sharing
- Gaurav Khurana September 07, 2015do 'equivalence partitioning' to decide what the domain of input and then give all of the values from all the classes to test exhaustively.
suppose its an amount field which can accept a 3 digit number.
then -999 to 999 are all possible values in which -999 to -1 it should error out and may accept 0 to 999 values
Firstly do the RCA at your end and categorise the defect as sometimes bugs are not reproducible in test environment due to less amount of data.
Once the RCA is done share the same with customer and share the steps taken to not to miss such defects in future if it was a simple and miss from test team side.
Since we accept customer appreciation so at times if some things are missed we should accept it in a positive way.
1) Check if the problem is consistent across some other category of products
2) Check if the problem is consistent across some products with different price range
These are some scenario to assure if problem is consistent throughout the site
1) check logs / traces if any for the function responsible for calculation. Maybe things are correct at back end and only while displaying its the problem.
using this if problem found, get it fix, unit test it, integration and followed by Regression
1) try to do this with some other song check if same thing is happening
2) try to reproduce the issue when all other applications are closed
3) Restart the system and try if its reproducing.
4) check if any recent applications you have installed recenlty if they have caused problem
5) Try some other music player and see if problem is there too
1) check if you are able to delete group chat messages
2) try to create maximum groups and duplicate groups as well(having same members)
3)Try to name two groups with the same name
4) Change group name multiple times simultaneously by different members
Are the scenarios mentioned above are testing scenarios?
Debugging should be done when there is a problem, I don't think theses are something done for debugging. Refer to wikipedia for debugging definition which says its a way of finding the problem and make the system better
Try to share the text you have just created and check if the link is working correctly
try to select a programming language and see if its highlighting the syntax correctly
Try to paste some unicode characters which are from different sets
Both true
p+q > 100 -->
(51+50) > 100
p>50
so p = 51 q = 50 will cover both the conditions
now try to fail both the condition
both false
p+q < 100 and p<50
for this you can take p =30 and q = 10.
1st false but second is true
p+q < 100 but p>50
p=51 q = 40
1st true and second false
p+q>100 and p<50
p = 49 and q=70
so this way various execution paths will be covered
1) if that step is independent and has no link with data used in 1000 steps then no problem
2) if it changes a variable or something in database which is not expected in the 502 steps or any other downstream it may fail
3) Even though the test cases may shown pass, but may be the data generated may not be the same.
1) check the connectivity to the target system host A
2) check if there is space available at hostB for receiving the 800 TB (or whatever left over data)
3) check if the file is in use by some other process.
chomp($string=<STDIN>);
$string =~ s/\s+//g; #g means anywhere = globally
print "\n string is $string \n";
These questions can be asked
--> Is it battery operated or electricity
--> whats the capacity of toaster,(at a time how many breads)
Perl code to reverse the string
use POSIX; # for using floor function
chomp($str= <STDIN>);
@string = split ('',$str); # splitter will come first
$len=@string; # length of array
print "Array Length = $len ";
$n=floor((@string)/2);
for($i = 0 ; $i < $n ; $i++) # necessary to use $ with all variable
{
$temp=$string[$i];
$string[$i]=$string[$len-$i-1];
$string[$len-$i-1]=$temp;
}
$string = join ('',@string);
print "reversed string is :- ".$string ."\n";
www udzial com
Udzial Means Share
Non Functional
--> Check on different screen size , to check if the dailog box is auto adjusting
--> Check on different OS
--> Release
--->Feature Name
--->Abstract of the problem
---> sev/prority
---> Detailed description
---> POT if any
--->assigned to
---> originator
---> component
--->Expected results
-->due date by which you are expecting fix
1) No micromanagement
2) Recognition of the work
3) Hike as per the performance and compared to market
4) Good Work culture , employee friendliness
1) try from various Desktop OS & mobile OS
2) Try to upload a video instead of pic
3) while uploading of photos disconnect internet, check if any of the pic got loaded
4) while pics are getting uploaded, check them from another tab,, if its effects profile etc
5) Logout from other tab
6) from other tab try to change the name of the album
7) delete the album from other tab
Balaji Ramamurthy gave very good answers
adding some points
1) what if there is a power failure in mobile or UPS
2) can it be played on different kind of mobile
3) is pausing on one mobile and resuming on another mobile is possible
4) req3 for PC can be possible or not
1) check when you are not logged in
2) if logged in it should change as per the things you have clicked on
3) switch gmail accounts,, advertisements should change
4) try in different browsers
5) try sites of various regions
6) click on various shopping sites and check if advertiesment are changing accordingly
1) able to launch
2) able to pause in case some call comes or sms etc
3) able to exit
4) all options on screen are working including score board
5) change the orientation of phone
6) Uninstall successful
7) check if its not running after exit(in backgorund jobs)
We can use a random function on the input string and store the values returned in a hash to avoid any duplicates.
regards
www udzial com
Udzial Means Share
whats the logic ?
how it will get all the combination with same sort funtion called everytime ?
why there are two things needed ,, i mean 'pattern' 'input'
1) wrong email id format
2) wrong user credentials
3) Try sql injection
4) Existing user name
5) leaving mandatory fields
6) validation of error messages shown
7) time out after how much time
BODMAS is basically to check the sequence of operations...
so create a complex expression and swap operators ,, add/remove brackets at various places,,,
1) check for some other sites if they are opening to make sure internet connection is fine.
2) There are some sites which let you know the status of sites if they are down or not, check yahoo.com dere to know the status
3) check proxy settings for the browser
4) try in another browser
5) check console mode for browser it may provide some info ,,
regards
www udzial com
if we change the code and put || first ,,, and if condition is true, system will not go to right hand side for further evaluation as it got true in first part
of 0 vote
int a=2,b=0,c=1,res;
res=a||b&&c; <--- here 2||0 will return true(1), so it will not evaluate && c part
value of res=1
float is correct <---
{
int main()
{
float fh;
cout << "Hello World" << endl;
switch(fh)
{
case 12:
cout<<" How are you ";
break;
}
return 0;
}
}
Error while compinling
main.cpp: In function 'int main()':
main.cpp:9:15: error: switch quantity not an integer <-----
switch(fh)
regards
udzial dot com
check the details of video
--> May be its flagged by people, is there any warning message at some corner etc.
--> Use different browsers
--> Open the console in the browser and try to check if there are any error messages.
Sev = 1
Pri = 1
As this is related to the major functionality of the phone, Person will not be able to contact the right person. So acting as a showstopper plus creating new problems as number is going to someone else.
Think of SMS, if you are sending to you frnd about yout gf and it actually reaches your gf :P :P
example
a library mangement system will have following use case - high level story
--> Borrow a book
--> Return a book
Requirement Specifications - detail level things
---> Books can be borrowed by a person having library card in timings 0900 to 1200
Generally this situation happens because Dev thinks from implementation perspective and tester's think from user perspective
-> Talk with facts instead of theories
-> Quote some practical examples
-> Make Everyone think from user's perspective
can you help in understanding how come D=1 , A=0 ... I mean you first paragraph
- Gaurav Khurana February 02, 2014-- Queue has provided so much data that file that is being created by processor has crossed file size limit( say a file greater than 4 GB),, Will it create new file for the same hour
- Gaurav Khurana February 01, 2014--> what if we are not providing water and running directly, an message should show and it should not proce
--> providing less amount of water than the required one,, warning message
-->
dont know how
But got it with google
1. As it's a sum of 3 numbers hence the maximum value of D could be 2 or 1, but then we look at S which could have maximum value 9 and if it gets a carry of 1 then the value of A will be 0 and the D=1.
2. Then we looks at E and I which results in R, as 9 is already occupied by S so E could be 8 and I could be 7 and R will be 5 with carry 1.
3. Then we place the values of R=5 and E=8 resulting in N=3 with carry 1.
4. In ten's digits - E=8 and and value of C could be 3,4,6 (As all others are occupied) and To make I=7 (previously assigned in step 2) E must be added by 9 which is already occupied by S. So this hit ends here.
Now start again with reduced value of E or I, repeat above steps until you get a correct answer or a dead end.
5. Repeating above steps one time comes with E=5 and I=7 which results in R=3 carry=1.
6. Placing R=3 and E=5 in unit digits and their sum gives 8.
7. in ten's digits place E=5 now you can add 2 to make I=7 hence C=2.
8. in 100's digits you have N=8 (from step 6) and only digits that are left now are 4 and
6 hence. So placing V=4 you will get W=2 which is not true because it is already assigned to C. So we are left with only V=6 as the ultimate choice and this leads the result in to W=4.
Hence this way we got the answer
....5 6 5 3
....E V E R
..9 7 8 2 5
+ S I N C E
----------------------
D A R W I N
1 0 3 4 7 8
Hence D+A+R+W+I+N = 1+0+3+4+7+8 =23
got it from maths4math dot com
attributes{roll_no_of_voter{PK}, candidate_id}
There should be only one primary key in vote tables i.e roll numer (or voter_id) of the voter so that one voter can have only one entry in the votes tables.
If we make both (voter_id & candidate_id ) together as primary key , then there will be multiple votes
voter1 candidate2
voter1 candidate1
so voter_id should be primary key.
Non-Functional :- How easy is the process of zipping and unzipping, it should not be a lengthy process
- Gaurav Khurana January 04, 2014The Problem here is not to get the content by using other software. So -1 for last two lines
- Gaurav Khurana January 04, 2014--Expected results
--Severity/Priority
1) Check in various browsers
2) Open multiple compose windows and logout abruptly, check if they are getting saved
3) check on different smart phones
4) Check with large attachments
5) Try with different attachments pdf,
gaurav K
udzial.blogspot.in
1) Take the smartphone at various places like (basement, on the roof, inside a room), to check the accuracy of location
2) Use the service when you are moving
3) You may try it at places like rivers, mountains to check if its working over there or not.
1) Device memory is full which is requesting update
2) Connection breaks when download is under progress
3) Switching between wifi & 3g has a time lag
Repmylakleinm, Quality Assurance Engineer at Coupon Dunia
Articulate and accomplished admin executive experience at keeping an office running smoothly. A communicator and collaborator who is efficient in ...
@Z
- Gaurav Khurana November 23, 2016Number of 'trailing' 0s are 6 and not 9.