baba fakruddin


{ City } hyderabad
< Country > india
* Profession *
User No # 21524
Total Questions Posted # 0
Total Answers Posted # 28

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

Users Marked my Answers as Correct # 134
Users Marked my Answers as Wrong # 27
Questions / { baba fakruddin }
Questions Answers Category Views Company eMail




Answers / { baba fakruddin }

Question { Wipro, 9725 }

suppose u hav a 10 dialog or window opened on screen with
same name & value. now how to test each window? i.e. how
qtp indetifies these objects separately?


Answer

Hello mr.Sushil, Understand question clearly. he said
windows or dialog boxes. not browser's and page's, for 10
browsers with same name we should go for ordinal Identifier
(Creation Time).

for windows we should go for Ordinal Identifier(Index).
With index qtp will identify window based on individual
developed code of window or dialog(which window/dialogbox
developed first).

if in same window or dialog we should go for location.

I hope I am correct.

Is This Answer Correct ?    7 Yes 1 No

Question { Satyam, 6272 }

how quick test record on dynamically generated urls and
web pages.


Answer

Siva reddy is okay

if we use system.util "www.gmail.com"
it opens directly gmail in default browser

if we create an instance for browser we can record directly
on default url

' It opens default/mentioned in options web page
dim ie
set ie=createobject("internetexplorer.application")

ie.visible=true

set ie=nothing

Is This Answer Correct ?    0 Yes 0 No


Question { ssinformatics, 6147 }

Describe the process for writing text check point for a web
application?


Answer

Hello buddy,

Please try to avoid using Text Checkpoints at any time and
any where and any application.

You can give answer just " We should not use text
checkpoints to test GUI " in web application, but the
process is
"1. Keep tool under recording mode
2. go to menu bar,
3. Select Insert menu item,
4. Select Text Check Point
5. Select particular word or text with hand icon
6. Click on Ok "

Is This Answer Correct ?    0 Yes 0 No

Question { Aurigo, 6133 }

how i will connect oracle or microsoft acess database
through manually written Script


Answer

'This is for Microsoft Access

dim con,rs

set con=createobject("adodb.connection")
set rs=createobject("adodb.recordset")

con.provider="microsoft.jet.oledb.4.0"

con.open "d:\testdata.mdb"
rs.open "select * from emp",con

do while not rs.eof
vbwindow("form1").vbedit("val1").set rs.fields("v1")
vbwindow("form1").vbedit("val2").set rs.fields("v2")
vbwindow("form1").vbbutton("validate").click

rs.movenext
Loop

' Oracle Connection

con.open
"provider=oraoledb.1;server=localhost;uid=scott;pwd=tiger;datbase=testdata"

Is This Answer Correct ?    0 Yes 2 No

Question { Wipro, 12510 }

IF application is a Java-based application means 2 0r 3
tier application. How the script will be in QTP. pls kindly
give some sample script.


Answer

VBScript is scripting language which is used by QTP. QTP
supports no.of environments. Initially we have to check
particular addin and enter. QTP prepares methods for that
environment in background and it identify the object and
generates steps with that methods.

for Java application, we have to install java addin and
check java addin before we start scripting.

QTP will record script in the form of

javawindow("Calculator").javabutton("1").click
javawindow("Calculator").javabutton("2").click
javawindow("Calculator").javabutton("+").click
.
.
.
.

if you wanna write scripts in descriptive you can go like this
javawindow("windowname:=Calculator").javabutton("text:=1").click
javawindow("windowname:=Calculator").javabutton("text:=2").click
.
.
.

you can use collection object

dim window
set window=description.create()
window("title").value=Calculator

javawindow("window").javabutton("text:=1").click
javawindow("window").javabutton("text:=2").click
.
.
.
.

Is This Answer Correct ?    2 Yes 0 No

Question { IBM, 9067 }

in a database table there are 3 columns (name ,
marks,grade) , in application after retrieving data from
db to fields name, marks click ok button then grade should
displayed ---for this how to write vb script prgm


Answer

Let us assume that application is VB application
You can copy and paste in ur PC then analyze u will
understand easily

E.g:

RC=datatable.GetRowCount
msgbox RC

For i= 1 to RC

vbwindow("Form1").vbedit("name").Set DataTable("Name",
dtGlobalSheet)
vbwindow("Form1").vbedit("marks").Set
DataTable("Marks",dtGlobalSheet)
vbwindow("Form1").vbbutton("OK").Click

' Here it will retrieve grade and displays in msgbox
grade=vbwindow("Form1").vbedit("Grade").GetROProperty("text")
msgbox grade

' It places Grade in Run Time Data Table
VbWindow("Form1").VbEdit("Grade").Output CheckPoint("Grade")

' Now we can export that data in to our desired location
Next

Is This Answer Correct ?    3 Yes 0 No

Question { NIIT, 18913 }

how do you do database testing in qtp


Answer

Database Testing means checking the Database informations
is available in the customer requirement or not.
Some cases DB administrators might replaces the columns or
changes some information inthe database.

Database Checkpoints is used to Test Databases.
Here we can check database available in any format like
EXcel, Access, SQL.... QTP will provide you a drivers to
connect with that and download the Data from DB. You should
be the some what familiar with the SQL Queries.

Is This Answer Correct ?    7 Yes 3 No

Question { 5107 }

Can we continue functionality testing without framework?


Answer

Framework is nothing but framing our work in certain
way/path or limits, This will make our work easy and
understandable to anybody and easily reference in future..
etc.,

Functionality Testing means just testing the functionality
of certain feature in an application.

This functionality testing is one small part in Framework.

we can follow our own style to test an application, that
will become your own framework.

Is This Answer Correct ?    1 Yes 0 No

Question { TCS, 9015 }

1. how can you handle exceptions without using recovery
scenario?


Answer

Hello buddy,

If the Error is predictable... You know that Test Script
has an error, while running the script the error will come.

Here, you can use "On Error Resume Next"

On Error Resume Next
Err.Raise 6 ' Raise an overflow error.
MsgBox "Error # " & CStr(Err.Number) & " " & Err.Description
Err.Clear ' Clear the error.

here
e.g.
On Error Resume Next
msbox "Hello"
Msgbox err.number&err.description

try this it will give one "Number and Description" output
you submit in 1st code given by me instead of 6.

If Any Unpredictable Errors/Events occur You cannot guess
where and when they will come. then you should go for the
Recovery Scenario Manager.

Thanks & Regards
Baba.D contact kingring.d@gmail.com

Is This Answer Correct ?    8 Yes 0 No

Question { VSoft, 6667 }

how much space occupies in object respository by default?


Answer

No limit to store objects information.... according to
storage and usage we use suitable repository.

if limit is there. Any website contain no. of links,
buttons... etc., objects it could not proceed. This tool
will fail to test the application

Is This Answer Correct ?    0 Yes 1 No

Question { 10616 }

Is there any MS Access addin in QTP?


Answer

Hello Ss,

What do you think about your answer. Are you sure 100% it is
correct. Here many people used to learn many things, if you
don't know the answer please ask do not give answers. You
are showing the wrong path to viewers. please do not repeat
again, be professional asking question and learning is not
wrong don't feel like that.

Okay...

Is This Answer Correct ?    0 Yes 1 No

Question { 10616 }

Is there any MS Access addin in QTP?


Answer

Hello gouri,

MS - Access is a Database which is developed by Microsoft
means it is windows application. by default QTP supports
Windows applications.

You can download data from MS - Access and test.

you can use Createobject to open access and perform
operations on MS - Access

eg:
dim acc
set acc=createobject("access.application")

acc.application.visible=true

.
.
.
.
.

set acc=nothing

Here I am not very much familiar with methods please find
methods and let me know.

definite it will work try it once.

Is This Answer Correct ?    3 Yes 2 No

Question { 12362 }

can we install qtp on server machine and do automation of
application which is installed on client machine.If yes
then how? If no then is there any other automation tool for
this (client-server) senario.


Answer

Hello buddy,

We Can install QTP in any System.... We can Run Any System
Tests in any System. But that system also contain QTP.

QTP Tests and Scripts can not run on a system which does
not contain QTP.

Here, You can install QTP in Server, develop Tests in
Server, You can access those tests from client system. But
You can run tests only on QTP installed client systems.

Here Server acts just like a Quality Center.

***** QTPro is Mandatory to run QTPro Tests ******

QTPro is .exe file............ Mr. Ramesh
No s/w is developed without .exe file(It is final stage of
development, Once .exe creates it means it is ready to
install)

Is This Answer Correct ?    4 Yes 0 No

Question { HCL, 7016 }

An object is created, i dont know the methods available for
that object, i want to find methods available for that
object and use the required method. How i can do this???


Answer

It is very easy......

no need to know about what environment it is like .net,
SAP, java, etc.,

Here you have two ways

1. You can go for Object Spy: Here u can view, what are the
methods available for that run-time or Test object.

2. You can go for Scripting in Expert view

e.g: ObjectHierarchy.Object.

after u click (.) here QTP will show you what are the
methods available for that Object that too runtime methods
in green color.

Check it once.

if anybody know any more answers plz let me know...

mail ID is kingring.d@gmail.com

Is This Answer Correct ?    5 Yes 0 No

Question { HCL, 7016 }

An object is created, i dont know the methods available for
that object, i want to find methods available for that
object and use the required method. How i can do this???


Answer

Hello friends,

Here nothing matter about object whether it may be java,
SAP, or siebel any object, You will get the methods only
respective to that Object only.

1. You can use Object Spy

2. You can go for (your desired object).Object.(here QTP
will show all the methods for that object only)

whether it may be SAP, java, peoplesoft, or any environment
object. QTP will give you for that object methods only

dont bother about which environment object that is.

This answer for
Shyam.meghansh
[Hydus Technologies (INIDA) Pvt Ltd]

another one... Plz give any wrong answers or silly answers
here bcoz many people over here to learn some what about
QTP.

Every body know that F1 is helpful for us.

no need to mention again as a answer

This is for Bc993aaa

Is This Answer Correct ?    1 Yes 0 No

 [1]   2    Next