kalyan


{ City } hyderabad
< Country > india
* Profession * qtp tester
User No # 32187
Total Questions Posted # 0
Total Answers Posted # 30

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

Users Marked my Answers as Correct # 97
Users Marked my Answers as Wrong # 32
Questions / { kalyan }
Questions Answers Category Views Company eMail




Answers / { kalyan }

Question { 11884 }

How many type of status messages are there ..explain?


Answer

0-micpass
1-micfail
2-micdone
3-micwarning.

we can use 0 instead of micpass.

Is This Answer Correct ?    1 Yes 1 No

Question { Lehman Brothers, 40112 }

What do you do if QTP doesn't recognize object ,what action
should be taken


Answer

Uday Kumar.A answer is correct. I am very sure about it.

Is This Answer Correct ?    7 Yes 1 No


Question { AppLabs, 15681 }

what is the Exact Meaning of Environment Variables?


Answer

EV are related to un & Pwd & URL of the application under
test.We can write this in the notepad and save in EV folder
with .ini extension in the Frame Work.(NOTE:-we have to
use[]to write EV)

When Ever Required using below code we can load this in the
script.
-----------CODE--------
environment.loadfromfile "path.ini"

Any doubts---------mail to-----mskalyan.smile@gmail.com

Is This Answer Correct ?    2 Yes 1 No

Question { 14886 }

How to load a object repository(using VBScript) ... very
urgent....


Answer

using

RepositoriesCollection.Add "The Path of the
Repositoryfile.tsr"

if u want to remove RepositoriesCollection.remove

if u want to remove all repositories-
RepositoriesCollection.removeall

any doubts mail 2 mskalyan.smile@gmail.com

Is This Answer Correct ?    2 Yes 0 No

Question { 9505 }

what is the Command used to start the QTp from Run.


Answer

Right Click on QTP Icon present in the desk top & click on Properties & copy the file path in the target Field. Paste it in the run... any doubts catch me on..... mskalyan.smile@gmail.com

Is This Answer Correct ?    1 Yes 1 No

Question { 8632 }

Hi,How to write regular expression for inbox(10) {here 10
is changing while playback}.tell me the pettern.


Answer

Above all answers are correct But if we use DP no need to
depend on the Reg Exp. We can mention the unique property
of inbox (Link). Or we can use Index to identify the Link.

Any doubts mail me at

mskalyan.smile@gmail.com

Is This Answer Correct ?    1 Yes 0 No

Question { 8640 }

Hello Everybody,

Please tell me the concept of recovery management in QTP by
giving any practical example of it.

Thanks,
Gaytri


Answer

Nath is right.

I will give some use ful tips.

First of all we have to find where can we get pop messages
etc---

Then we will use exist and click methods along with if
condition.

If object heirarchy .exist then

oh.click

we can use onerror resume next statement on top of the script.

Is This Answer Correct ?    2 Yes 0 No

Question { Logica CMG, 18687 }

for a test in QTP i had choose the object repository as
shared.after completion of some days i want to conduct the
same test again,now the question is HOW TO LOAD THE OBJECT
REPOSITORY. is it possible by descriptive programming.could
any one tell me how many ways we load it and what is the
process?


Answer

we can use repositoriescollection.add "pathof the rep.tsr"

I am sure it will work.

Any doubts mail to-----------------

mskalyan.smile@gmail.com

Is This Answer Correct ?    1 Yes 0 No

Question { Kanbay, 23392 }

What is InStr()


Answer

Here I am Providing the right answer. If U want to find the
first occurance of substring with in string then u can use
the instr function.

any doubts mail to

mskalyan.smile@gmail.com

Is This Answer Correct ?    5 Yes 4 No

Question { Wipro, 23357 }

Wher to use DATA TABLE METHODS in Qtp?What is the use of it?


Answer

Nani you are right. If u explain these methods with
examples it wil very use ful 4 beginenrs.

Thanks & Regards,
Kalyan

Is This Answer Correct ?    7 Yes 0 No

Question { CTS, 8564 }

wht is Driver in Integration testing. Anubody can answers it


Answer

While intigrating the modules in bottom/top approach if any
mandatory module is not ready then they will be intigrate
with temp program. This program is known as driver.

While intigrating the modules in top/down approach if any
mandatory module is not ready then they will be intigrate
with temp program. This program is known as stub.

Is This Answer Correct ?    2 Yes 0 No

Question { Ordain Solutions, 10669 }

pls tell me how will you write the vb script in QTP for
DataDriven test from Excel sheet for multiple userid and
password explain with example


Answer

Random Number Parameter Concept is there.

I wil give script later.

Any doubts call 9 66 66 757 66

Is This Answer Correct ?    0 Yes 1 No

Question { Ordain Solutions, 11931 }

how to write scripts in QTP?


Answer

HI This is Chakravarthy.

If u know "C" language it is very easy to write VB Script.

and u have to know how can we use Scripting in QTP.

for ex. we wil use if conditions,nested if,for loops,while
loop,variable diclarations,functions,......etc in QTP.

all this topics come under "C" Language.

If u have any Queries contact me at

mskalyan.smile@gmail.com

Is This Answer Correct ?    1 Yes 2 No

Question { 18058 }

How to get Links count in an web application,without
descriptive programming?


Answer

'Hi, we can use "innertext" as a unique property of link.
'Name may be changes in the runtime. And we can use the
index number to identify the link in the execution.
(NOTE:-We dont use index to retrive the child objects.why
because each child object have different index number.)

TRY THIS CODE:--------THIS WIL WORK FINE.

set olink=description.create()
oDesc("micclass").Value = "Link"
set chobj=browser().page().childobjects(olink)
n=chobj.count

msgbox n

for i=0 to n-1
val1=chobj(i).getroproperty("innertext")
msgbox val1
Next


Any doubts----mail to------ mskalyan.smile@gmail.com

Is This Answer Correct ?    1 Yes 1 No

Question { Wipro, 9348 }

How to Test Dynamic links ?


Answer

dynamic links can be click with the index number.

I am Sure it wil work

any doubts catch me at

mskalyan.smile@gmail.com

Is This Answer Correct ?    4 Yes 0 No

 [1]   2    Next