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
Which features or drawbacks of QTP lead to the upgrade for a newer version?
Key word driven framework
How the exception handling can be done using quicktest professional (qtp)?
What is object spy in quicktest professional?
Can you write a script to check if the folder exists or not?
If you are testing a web application then what will you test in that application?
What is test object model in quicktest professional?
There is an built in window application in qtp9.1,i.e.Flight4.0.i want to implement the recovery maneger on it.How can i do this?
With what extension you can save the list of tests in a file to run in test batch runner?
How are cgi programs, applets, javascripts, ActiveX components, etc. to be maintained, tracked, controlled, and tested?
your coming from electrical backgroung..but y ur coming to software side?
What is quick test pro?
What is meant by a Check Point in UFT? Also, explain the applicable Check Points.
Can anyone tell me how i used QTP 9.2 use for GIS based S/w with an example?
How do you handle multiple banners(at the top the page, the banner is scrolling) in a web page(Dont take the name property(regular expression))