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.

Answers were Sorted based on User's Feedback



IF application is a Java-based application means 2 0r 3 tier application. How the script will be i..

Answer / baba fakruddin

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

IF application is a Java-based application means 2 0r 3 tier application. How the script will be i..

Answer / venu

Hi there,

I was with a concept that the application technology is
independent of QTP script. (I mean the Script will always
be a VB based in QTP. And for Java based application we
need to have a JAVA addin)

Please correct me if I'm wrong.

Is This Answer Correct ?    2 Yes 1 No

IF application is a Java-based application means 2 0r 3 tier application. How the script will be i..

Answer / sudeepthz

Hi i think that the QTP script will be the same. we use the
VB script in QTP. and the format would be the same.. The
QTp will identify the objects with obj Properties.. or we
will do discriptive programming..

I think Vijayendra Reddy is correct. Its a question to the
script for Windows Application...

Correct if I am Wrong

Is This Answer Correct ?    1 Yes 0 No

IF application is a Java-based application means 2 0r 3 tier application. How the script will be i..

Answer / bfakruddin

Whether it may be 2 tier/3tier/n tier architecture....

nothing will be different, the script would be in VBScript.
according to the environment,application the methods will
change...

Is This Answer Correct ?    1 Yes 0 No

IF application is a Java-based application means 2 0r 3 tier application. How the script will be i..

Answer / vijayendra reddy (codon softwa

Hi,
we will write script in 2ways.
1.by using properties collections
2.by using Description.create
example:
Dialog("text:=login).winedit
("attachedtext:=username").set "xxxx"
dialog("text:=login").winedit
("attachedtext:=password").set "yyyy"
Dialog("text:=login").winbutton("text:=ok").click

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More QTP Interview Questions

How i can use Regular expression in QTP?give detailed steps for it.

2 Answers  


Diff b/w Test Design and Test case design? What is the Design Review's and Code Review's. When will you conduct tese reviews?

1 Answers  


what is a good testcase?

3 Answers   Wipro,


PLEASE TELL ME WHEN DO YOU USE THE OBJECT SPY AT RUN TIME

4 Answers   Ordain Solutions,


what will be the stmt if record any edit box in the Web application ?

2 Answers   eSymbiosis,






What are the challenges you faced during you entire life automation ?

0 Answers   Tech Mahindra,


how you have used object libraries? plzzzzz do answer

1 Answers  


Am going to QTP testing......but i dont know coding languages like (c,c++,java,etc)and am not having interest in coding .............can i choose testing tools like qtp to learn and get a job in software......please reply me

1 Answers  


Hi, How to export the Checkpoints and Output values(Test area output values) from Object Repository to Excel

3 Answers   Wipro,


What are default add-ins in qtp?

14 Answers   Semantic Space,


What is the extension of script and object repository files in QTP?

9 Answers  


suppose im having a string wipro123xyz i need to get the value 123 only from the string today 123 will be in the middle from tommorow it will be changing to front or back how to get the no if it changes continously?

2 Answers   Wipro,


Categories