shashank


{ City } ghaziabad
< Country > india
* Profession * qtp developer
User No # 59670
Total Questions Posted # 2
Total Answers Posted # 10

Total Answers Posted for My Questions # 1
Total Views for My Questions # 4836

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

how i do the database testing of online money transactions between two parties (client and organization). suppose our company makes a website for our client and give a extra feature of online money transaction with there clients then how i test this feature in database testing

1 SQL PLSQL 3242

Give me At Least 5 Differences between DOCUMENTATION OBJECT MODEL(DOM)and COMPONENT OBJECT MODEL(COM)? Interviewer said me to WRITE the difference only in points not as you WRITE a paragraph ???? only in points

BirlaSoft,

QTP 1594




Answers / { shashank }

Question { Satyam, 4227 }

how do you configure QTP AND Test director?


Answer

With the help of Raga

Is This Answer Correct ?    0 Yes 0 No

Question { Fiserv, 7887 }

what is the hierachy of Descreptive programming?


Answer

Hierarchy of DP is as Follows :-

Object("Property:=Value of This
Property").ChildObject1("Child Property1:=Value of This
Child Property1").ChildObject2("Child Property2:=Value of
This Child Property2").Method (which is compatible on this
ChildObject2)

Is This Answer Correct ?    0 Yes 0 No


Question { Cap Gemini, 14449 }

How to remove the spaces in a string
Ex: "this is apple"


Answer

Hai,

Try this it's much easier

x="This is apple"
x=replace("This is apple"," ","")
MsgBox x

REPLACE is function in which i replace whitespace (" ")
by no space ("")

Is This Answer Correct ?    25 Yes 1 No

Question { Mind Tree, 3507 }

pls tell me which is good book or site for vbscript?


Answer

The Excellent BOOK of VB Script is Microsoft's Press BOOK
"VB SCRIPT Step By Step"

AUTHOR:-"Ed Wilson"


This book is ultimate

I mean SUPERB

Is This Answer Correct ?    3 Yes 1 No

Question { TCS, 14229 }

HOW TO OPEN NEW TAB USING VB SCRIPT IN QTP?


Answer

Hai Buddy,

I just to inform you that QTP support Internet Explorer and
IE earlier versions don't have TAB functionality up to IE-7

Internet explorer just open the new BROWSER always not TAB
so,if functionality is not available then how you open
this.....

Is This Answer Correct ?    4 Yes 18 No

Question { 6483 }

I'm new to QTP, i facing a a problem in the script
says"Object not found",
"Browser("").page("").frame(Name:=fminfo).webtable().
the issue is, QTp is not able to identify the web table in
run time.becuase in that fram"fminfo" there are "n"table
and the table do not have the names,Html id.
1) i need to count the number webtables available on that
page.
2)need to identify the webtable cell values.
3)How Loop the once i get the count and retrive the cell
data of each webtable?
Can anyone help on this, plz..
Thanks,
Suresh


Answer

Hai Buddy,

Don't worry
Do one Thing Avoid Frame i mean Doesn't use frame in your
Script.
and you are beginner so i suggest you never ever use Frame
in your script it shows ERROR.

just write like this:-

"Browser("").page("").webtable("index:=?","htmlid:=?","name:=?")

Now you can easily find out properties of webTable in object Spy

BEWARE!!!!!!!! Always ignore Frame

Is This Answer Correct ?    3 Yes 0 No

Question { 6310 }

How to write Descriptive programming in .VBS file
i wrote this code but it is giving error..
Dim qtApp
set qtApp=createobject("QuickTest.Application")
qtApp.Launch
qtApp.Visible=True

Set objIE = CreateObject("InternetExplorer.Application")
objIE.visible = True
objIE.Navigate "www.gmail.com"

browser("title:=gmail").title("title:=gmail")


Answer

Hai Quick-test Professional,

For your kind information i want to say you that VB Script
does not support Descriptive programming

But Descriptive programming full-support the VB Script

i mean that if you write this code in QTP which support both
Descriptive programming and VB Script you are sucessfull

but if you write this code in .vbs File which is pure VB
Script then you got the ERROR.
You just observe that .VBS File only shown error on that
line of code in which you write DP Proggraming

browser("title:=gmail").title("title:=gmail")

you got ERROR only in this line because you was not use VB
Script here you was only use DP in this line

Is This Answer Correct ?    4 Yes 0 No

Question { Infosys, 16282 }

How Exactly we can find out the INDEX No. of any object of
an application when we test that application in QTP? Explain
this by giving me the example of all LINKS of G-Mail
(including home page, User-account page and all possible
pages you ever seen in G Mail)?????? and if your answer is
that as per appearance of objects(LINKS) in application we
can find out the index number in application then tell me
how you find out which object(LINK) having INDEX No. 1,2,3
and so on and how you say which object(LINK) is appeared
first and which is last?


Answer

Hey Buddy!!!!!!!!!!!!!!

i want to know the possible method to find out how index no.
is recognize by qtp as per appearance of object in
application and you just explain to declare a object there
property and method with the help of descriptive
programming............

that's not my question........

Is This Answer Correct ?    2 Yes 3 No

Question { 18609 }

How do display output message without using msgbox function?


Answer

Actually this method is supported only with VBScript files.

while MsgBox used in VBScript as well as in other tool and
languages.

MsgBox pop the output message while "WScript.echo" execute
the whole Script in "window sript host" environment and Pop
up the OutPut.

Example :-

MsgBox "May name is"

WScript.Echo "My Name is"

Both having the same output bit via different path

Is This Answer Correct ?    3 Yes 1 No

Question { BirlaSoft, 4738 }

Can we put more than one action in a single script????
yes or no.....


Answer

No we cannot put more then one action in a Single
Script.Actually Action Comes under Test and if we make a
Script of Log-In Functionality in Action-1 then we cannot
Split the Log-In Script in 2 Parts,We can Split Action in 2
Parts but not the Script

While in Single Action we can call Multiple Scripts

Is This Answer Correct ?    6 Yes 2 No