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 ate the Technologies supported by QTP?
How will you test a keyboard?
How are cgi programs, applets, javascripts, ActiveX components, etc. to be maintained, tracked, controlled, and tested?
How to integrate the qualitycenter with qtp
I created 3 actions in test suppose I want to run action 1 in single time, action 2 is 4 time what I do?
Where you get the run time data table?
What is object repository in qtp?
distinguish between old version and new version QTP features.
What is Associate Repository in QTP 9.2 ?
What are benefits of qtp?
Explain the concept of how quicktest professional identifies object?
hi all can any body explain how to write the script for finding the mandatory fields which are having [red Astrik sign (*)]
I have created 3 actions in test action1, action2, action3 but I want run action 1,action 3,action2 how can you change in the actions in keyword view?
Name the properties you would use for identifying a browser and page when using descriptive programming?
Hi can anybody send me the QTP material, To my email ID: nuve1284@gmail.com ?