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
What are the various automation frameworks available in qtp?
What are the types of object repositories? Which one is you are using?
Explain the differences between table and db checkpoints?
Explain hybrid framework with advantages and disadvantages?
Explain about the test fusion report of quicktest professional?
How to use reporter.report event in qtp ?
What is the syntax for how to call one script from another?
please give me the code for doing retesting of gmail login page using functions so the function has to give the value
How to build scripts that access data from external sources?
An action has both shared and local or associated to it and both have the same object in them. In the test which one will be considered?
How many types of parameters are available in quicktest professional (qtp)?
Dear sir, i want to perform a QTP automated testing for mechancial engineering software like msc adams, msc nastran this softwares will help for mechanical engineering design analysis>> i know oad runner win runner, test director, QTp>> but i dont know how to use for automation
What ate the Technologies supported by QTP?
How do you compare the structure of 2 tables in database and check whether they are similar using qtp.
What are the general steps involved in the data driven framework?