ravi kumar


{ City }
< Country > india
* Profession *
User No # 9088
Total Questions Posted # 1
Total Answers Posted # 17

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

Users Marked my Answers as Correct # 77
Users Marked my Answers as Wrong # 12
Questions / { ravi kumar }
Questions Answers Category Views Company eMail

Pls give examples for 1. High severity and high priority. 2. High severity and low priority. 3. Low severity and high priority. 4. Low severity and low priority

TCS,

5 Manual Testing 41332




Answers / { ravi kumar }

Question { Accenture, 16483 }

What are the test methodologies??


Answer

In my view, a test methodology is a test approach which is
followed by a test engineer while performing testing.

Is This Answer Correct ?    0 Yes 2 No

Question { 5947 }

What r the advantages of automation?


Answer

Benefits of Automated Testing
-----------------------------

Fast: QuickTest runs tests significantly faster than human
users.

Reliable: Tests perform precisely the same operations each
time they are run, thereby eliminating human error.

Repeatable: You can test how the Web site or application
reacts after repeated execution of the same operations.

Programmable: You can program sophisticated tests that
bring out hidden information.

Comprehensive: You can build a suite of tests that covers
every feature in your Web site or application.

Reusable: You can reuse tests on different versions of a
Web site or application, even if the user interface changes.

Is This Answer Correct ?    1 Yes 0 No


Question { Thatavarti Technologies, 24092 }

How to retrive data from a data table which is in 3rd
row,4th column and place it in main script..like retrive
name,date from data table..write script for this.


Answer

Hi,

Try this

Datatable.SetCurrentRow 3
val = Datatable.Value(4)

Is This Answer Correct ?    1 Yes 2 No

Question { 11126 }

what is the framework followed by ur company in qtp


Answer

Hi !

I dont know what framework we are following in our
company. What we do is: We copy similar files in one
particular folder. For ex: We store object repository
files in one folder, data files in another folder, script
files in another folder. This will help us in locating
particular file easily. We write reusable actions and call
them where ever required in the test.

What type of framework it is ?

Is This Answer Correct ?    1 Yes 1 No

Question { 7010 }

I am using Shared OR, and my collegues are also using
Shared OR. How to merge Object Repositories?


Answer

Hi,

Try this.

QTP > Resources > Object Repository Manager. In Tools, you
will find Object Repository Merge tool.

Is This Answer Correct ?    1 Yes 0 No

Question { 8021 }

describe some problem that u had with automation testing
tool?


Answer

We generally face problems with Object Identification. QTP
sometimes could not recognize already identified object.

Is This Answer Correct ?    3 Yes 0 No

Question { 9365 }

How do you perform regression testing of software?


Answer

Regression testing is done to check two important aspects.

1. Whether a previously posted bug is fixed in the new
build or not.
2. Whether fixing of bug caused any problems elsewhere in
the build.

Pls correct if I am wrong.


Ravi Kumar

Is This Answer Correct ?    5 Yes 0 No

Question { 12058 }

when i was doing the Flight reservation with QTP
calculating the tickets i got Type mismatch: '[string: ""]'
in "If cdbl(tot)=cdbl(p)*t Then" error. where I am doing the
mistake
Could you please tell me.


Answer

Try this

if cdbl(tot) = cdbl(p) * cint(t) then

Is This Answer Correct ?    0 Yes 1 No

Question { 4431 }

How to connect to data base?


Answer

QTP supports interaction with Database using ADODB.

Set con = createobject("ADODB.Connection")
Set rs = createobject("ADODB.Recordset")

'Create DSN(DataSourceName) for your database and specify
the DSN here
'You can also establish connection using Provider name

con.open "DSN=MyDsn;UID=ravi;PWD=sample123"

con.execute "Insert into emp values(2500, 'Ravi')"

'Retrieve data from database
rs.open "select * from emp", con
while not rs.eof
msgbox "ID = " & rs(0) & " Name = " & rs(1)
rs.movenext
wend

Is This Answer Correct ?    1 Yes 0 No

Question { 3814 }

How we can add actions in the test using QTP?


Answer

In QTP 9.2 & 9.5

Goto Insert -> Call to new action.

This will add new action to the test.

Is This Answer Correct ?    2 Yes 1 No

Question { 8838 }

Explain synchronization types in QTP


Answer

If the test engineer does not want to perform a step until
the object reaches a particular status, then the test
engineer can use the synchronization concept.

There are three ways in which synchronization can be
specified.
1. Wait function.
Ex: Wait(2000) - QTP will wait for 2000 msec

2. WaitProperty.
Ex: Window("Windowname").WinObject
("Objectname").waitproperty("enabled", true, 2000)
Here QTP will wait a maximum of 2000 msec. If the enabled
property becomes true before 2000 msec, then QTP will move
to the next step.

3. Increasing Timeout.
Goto Test Settings -> Run ->ObjectSynchronizationTimeout.
Specify the time you want the QTP to wait for.

Is This Answer Correct ?    10 Yes 1 No

Question { 5294 }

How to call script1 into script2?


Answer

1. Make script1 a Resuable action and save the test.
2. Call script1 in script2 using Call to Copy of Action or
Call to Existing Action

Is This Answer Correct ?    3 Yes 0 No

Question { 23154 }


What are the QTP advantages and disadvantages?


Answer

QTP is a Functional and Regression testing tool. Using QTP
we can perform regression testing faster when compared to
manual testing. QTP is fast, reliable, repeatable,
reusable, and programmable.

However, QTP needs Add-ins to recognise the objects in
which they are built. For example, if an application is
built in Java, we need to add Java add-in in order to help
QTP recognise the objects in the application. If you want
to test an application that is build in a technology not
supported by QTP, we cannot perform testing effectively.

Is This Answer Correct ?    12 Yes 3 No

Question { iGate, 18098 }

How can i count "spaces" in any sentence or a string
if suppose " It is a Testing question"
Here we have 4 gaps(spaces)
Is there any function to find out spaces between words


Answer

arrResult= split("It is a Testing question", " ")
msgbox "No. of Spaces " & ubound(arrResult)

Is This Answer Correct ?    18 Yes 1 No

Question { 5707 }

There is a name "AJAY" how do u count no.of. "A" in that
name ?


Answer

res=split("AJAY","A")
msgbox "No. of A's " & ubound(res)

Is This Answer Correct ?    9 Yes 0 No

 [1]   2    Next