I've some problem in Descriptive programming plz help me.
I've written in a click event code in Functional library
when I run this flight reservation program It is not run.
How to I write multiple click event in functional library.
My program is this. I have associate an action with
functional library.
Public Function ClickButton(byval ApplicationName, byval
WindowName, byval ObjectName, byref Comments) If
Dialog("text:=" &WindowName).WinButton("text:="
&ObjectName).Exist Then
Dialog("text:=" &WindowName).Activate
Dialog("text:=" &WindowName).WinButton("text:="
&ObjectName).Click
Elseif Window("text:="&ApplicationName).WinButton("text:="
&ObjectName).Exist Then
Window("text:=" &ApplicationName).Activate
Window("text:=" &ApplicationName).WinButton("text:="
&ObjectName).Click
End if
End Function
Answer Posted / nn
syntax error?- 2 if's used an 1 end if
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How to find operating system information using the qtp script?
When do go for loop condition in test?
What is the difference between qtp and selenium?
Can any one explain me what is the procedure to connect the remote desk by using QTP 9.2 ?
Explain the keyword driven framework for the window based application complete creation of library files,env file,test data,recovery file,excel file ,repository etc and as a test engineer how is ur approach
Hi, I am supposed to automate mainframe application through qtp. I do not know how to start abt it. Can you plz help me in first initializing the process or do you anybody have a guide book or a link which guides me through the process of automating the mainframe applications and things involved in it.
If I change the property value at runtime is it effect is object repository?
1. wat are the main diff b/w QTP 8.0 AND QTP 9.2 ( not user interface) 2. wat is the meaning of Keyword in keyword driven frame work? 3. how u will handle the unknown errors while exucution. (not recovery scenario)
What is difference between design time and run time data table?
What is meant by Output Value in UFT?
what is vmodel?advantages and disadvantages of vmodel?
after click on compose mail how can we attached a file in qtp with vbscript code
In the website, the protocol has been changed http: to https what you will do? Tell me your approach?
How many types of object repository in qtp?
what is keyword driven testing in qtp?n how is it useful?