nanda.d reddy


{ City } bangalore
< Country > india
* Profession *
User No # 6256
Total Questions Posted # 1
Total Answers Posted # 107

Total Answers Posted for My Questions # 5
Total Views for My Questions # 9073

Users Marked my Answers as Correct # 292
Users Marked my Answers as Wrong # 124
Answers / { nanda.d reddy }

Question { Ordain Solutions, 11590 }

WHAT IS ENVIRONMENT VARIABLES?


Answer

Sreeprasad is little right but not completely in my way...

he is right up to his answer..

he didnt say main use..

Environment variables are mainly used to know information of
run after completion of execution...and to pass the
variables from system configuration..

for examples...

If we are doing parameterization and after completion of
execution we want to know how many iterations were executed
and in each iteration what are the values were taken..we can
see them with out going results window and by writing
notepad file and using built in environment variables.

for this we create a folder for each test and we create text
file for each action..we will write these information in
notepad files.

For more information about this mail me@
nanda.dreddy@gamil.com

Is This Answer Correct ?    3 Yes 0 No

Question { 12239 }

what is descriptive.create()in qtp?


Answer

This is used when we are working with descriptive programming.
that is not descriptive..

description.create...

it is used to create an object through scripting.

for example..

set objtext = description.create
objtext("nativeclass").value = Edit
objtext("attachedtext").value = "XXXXX"

now objtext is an edit box with name XXXXX

browser("dsagd").page("dsada").webedit(objtext).set "dsahdas"

If any queries....
nanda.dreddy@gmail.com

Is This Answer Correct ?    4 Yes 0 No


Question { 6302 }

What does VBS file contain..? what is VBS file.?


Answer

both are given correct answer. vbs stands for VB Script

Is This Answer Correct ?    1 Yes 1 No

Question { 6734 }

how can we retrieve ten rows from the data table using

loop concept?


Answer

Hi Sreeprasad..this will take 10 rows..but the loop will
execute no.of times that how many rows in datatable.

If u r using 9.0 or above version..

set app = createobject("quicktest.application")
set qtest = app.test

qtest.settings.run.startiteration = 10
qtest.settings.run.enditeration = 20

this script will execute only 10 rows starts from 10 th row
and ends with 20 th row.

If any queries..

nanda.dreddy@gmail.com

Is This Answer Correct ?    0 Yes 1 No

Question { UHG, 52796 }

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


Answer

Sekhar..send a blank mail to nanda.dreddy@gmail.com..i will
send to some gud material..ok

Is This Answer Correct ?    16 Yes 14 No

Question { 9623 }

Ehat is the descriptive programing in QTP?


Answer

the Two above answers are correct...

there is simple technique to write descriptive
programming..to write DP we use Object Identification dialog
box and Object spy dialog box.

Object Identification dialog boxes uses to know which
properties can identify an object uniquely and Object spy
uses to know values of this property..this technique is
suggested when the application is ready only. If application
is not ready we can write only visible properties, like
text, attachedtext, class.

we can write DP in two ways..by throwing the properties
and their values directly in to script (or) by creating an
object by using description.create method.

for example:

set objtext = description.create
objtext("nativeclass").value = "Edit"
objtext("attachedtext").value = "XXXXX"

this will create a text box object.

browser("sadgd").page("sahdga").webedit(objtext).set "asgfsad"

second method is:


browser("sadgd").page("sahdga").webedit("nativeclass:=Edit","attachedtext:=XXXX").set
"asgfsad"

If any queries..
nanda.dreddy@gmail.com

Is This Answer Correct ?    0 Yes 1 No

Question { 20320 }

During test run,How will you copy/paste from/to clipboard?


Answer

use the shell scripting sendkeys method:

set oShell = CreateObject("wscript.shell")

oShell.Sendkeys "^A" (Pressing the Ctrl+A keys)

oShell.sendkeys "^C" (Pressing the Ctrl+C keys)
OShell.sendkays "^V" (Pressing the Ctrl+V keys)

Is This Answer Correct ?    4 Yes 6 No

Question { Logica CMG, 18690 }

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

Guys...if u r using 9.2 or Above...

repositoriescollection.Add <"Repositoy path\rep.tsr">

check this. it will load specified Object Repository
during run time.

If any queries...

nanda.dreddy@gmail.com

Is This Answer Correct ?    3 Yes 0 No

Question { Kanbay, 13590 }

How can we count the no of rows are available in a data
table ?


Answer

Mohibul is exactly correct...

Is This Answer Correct ?    2 Yes 2 No

Question { Ordain Solutions, 10609 }

difference between recording methods and recording modes in QTP


Answer

I didnt get about recording methods...is it there in QTP?

there are recording modes and running modes...not methods.

Is This Answer Correct ?    0 Yes 2 No

Question { Four soft, 6878 }

Hi, OUR PROJECT NAME IS: HOSPITAL CONTROL SYSTEM. IS IT
COMES UNDER WHICH DOMAIN(HEALTH CARE OR HEALTH INSURANCE)


Answer

it comes in Health care domain..

pls let me know an i correct or wrong.

Is This Answer Correct ?    4 Yes 0 No

Question { 13395 }

What is OUTPUT VALUE ? PLZ Explain With Example?


Answer

what is the output value is..it capture the runtime values
and displyed in data table for future use.

for example u parameterized ur test for login window by
giving multiple values. and u want to see what are the
values the userid field taken.

u can give the output value for userid field. it will
capture the values at runtime and displayed and stored them
in data table.

i think u got my answer..if there is any feed back..pls mail
me at nanda.dreddy@gmail.com

Is This Answer Correct ?    1 Yes 1 No

Question { 7912 }

hello everyone,

can anybody please tell me what are the different recording
modes of QTP, and where these recording modes are present
in QTP 9.2.

Thanks in advance,
Gaytri


Answer

There three modes of recording available in QTP.

1) Normal
2) Analog
3) Low-Level recording.


1-- Normal recording modes record what ever u were preformed
on ur application.

2-- Analog recording mode records ur performed on
application with respect to mouse movements(x-cordinates and
y- coordinates)

i think u got my answer.

if not..let me know pls..

sudhanandareddy@gmail.com

Is This Answer Correct ?    0 Yes 0 No

Question { 7912 }

hello everyone,

can anybody please tell me what are the different recording
modes of QTP, and where these recording modes are present
in QTP 9.2.

Thanks in advance,
Gaytri


Answer

by pressing F2 key..it will start Normal recoding mode..or
go to test Record button will be there.

it will start Normal record..if u want to change the mode at
the time of recording..go to test select analog record..or
press ctrl+F3. it will start analog mode.

the default mode is Normal recording.

if any feed back on my answer..pls mail me..

sudhanandareddy@gmail.com or nanda.dreddy@gmail.com

Is This Answer Correct ?    0 Yes 0 No

Question { 7912 }

hello everyone,

can anybody please tell me what are the different recording
modes of QTP, and where these recording modes are present
in QTP 9.2.

Thanks in advance,
Gaytri


Answer

u r welcome..pls post more questions .....

Is This Answer Correct ?    0 Yes 0 No

Prev    1    [2]   3   4   5   6   7   8    Next