Saturday, 13 February 2016

Basic Programs of core java

1) package java1;

public class firstjavaclass {

    public static void main(String[] args) {
  System.out.println("1st print");
int x=10; int y=20;

    }

}

O/P : 1st print

2) Concatination_Operator

public class Concatination_Operator {

    public static void main(String[] args) {
        String x = "Hello";
        String y = "3D";
        int a=100; int b=200; 
        System.out.println (x+y);
        System.out.println (x+y+a+b);
        System.out.println (a+b+x+y);
        System.out.println (x+y+(a+b));
    }

}

O/P : Hello3D
         Hello3D100200
         300Hello3D
         Hello3D300 

Sunday, 11 May 2014

First Generation Computer


Hope this article helped you! Please feel free to comment!
Follow us on way4testing.blogspot.in

Saturday, 1 February 2014



HOW TO MAKE SYMBOLS WITH KEYBOARD
 Most Interesting facts:
 Alt + 0153..... ™... trademark symbol
 Alt + 0169.... ©.... copyright symbol
 Alt + 0174..... ®....registered trademark symbol
 Alt + 0176 ...°......degre­e symbol
 Alt + 0177 ...±....plus-or­-minus sign
 Alt + 0182 ...¶.....paragraph mark
 Alt + 0190 ...¾....fractio­n, three-fourths
 Alt + 0215 ....×.....multi­plication sign
 Alt + 0162...¢....the cent sign
 Alt + 0161.....¡..... .upside down exclamation point
 Alt + 0191.....¿..... ­upside down question mark
 Alt + 1...........smiley face
 Alt + 2 ......?.....bla­ck smiley face
 Alt + 15.....¤.....su­n
 Alt + 12......?.....f emale sign
 Alt + 11.....?......m­ale sign
 Alt + 6.......?.....s­pade
 Alt + 5.......?...... ­Club
 Alt + 3............. ­Heart
 Alt + 4.......?...... ­Diamond
 Alt + 13......?.....e­ighth note
 Alt + 14......?...... ­beamed eighth note
 Alt + 8721.... ?.... N-ary summation (auto sum)
 Alt + 251.....v.....s­quare root check mark
 Alt + 8236.....8..... ­infinity
 Alt + 24.......?..... ­up arrow
 Alt + 25......?...... ­down arrow
 Alt + 26.....?.....ri­ght arrow
 Alt + 27......?.....l­eft arrow
 Alt + 18.....?......u­p/down arrow
 Alt + 29......?... left right arrow 
Hope this article helped you! Please feel free to comment!
Follow us on way4testing.blogspot.in

Saturday, 9 November 2013

QTP Functions - Conversion Functions


                     Conversion Functions
FunctionDescription
AscConverts the first letter in a string to ANSI code
CBoolConverts an expression to a variant of subtype Boolean
CByteConverts an expression to a variant of subtype Byte
CCurConverts an expression to a variant of subtype Currency
CDateConverts a valid date and time expression to the variant of subtype Date
CDblConverts an expression to a variant of subtype Double
ChrConverts the specified ANSI code to a character
CIntConverts an expression to a variant of subtype Integer
CLngConverts an expression to a variant of subtype Long
CSngConverts an expression to a variant of subtype Single
CStrConverts an expression to a variant of subtype String
HexReturns the hexadecimal value of a specified number
OctReturns the octal value of a specified number
Hope this article helped you! Please feel free to comment!
Follow us on way4testing.blogspot.in

QTP Functions - Date/Time


Date/Time Functions
FunctionDescription
CDateConverts a valid date and time expression to the variant of subtype Date
DateReturns the current system date
DateAddReturns a date to which a specified time interval has been added
DateDiffReturns the number of intervals between two dates
DatePartReturns the specified part of a given date
DateSerialReturns the date for a specified year, month, and day
DateValueReturns a date
DayReturns a number that represents the day of the month (between 1 and 31, inclusive)
FormatDateTimeReturns an expression formatted as a date or time
HourReturns a number that represents the hour of the day (between 0 and 23, inclusive)
IsDateReturns a Boolean value that indicates if the evaluated expression can be converted to a date
MinuteReturns a number that represents the minute of the hour (between 0 and 59, inclusive)
MonthReturns a number that represents the month of the year (between 1 and 12, inclusive)
MonthNameReturns the name of a specified month
NowReturns the current system date and time
SecondReturns a number that represents the second of the minute (between 0 and 59, inclusive)
TimeReturns the current system time
TimerReturns the number of seconds since 12:00 AM
TimeSerialReturns the time for a specific hour, minute, and second
TimeValueReturns a time
WeekdayReturns a number that represents the day of the week (between 1 and 7, inclusive)
WeekdayNameReturns the weekday name of a specified day of the week
YearReturns a number that represents the year
Hope this article helped you! Please feel free to comment!
Follow us on way4testing.blogspot.in

Sunday, 29 September 2013

Test Case Template

TEST CASE DOCUMENT
<Test Case ID>-<Test Case Name>

<PRODUCT NAME AND VERSION/RELEASE>
1
1.1
Document Control
Change History
  • Name
  • Designation
  • Date
  • Document
  • Version
  • Description of Change Including Section of Script


1.2
Review and Approval History
  • Reviewer Name
  • Designation
  • Document
  • Review Status(Approved/NotApproved)
  • Date Reviewed
  • Comments Incorporated(Yes/No)


1.3
Document References

  • Name
  • Type of Reference
  • Document Location