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
can the activities of test case design be automated?
Does quicktest professional (qtp) is unicode compatible?
What is optional step in qtp? How you can add optional step in qtp?
What is qtpro? What is quick test pro?
Key word driven framework
Hi Friends... By using QTP , can we test .net products...and that product supports different languages.. thanx in advance..
What are private functions in QTP? How they can be called from the function library?
how to i add the values using the check points property?( i.e valid data(for valid data it's giving the footer message:value is added) and for invalid data: special chars, spaces,Duplicates and null values (in my page when ever we enter special chars, spaces and null values, it's giving the proper warning message and for Duplicates it's giving the footer message:"value already exists)?
What is throw object?
how to find that a file has been completely downloaded or not? I told that "download Complete" pop up. but he told the tool doesn't recognize the pop up
What is the XML file architecture ?
What are the Test design techniques you uses in ur project?
What are the advantages of parameterization ?
How many types of status are there?
Differentiate the type of test cases which can be automated and which cannot be automated?