Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

mahendranath


{ City } hyderabad
< Country > india
* Profession * software engineer
User No # 47945
Total Questions Posted # 0
Total Answers Posted # 24

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

Users Marked my Answers as Correct # 78
Users Marked my Answers as Wrong # 26
Questions / { mahendranath }
Questions Answers Category Views Company eMail






Answers / { mahendranath }

Question { 24115 }

How many ways we can parameterize data in QTP ?


Answer

We can Parametrize in four ways:
1.DataTable
2.Environment Variable
3.RandomNumber
4.ACtion or Test parameters

We can findout first 3 ways through navigation ;
tools--Datadriver--click on parameter button--click on next--click on parameter option icon---Parameter type dropdown we can find out three ways..

Note: before navigation we should have script statements which we want to parameter.

Is This Answer Correct ?    3 Yes 1 No

Question { Millennium, 9370 }

What is the difference between QA and QC?


Answer

QA is checking the process.which means checking the process of each and every role in the organization inorder to check whether they are working according to companies guidelines or not.
QC is checking the product.which means process of checking the developed application whether it is developed according to the requirements or not.

Thanks & Regards,
mahi.kotike@gmail.com

Is This Answer Correct ?    0 Yes 0 No


Question { HP, 11823 }

When we will do Retesting? Only after Bug fixation?Is there
any other case?


Answer

In re-testing one will perform testing on same functionality again and again with multiple sets of values.
Re-testing will do not only after bug fixation.It starts from first build and continue up to last build.

Thanks & regards
mahi.kotike@gmail.com

Is This Answer Correct ?    6 Yes 1 No

Question { L&T, 4867 }

1)what is the quality process in QTP?
2)how to add the .tsr file in qtp through scripting?


Answer

Process in QTP:
Generating and Enchancing the script
Debugging the script
Executing the script
Analyzing the script
Reporting

2. We can do it in two way using scripting
a)Using RepositoriesCollection.Add "Path of the .tsr file"
b)using AOM
set qtapp=CreateObject("QuickTest.APPlicaiton")
set qttest=qtapp.Test.Action[Action Name]
set or=qttest.ObjectRepositories
or.add "path of the .tsr file"
set qttest=Nothing
set qtapp=Nothing

regards,
mahi.kotike@gmail.com

Is This Answer Correct ?    2 Yes 0 No

Question { 9812 }

Can anybody help me by sharing the code for checkbox in qtp
using vbscript.


Answer

for example you have 20 checkboxes in a webpage. If You
want check those check boxes. Then

Set oBrowser=Description.Create()
oBrowser("micclass").value="Browser"

set oPage=Description.Create()
oPage("micclass").Value="Page"

set oCB=Description.Create()
oLink("micclass").Value="WebCheckBox"

set cboxes=Browser(oBrowser).Page(oPage).childobjects(oCB)
msgbox cboxes.count 'it will display the no of checkboxes
in webpage

for i=0 to cboxes.count-1
cboxes(i).set "ON"
Next

'if you want uncheck use "OFF" instead of "ON"
set oBrowser=NOthing

regards,
mahi.kotike@gmail.com

Is This Answer Correct ?    8 Yes 1 No

Question { 3763 }

how do you invoke the application through QTP?


Answer

As per my knowledge we can invoke application in four ways
through qtp
1. Systemutil.Run "Notepad.exe" (i.e path of the
application)
2. Invokeapplication "Notepad.exe"
'this invokeapplication is used for backward compatability
3.set oShell=CreateObject("Wscript.Shell")
oShell.Run "Notedpad.exe"
set oShell=Nothing
4. In qtp go to-->Automation-->Record and Run setting-->
select web or window and check the checkbox of application
opened by qtp. Below specify the path of the application
and click on ok. When where you click on record button qtp
will launch application automatically.

Regards,
mahi.kotike@gmail.com.

Is This Answer Correct ?    0 Yes 1 No

Question { 2775 }

what is check point?


Answer

Check point is a verification point. It will capture the
expected value in pre execution and capture actual value
while execution. Then compare actual value with expected
value and send results accordingly to qtp results.

Regards,
mahi.kotike@gmail.com

Is This Answer Correct ?    1 Yes 0 No

Question { 5975 }

what is difference between calling a function and reusing
an action?


Answer

Action and function both are using for reusable purpose.

Action is from qtp side and function is from vbscript side.

If at all any validation need to do in our application then
we go for action.Using function we cann't do any validations

Action can return more than one value using action
parameters whereas function can return only one value.

Regards,
mahi.kotike@gmail.com

Is This Answer Correct ?    1 Yes 2 No

Question { Satyam, 3958 }

what kind of erros can be handled with the using QTP?


Answer

we can handle ObjectState error,popup window error,Test run
errors and Application crash errors.

Regards,
mahi.kotike@gmail.com

Is This Answer Correct ?    4 Yes 0 No

Question { 2513 }

How to load the object repository at run time?


Answer

By using
Repositoriescollection.Add "path of the repository"

we can load repository dynamically.

Regards,
mahi.kotike@gmail.com

Is This Answer Correct ?    1 Yes 0 No

Question { 3343 }

What is the regular expression for Yahoo mail Inbox?


Answer

Go to object repository
slect testobject properties of inbox

For example: inbox (15) you have
then regularize this as follows
inbox\(\d+\)

i hope it will work.

Regards,
mahi.kotike@gmail.com

Is This Answer Correct ?    1 Yes 0 No

Question { HCL, 37533 }

how to use command prompt using qtp?


Answer

using "Wscript.Shell" object we can work on command prompt
in qtp.

'create one instance for "wscript.Shell"
set oShell=CreateObject("Wscript.Shell")
'using run method we can invoke application
'/k this will display command prompt.we can also use /c but
we can not see command prompt.It will disappear after
executeion.
oShell.Run "cmd /k dir"
'if we want use multiple commands we can use "&"(amp) symbol
oShell.run "cmd /k dir & md qtp"
set oShell=Nothing

I hope it will useful.
Regards,
Mahi.kotike@gmail.com

Is This Answer Correct ?    9 Yes 5 No

Question { 2501 }

What the genaric function to connect Sql Server using Sql
Server Authentication and Windows Authentication


Answer

Function DBConnect(Constr)
set oCon=CreateObject("ADODB.Connection")
oCon.open Constr
if oCon.State=0 then
msgbox "connection not opened"
end if
set DBConnect=oCon
End Function

where ever required just call this function and define the
connection string.

ex: set con=DBConnect("Driver=;Server=;database=;user
id=;passwoerd=")

Regards,
mahi.kotike@gmail.com

Is This Answer Correct ?    0 Yes 0 No

Question { iFlex, 3843 }

.qfl extension for which file? where vl use it


Answer

.qfl means quick function libray.
it is function library.
Genarally we can create function and save it as .vbs.
in the same way qtp has provided one function library
option . which is avialable in file-->new-->fucntion
library.

we can save a function with .vbs/.qfl/.txt file
extentions.


Regards,
mahi.kotike@gmail.com

Is This Answer Correct ?    3 Yes 0 No

Question { Span Systems, 13257 }

what are the testing methodologies?


Answer

Hi,

I think testing methodologies,methods and techniques all are same i.e
1.Blackbox testing
2.Whitebox testing
3.Greybox testing

Ways of testing means 1.Manual testing
2.Automation testing
Pls Let me know if at all any thing wrong.

Thanks & regards
mahi.kotike@gmail.com

Is This Answer Correct ?    1 Yes 1 No

 [1]   2    Next