c.chaitanyakumar


{ City } hyderabad
< Country > india
* Profession * monitoring
User No # 2489
Total Questions Posted # 0
Total Answers Posted # 6

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 / { c.chaitanyakumar }
Questions Answers Category Views Company eMail




Answers / { c.chaitanyakumar }

Question { Tarang, 11952 }

what is severity and priority?


Answer

Seviarity = it relative to impact of the defect.(Immediate
stop, High,medium , Low)

Priority = It relative to importance of defect with
respective to the Customer.(High,Medium , Low)

Is This Answer Correct ?    3 Yes 0 No

Question { UHG, 52815 }

how u write vb script in qtp pls give me some basic script
and some material


Answer

for example login window taken, the following script is
performed

Dialog("Login").Activate
Dialog("Login").WinEdit("username").Set "chaitu"
Dialog("Login").WinEdit("Pasword").SetSecure"mercury"
Dialog("Login").WinButton("OK").Click

Is This Answer Correct ?    77 Yes 16 No


Question { Datamatics, 8352 }

where the object repository is located?how to choose the
object repository as shared or action object repositories?


Answer

Object Repositary is located at toolsmenu---->Object
Reportory, it is stord behalf the tool. object Repositaries
are two types

`1.Shared Object Reporsitary
2.Per-Action Object Repositary

Shared is used for store the object for entire Application,
maans. its create only one object Repositary for entire
application.
Per-Action is created individual Object Repositaries for
each action in Test.

if you want to change the object repositary (per-action to
shared or shared to peraction) at the time of creating new
Test only.
Navigation: Test menu--->Settings--->ResourceTab---> Object
Repositary(here we can change the per-action to shared
object repositary vice-varsa)

Note:
We can't change object Repositaries of exist tests from per-
action to shared Object Repositary vice-varsa

Note:
we can call the actions at that time calling and called
action having same object repositaries. otherwise it does
not support.

Is This Answer Correct ?    1 Yes 0 No

Question { Datamatics, 13767 }

wt is the difference between global and action excel
database in qtp?for example one action is calling another
action the second action is using action excell sheet?if it
is using global sheet what makes the difference?


Answer

In QTP Datatable having Two types of Excel Sheets that are

1. Global Sheet
2.Action Sheet

Global Sheet is used for Global use, that means what you
entered in global sheet that should be used in any action
in the Test for example: test1 having 4action. at that
time you want to parameterize the some object in all
actions with same Test Data. at this times used global sheet

Action Sheet is used for local use, that means if you want
to parameterize the actions individually with independent
test data in test, at that time we are use Action Sheet

Is This Answer Correct ?    14 Yes 1 No

Question { Datamatics, 9662 }

which command u will use to access the application through
descriptive programing?


Answer

In Descriptie Programming we use InvokeApplication

InvokeApplication "path" in QTP

Or
SystemUtility Comaand in QTP

Is This Answer Correct ?    1 Yes 1 No

Question { Ziynx, 4011 }

str="ramanareddy12345@gmail.com"to count alphabets,numarics and special charcters pls any one knows send to answer


Answer

'Special Characters
PatternSpecialChar = "[^a-z,A-Z,0-9]"
Set objRegExp = New RegExp
objRegExp.Global = True
objRegExp.IgnoreCase = False
objRegExp.Pattern = PatternSpecialChar
Set Matches = objRegExp.Execute("ramanaReddy@123456")

for each match in Matches
a = match.value
b =b & a
Next
msgbox b
' Only Alphabetics
PatternAlphaChar = "[a-z,A-Z]"

Set objRegExp = New RegExp
objRegExp.Global = True
objRegExp.IgnoreCase = False
objRegExp.Pattern = PatternAlphaChar
Set Matches = objRegExp.Execute("ramanaReddy@123456")

for each match in Matches
a = match.value
b =b & a
Next
msgbox b

' only Numberics
PatternNumberics = "[0-9]"

Set objRegExp = New RegExp
objRegExp.Global = True
objRegExp.IgnoreCase = False
objRegExp.Pattern = PatternNumberics
Set Matches = objRegExp.Execute("ramanaReddy@123456")

for each match in Matches
a = match.value
b =b & a
Next
msgbox b

Is This Answer Correct ?    0 Yes 0 No