prashanth chenna


{ City } pune
< Country > india
* Profession * test engineer
User No # 12324
Total Questions Posted # 0
Total Answers Posted # 5

Total Answers Posted for My Questions # 0
Total Views for My Questions # 0

Users Marked my Answers as Correct # 96
Users Marked my Answers as Wrong # 18
Questions / { prashanth chenna }
Questions Answers Category Views Company eMail




Answers / { prashanth chenna }

Question { TCS, 54305 }

What is Boundary Value Analysis(BVA) and Equivalence Class
Partition(ECP)?


Answer

Equivalence Class Partition (ECP): Means dividing the input
Domain into groups and name these groups as Valid and
Invalid. By Using these groups we can derive the Test Cases.

Boundary Value Analysis (BVA): Means finding the boudaries
for given particular value. By Using these boundaries there
is maximum possibilities of finding Bugs/Defects in an
Application.

Example: In an Application User ID takes 5 to 10 Alphabets.
It is the Customer required.

Solution:
User ID: 5-10 Alphabets

ECP:
Valid Invalid
A-Z 0-9
a-z Special Charecters
Blank Field

BVA:
Min = 5 Pass
Min-1 = 3 Fail
Min+1 = 6 Pass
Max = 10 Pass
Max-1 = 9 Pass
Max+1 = 11 Fail

Is This Answer Correct ?    74 Yes 10 No

Question { 3980 }

can we take 'dim my pen is good' as a paramerter


Answer

Hai Friend,
A Variable must be a SINGLE WORD.

Is This Answer Correct ?    1 Yes 0 No


Question { 25375 }

how to create user defined functions in QTP? can any one
expalin me with example..
Thanks in Advance for help


Answer

Creating User defined Functions:
Open QTP and Application --> type function header along
with Unique function name and arguments --> Record
repatable operations in application as function body -->
follow above navigation to create more then one functions --
> Save that functions in a file using 3rd party s/w with
Extension .vbs( Copy the script, genarated in QTP and paste
in Notepad, MS.Word etc.) --> now goto Resource menu in
QTP --> object Repository --> file menu --> Export Local
Objects --> Enter file name with Extension .tsr --> click
Save.

Calling User defined Functions:
In QTP --> type Useer defined function name along with
argument values --> file menu --> settings --> Resources
tab --> click + icon -->browse the path of the file -->
click apply --> click OK --> Resources menu in QTP -->
Associate Repositories --> Click + icon --> browse the path
of references file --> select current action --> click OK.


Example:( Creating User defined Function )
Public function login(x,y)
Dialog ("Login").winedit("User name").set x
Dialog ("Login").winedit("Password").setsecure
crypt.encrypt (y)
dialog ("Login").winbutton("OK").Click
End Function

( Calling User defined Function in a test )
login "prashanth","testing"

Is This Answer Correct ?    15 Yes 2 No

Question { AppLabs, 9772 }

Hi any body can tell me the synchranization point syntax
thanks
in advance


Answer

Hai Friend,
In some times tool will run faster than Application in
Execution time, it causes Error message in that situation
we have to mapthe time between Tool and Application. This
is Synchronization point. There are some different ways
1. Wait() [wait Function]
2. .Exist [either PopUp or some message]
3. When a Progress Bar enabled. [when a progress bar
compleated]

Is This Answer Correct ?    3 Yes 1 No

Question { 25603 }

How to Display last item of a Combobox by using QTP?


Answer

Hai Chandu,
In the above code, in 1st line how can u find item count by
using GetRoProprety("item count"),then where is the
combobox name, from which it can count?

Is This Answer Correct ?    3 Yes 5 No