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 Posted / 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 |
Post New Answer View All Answers
What is the basic concept of quicktest professional?
What is action split and the purpose of using this in qtp?
What is the differences between image check point and bit map check point?
Why to use descriptive programming?
Explain features of the latest version of qtp/ uft 12.1?
how many maximum number of virtual users we can create?
what is the hierarchy to use properties in descriptive programming
How does you pass optional arguments in qtp?
How to attach a file to TD?
Please Don't mind .i want in detail the real time process i.e in each document what it contains.
What are the ways you can synchronize?
is it possible to add sheets to excel at runtime
I opened gmail login into gmail and i have to save (Pass or move) all the mail into notepad please give me code Thanks of all
For which type of projects the iterative model is not suitable?
How does qtp identify objects in the application?