kishore


{ City } hyderabad
< Country > india
* Profession * qa engineer
User No # 31457
Total Questions Posted # 0
Total Answers Posted # 17

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

Users Marked my Answers as Correct # 34
Users Marked my Answers as Wrong # 39
Questions / { kishore }
Questions Answers Category Views Company eMail




Answers / { kishore }

Question { AppLabs, 24487 }

what is the difference between Test case and Test scenario?
is it necessary to prepare scenarios before writing test
cases?explain in detail.


Answer

Test scearios is a high level test case..
Where as testcase describes step by step process how we
validate application functionality

Is This Answer Correct ?    4 Yes 0 No

Question { CTS, 6666 }

OR is full with objects but i want to add 5 more
objects,but i tried merging files,shared mode and
descriptive ,iwont work.is there any alternative for that


Answer

We can use DP

But I think we can also do it

Export the OR to a specific location and call the OR
whenever required to the script

Is This Answer Correct ?    1 Yes 0 No


Question { 4882 }

If a script has a local repository and also uses a shared
repository, which repository will QTP use first when
searching for an object during playback?


Answer

QTp first uses Local reposiyory then goes for Shared
repository

Is This Answer Correct ?    2 Yes 0 No

Question { Microsoft, 21781 }

how can you select random value for every iteration from a
weblist


Answer

Get the count of elements in the weblist


for i = 0 to count-1

result = randomnumber(i,count-1)


browser("xyz").page("xyz").weblist(" ") .select result

next

Is This Answer Correct ?    1 Yes 5 No

Question { ADP, 9610 }

one ok button and one text box is there.when i click on ok
button in that text box one no. will display from 1 to 100
randomley.if that is not 100 when we click on ok button
again ,again another text box ll created with another no.
we will continue this till the text box created and
displays 100.and when its 100 ok button should disabled.
remember thet no will display not seriely ,it displays
randomley,and each time new text box will created.


Answer

for i = 1 to 100
Dialog("xyz").winbutton("ok").click
a = dialog("xyz").winedit("name").getvisibletext(" ")
if a<>100 then
steps
else
exitrun
dialog("Login").WinButton("OK").CheckProperty(OK , disabled)

next

Is This Answer Correct ?    0 Yes 3 No

Question { Oracle, 17831 }

you written some code in qtp for opening google.com browser
and entered some text inthe search text box and clicked
search button. this is ur script..

before running this script i have already opened two
google.com browsers.
now am running the script what will happen?
script will run or what??

Thanks...
Nani


Answer

Google Browser does get opened and the script execution
stops there

Is This Answer Correct ?    1 Yes 3 No

Question { EDS, 6384 }

)In which way we can say html recording mode is best over
the URL mode to record the script in Vu gen?


Answer

IN HTML recording mode the execution will be fast..as all
the server responses will not be captured in the script.
In URL all the server responses will be captured in the
script and hence the execution will be slow

Is This Answer Correct ?    2 Yes 5 No

Question { Wipro, 9985 }

how can u capture the database counters?


Answer

Using SQL profiler if u r using SQL server as a database

Is This Answer Correct ?    3 Yes 0 No

Question { Virtusa, 13389 }

Suppose there are 100 links in a web page and the number of
links will be changing dynamically from time to time. I
need code such that every time i had to click on the last
link of the web page.


Answer

set odesc = decription.create

odesc("micclass").value = "Link"

set n = browser("xxx").page("xxx").childobjects(odesc)

objcount = n.count

browser("xxxx").page("xxxx").link("index:="&objcount).click

Is This Answer Correct ?    5 Yes 6 No

Question { 5666 }

If you are using descriptive programming and you have two
objects with the same name, so you are identiying them by
name and index, how can you avoid errors if a third object
with the same name is added at the begining of the page?


Answer

sameena is absolutely correct

Is This Answer Correct ?    0 Yes 0 No

Question { 2963 }

can any one tell me how to select some text.i need the
script for that


Answer

I think we have to use TEstx checkpoint for this

Is This Answer Correct ?    0 Yes 0 No

Question { 10572 }

Hi, I want to retrieve the cell data in the WebTable.
For that I have defined a new test object under the browser
and have given html tag and text as the test object
properties. But while I try to identify it it says 'Object
description is not unique'. I tried adding innerhtml,
outerhtml, innertext and outertext along with the ordinal
identifiers; but no use. What more properties need to be
added to identify it?
Also I want to enable smart identification for this object
but the field is disabled in the object repository for this
object alone(In QTP tools->object identification the enable
smart identification checkbox is enabled). How do I enable
it?


Answer

Now the cell data whih u r tryi ing to retreive is it
Link,Webelement,
Now if its a webelement go for the property inner text

but i think u tried this

browser("xxx").page("xxxx").webtable("xyz"),Childitem
(row,column,"Micclass",0).getroproperty("innertext")

Is This Answer Correct ?    2 Yes 4 No

Question { 2931 }

Hi,
My application is a web application which was developed by
Java. In that application we have applets to do some
operations. Is it possible to recognize applets using QTP?
If yes, how?
pls, help me this


Answer

U need to have a Java addin to recognize Applets

Is This Answer Correct ?    1 Yes 0 No

Question { 5624 }

how to make connection to a remote mysql database in qtp
any one can please provid eme deatail steps.


Answer

Set con = createobject("ADODB.connection")
Set rs = createobject"ADODB.Recordset")
Set com = createobject("ADODB.command")
con.open( "Driver=SQL SERVER;Server=server name (Where
DB is located);Database=DB name;Uid=uname;Pwd=pwd;" )
vf_com.Activeconnection = vf_con

Is This Answer Correct ?    1 Yes 5 No

Question { Verizon, 10887 }

What is action required by QTP if a popup message is coming
in exsisting script and now it is not coming.
The script is having code to deal with popup message now
when we run the script now the popup i snot coming
according to new build, instead of changing the code what
we can do?


Answer

We can use Recovery scenarios to handle the POP UP

OR write the code to handle the pop up un IF condition.

Is This Answer Correct ?    1 Yes 3 No

 [1]   2    Next